CHANGELOG.org (16668B)
1 #+title: consult.el - Changelog 2 #+author: Daniel Mendler 3 #+language: en 4 5 * Version 0.34 (2023-04-21) 6 7 - Bugfixes. 8 - =consult-org-heading=: Support tag inheritance. 9 - Use pure =consult--fast-abbreviate-file-name= function to abbreviate file names 10 in =consult-buffer= and =consult-recent-file=. This ensures that abbreviation does 11 not access the file system (or worse remote hosts via Tramp) and is always 12 fast. The downside is that some paths may not get abbreviated. 13 - Introduce buffer sources =consult--source-project-buffer-hidden= and 14 =consult--source-project-recent-file-hidden=. Set the buffer sources of 15 =consult-project= to =consult--source-project-buffer= and 16 =consult--source-project-recent-file= to ease customization. 17 - =consult-buffer=: Explicitly save =window-next-buffers= and =window-prev-buffers=. 18 - When previewing files literally (=consult-preview-raw-size=), set the multi byte 19 flag of the previewed buffer, such that UTF-8 buffers are not garbled. 20 - Do not create preview cursor overlay. Instead display the actual point by 21 ensuring that =cursor-in-non-selected-windows= is set. 22 23 * Version 0.33 (2023-03-11) 24 25 - BREAKING: The key convention has been updated. The old key convention is not 26 supported anymore. Keys must now be strings valid according to =key-valid-p=. 27 This changes affects the keys =consult-narrow-key=, =consult-widen-key=, 28 =consult-preview-key= and the =:preview-key= of sources and passed as keyword 29 argument to =consult--read=. See the example configurations in the manual. 30 - BREAKING: Remove the "." argument from =consult-grep-args= and 31 =consult-ripgrep-args=, since directories or files to search are appended by the 32 command line builder. Take this change into account, when you use a customized 33 version of those variables. 34 - =consult-grep=: Add support for grep and find over multiple files or directory. 35 If the prefix argument DIR is a single C-u, prompt for comma separated 36 directories or files to search recursively via =completing-read-multiple=. 37 - =consult-buffer= and =consult-isearch-history=: Align annotations dynamically 38 depending on candidate width, instead of computing the alignment beforehand. 39 - Add the full path as =help-echo= property to abbreviated directory paths and 40 project names. Enable =tooltip-mode= and hover with the mouse over the 41 abbreviated directory path to see the full path. 42 - =consult-grep/find/etc=: Print first line of stderr output if command failed. 43 44 * Version 0.32 (2023-02-06) 45 46 - Bugfixes 47 - Deprecate the old key convention. Keys must now be strings valid according to 48 =key-valid-p=. This changes affects the keys =consult-narrow-key=, 49 =consult-widen-key=, =consult-preview-key= and the =:preview-key= of sources and 50 passed as keyword argument to =consult--read=. See the example configurations in 51 the manual. 52 - Add =consult-info= command (#634, #727). 53 - =consult-buffer=: Always select the first candidate when narrowing (#714). 54 - =consult-locate-args=: Remove =--existing=, which is not supported by =plocate= on 55 Debian stable. 56 - =consult-ripgrep-args=: Add =--search-zip= option to automatically search through 57 compressed files. This will allow you to search Elisp files bundled with your 58 Emacs installation. Move to an Elisp library via =find-library=, then invoke 59 =consult-ripgrep=. 60 - Drop obsolete =consult-apropos=. Alternatives: =describe-symbol= in combination 61 with =embark-export=. See also =consult-info= and =consult-ripgrep= to search 62 through info manuals and Elisp source code. 63 - Drop obsolete =consult-multi-occur=. Alternative: Built-in =multi-occur=, 64 =multi-occur-in-matching-buffers= or =consult-line-multi=. 65 - Drop obsolete =consult-file-externally=. The command has been moved to Embark 66 under the name =embark-open-externally=. 67 68 * Version 0.31 (2023-01-06) 69 70 - Version bump to update the Compat package dependency (29.1.0.1) 71 72 * Version 0.30 (2023-01-02) 73 74 - Bugfixes 75 - Drop Selectrum support 76 - Deprecate =consult-file-externally= in favor of =embark-open-externally= 77 - Deprecate =consult-multi-occur=. The =multi-occur= command should be improved 78 upstream to take advantage of =completing-read-multiple=. Consult provides the 79 command =consult-line-multi= as an alternative. 80 - =consult-history=: Use input as initial completion input 81 82 * Version 0.29 (2022-12-03) 83 84 - Bugfixes 85 - =consult-line-multi= has been rewritten completely. The candidates are computed 86 on demand based on the input. This reduces startup speed greatly. The command 87 behaves like =consult-grep=, but operates on buffers instead of files. 88 - Add =consult--source-file-register=, and make the registers available in 89 =consult-buffer=. Registers are often used as quick access keys for files, e.g., 90 =(add-to-list 'register-alist '(?i file . "~/.emacs.d/init.el")))=. 91 - Remove obsolete =consult-line-point-placement= 92 - =consult-grep/find=: Always show directory in the prompt 93 - Add variable =consult-yank-rotate=, =consult-yank-from-kill-ring= rotates kill ring 94 - Emacs 29: =consult-register= supports =buffer= register type 95 - Emacs 29: Support =outline-search-function= 96 - Org 9.6: Support new =org-fold-core= API (both overlays and text-properties) 97 - Support abbreviated file names in =recentf-list=, see =recentf-filename-handler=. 98 - Deprecate =consult-apropos= 99 100 * Version 0.20 (2022-10-16) 101 102 - Bugfixes 103 - Allow =consult-*-args= to be a string, or a list of strings or expressions. 104 - Introduce face =consult-highlight-match= to highlight grep matches in the 105 completion buffer. 106 - Highlight full matches in =consult-line=, =consult-outline=, =consult-*grep= and 107 =consult-flymake=. 108 - Remove face =consult-preview-error=. 109 - Deprecate =consult-line-point-placement= in favor of more general 110 =consult-point-placement=, which is also used by the =consult-*grep= commands. 111 - =consult-imenu=: Support imenu-after-jump-hook and non-default 112 =imenu-default-goto-function= 113 - =consult-history=: Add support for history index variables, which are updated 114 after selection. 115 - Deprecate support for Selectrum in favor of Vertico. If you use Selectrum 116 consider switching to Vertico, Icomplete, Mct or default completion. 117 118 * Version 0.19 (2022-09-09) 119 120 - Bugfixes 121 - Allow =consult-flymake= to work across all buffers in a project 122 - Remove deprecated =consult-completing-read-multiple= 123 - =consult-grep/git-grep/ripgrep=: Add =--fixed-strings= support 124 - =consult-grep=: Respect =grep-find-ignored-directories/files= 125 - =consult-org-heading=: Add tags to completion candidates 126 - Add =consult-preview-excluded-files= 127 - =consult-themes=: Support regexps 128 129 * Version 0.18 (2022-05-25) 130 131 - Bugfixes 132 - Removed obsolete =consult-recent-file-filter= and =consult-preview-excluded-hooks= 133 - Deprecate =consult-completing-read-multiple=. See #567 for details. 134 - Add =consult--source-modified-buffer= 135 136 * Version 0.17 (2022-04-22) 137 138 - Bugfixes 139 - Drop Emacs 26 support. 140 - =consult-goto-line=: Use =goto-line-history= on Emacs 28. 141 - =consult-customize=: Evaluate settings at runtime. This change makes it possible 142 to use =thing-at-point= to overwrite the =:initial= and =:add-history= settings. 143 - Rename =consult--read-config= to =consult--customize-alist= and change the format. 144 The configuration is an alist. The car must be a command symbol. The cdr must 145 be a plist of keys and expressions, where the expressions evaluate to the 146 actual configuration values. 147 - Mode hooks in previewed file buffers are delayed. The buffer is only fully 148 initialized when leaving the minibuffer for recursive editing. 149 - Increase =consult-preview-raw-size=. 150 - Replace =consult-preview-excluded-hooks= by =consult-preview-allowed-hooks=. 151 - Add =consult-preview-variables= to bind variables for file preview. 152 - BREAKING API CHANGE of =consult--read=, =consult--prompt=, =consult--multi=: The 153 state function protocol changed. The function gets notified of more completion 154 state changes. See the docstring of =consult--with-preview= for details. 155 - BREAKING API CHANGE of =consult--read=: The lookup function protocol changed. 156 The function must now accept four or more arguments. 157 - Remove unused =consult-preview-map=. 158 - Remove unnecessary =consult-recent-file-filter=. Use =recentf-exclude= instead. 159 - =consult--multi= sources can have a =:new= function to create candidates. 160 When narrowed to a source, new candidates will be created by calling the 161 respective =:new= function. 162 - =consult--multi= returns =:match= information. =:match= can be nil, t, or new, 163 depending on if the candidate does not exist, exists or has been created. 164 - =consult-locate= treats the input literally to take advantage of the db index. 165 166 * Version 0.16 (2022-03-08) 167 168 - Bugfixes 169 - Deprecate =consult-project-root-function= in favor of =consult-project-function=. 170 - Preconfigure =consult-project-function= with a default function based 171 on project.el. 172 - Add =consult-project-buffer=, a variant of =consult-buffer= restricted to the 173 current project. 174 - Add =consult-register-prefix= option. 175 - Introduced a generic and extensible =consult-register= implementation. 176 - Lazy marker creation in =consult-line/outline= (performance improvements) 177 178 * Version 0.15 (2022-01-31) 179 180 - Bugfixes 181 - =consult-xref=: Prettify the group titles, use =xref--group-name-for-display= 182 if available. 183 - =consult-focus-lines=: Thanks to @jdtsmith, the command is much faster and 184 actually useable in large files. 185 - Added Mct integration, auto refreshing of asynchronous Consult commands. 186 187 * Version 0.14 (2021-12-31) 188 189 - Bugfixes 190 - Add =consult-recent-file-filter= 191 - Rename =consult--source-(project-)file= to =consult-source-(project-)recent-file= 192 - =consult-keep-lines= makes read-only buffers temporarily writable if confirmed 193 194 * Version 0.13 (2021-11-12) 195 196 - Bugfixes 197 - =consult-register=: Add support for file register values. 198 - Rename =consult-isearch= to =consult-isearch-history=. The command is a history 199 browsing command and not a replacement for Isearch. 200 - =consult-grep= support -[ABC] grep options 201 - Add =consult-grep-context= face 202 203 * Version 0.12 (2021-10-11) 204 205 - Bugfixes 206 - Removed obsolete =consult-project-imenu= and =consult-x-command= variables 207 - =consult-grep=: Use ~--null~ argument to support file names with colons 208 209 * Version 0.11 (2021-08-18) 210 211 - Bugfixes only 212 213 * Version 0.10 (2021-08-11) 214 215 - =consult-mark=, =consult-global-mark=: Add optional marker list argument 216 - =consult-completing-read-multiple=: New function 217 - Rename =consult-project-imenu= to =consult-imenu-multi= 218 - Add =consult-line-multi= to search multiple buffers 219 - Removed obsolete =consult-yank=, =consult-async-default-split=, =consult-config= 220 - =consult-ripgrep=: Use =--smart-case= 221 - =consult-grep/git-grep=: Use =--ignore-case= 222 - Deprecate =consult-<cmd>-command= in favor of =consult-<cmd>-config.= 223 - =consult-find=: Use regular expressions instead of globbing/wildcards by default. 224 Due to the changes to =consult-find= it is not possible anymore to configure 225 =fd= as backend for =consult-find=. A replacement is documented in the wiki. 226 - =consult-find/locate/man=: Add highlighting to the matching file/man page names. 227 - =consult-grep/git-grep/ripgrep/find/locate=: Add support for multiple unordered 228 patterns. Each of the input patterns must be matched. For example, 229 =consult-find= transforms the input "first second third" to "first -and second 230 -and third". 231 - =consult-grep/git-grep/ripgrep=: Compute the highlighting based on the input, 232 instead of relying on the ANSI-escaped output. This works better with multiple 233 patterns, but may occasionally produce false highlighting. 234 - Deprecate =consult-x-command= configuration variables in favor of =consult-x-args=. 235 The variables have been renamed since the configuration format changed. 236 - =consult-async-split-styles-alist=: Remove the =space= splitting style, since 237 it has been obsoleted by the support for multiple unordered patterns. 238 239 * Version 0.9 (2021-06-22) 240 241 - Add =consult-preview-excluded-hooks= 242 - =consult--read/consult--prompt=: Add =:inherit-input-method= argument 243 - Add debouncing support for preview 244 245 * Version 0.8 (2021-05-30) 246 247 - Async commands: Do not fix vertical height in Selectrum. 248 - =consult-imenu=: Deduplicate items (some imenu backends generate duplicates). 249 - =consult-org-heading=: Deduplicate items. 250 - =consult-buffer-filter=: Hide more buffers. 251 - =consult-line=: Matching line preview overlay only in the selected window. 252 - =consult-yank/completion-in-region=: Insertion preview only in selected window. 253 - =consult-yank=: Rename to =consult-yank-from-kill-ring= (Emacs 28 naming). 254 - =consult-yank= commands: =delete-selection-mode= support, added properties. 255 - =consult-preview-at-point=, =consult-preview-at-point-mode=: New command and 256 minor mode to preview candidate at point in =*Completions*= buffer. 257 - Add =consult-async-split-style= and =consult-async-split-styles-alist=. 258 - =consult-async-default-split=: Obsoleted in favor of =consult-async-split-style=. 259 - Deprecate =consult-config= in favor of new =consult-customize= macro. 260 - =consult-buffer=: Enable previews for files and bookmarks by default. 261 - =consult-buffer=/=consult--multi=: Add support for =:preview-key= per source. 262 - =consult-buffer=: Push visible buffers down in the buffer list. 263 - =consult-flycheck=: Moved to separate repository prior to ELPA submission. 264 - Submitted Consult to ELPA. 265 266 * Version 0.7 (2021-04-29) 267 268 - Bugfixes 269 - =consult-buffer=: Respect =confirm-nonexistent-file-or-buffer= 270 - =consult-widen-key=: Change default setting to twice the =consult-narrow-key= 271 - =consult-flycheck=: Sort errors first 272 - Added support for the Vertico completion system 273 - Consult adds disambiguation suffixes as suffix instead of as prefix now 274 for the commands =consult-line=, =consult-buffer=, etc. 275 This enables support for the =basic= completion style and TAB completion. 276 - =consult--read=: The =:title= function must accept two arguments now, 277 the candidate string and a flag. If the flag is nil, the function should 278 return the title of the candidate, otherwise the function should return the 279 transformed candidate. 280 - =consult-grep= and related commands: Strip the file name if grouping is used. 281 - =consult-find/grep=: Ensure that the commands work with Tramp 282 - =consult-outline=: Add narrowing 283 - Added =consult-org-heading= and =consult-org-agenda= 284 - =consult-line=: Highlight visual line during jump preview 285 - =consult-line=: Start search at current line, add configuration variable 286 =consult-start-from-top=. The starting point can be toggled by the prefix 287 argument =C-u=. 288 289 * Version 0.6 (2021-03-02) 290 291 - Bugfixes 292 - =consult-keep/focus-lines=: Align behavior on regions with built-in =keep-lines=. 293 - =consult-buffer=: Enable file sources only when =recentf-mode= is enabled 294 - =consult--multi=: Add =:default= flag, use flag for =consult--source-buffer= 295 - Add =consult-grep-max-columns= to prevent performance issues for long lines 296 - Add =consult-fontify-preserve= customization variable 297 - =consult-line=: Quits Isearch, when started from an Isearch session 298 - =consult-register-load=: Align prefix argument handling with =insert-register= 299 - Rename =consult-error= to =consult-compile-error= 300 - =consult-compile-error=: Allow calling the command from any buffer, 301 use the errors from all compilation buffers related to the current buffer. 302 - =consult-man=: Handle aggregated entries returned by mandoc 303 - =consult-completion-in-region=: Added preview and =consult-preview-region= face 304 - Added =consult-completion-in-region-styles= customization variable 305 - Added =consult-xref=. The function can be set as =xref-show-xrefs-function= 306 and =xref-show-definitions-function=. 307 - Added support for the candidate grouping function =x-group-function= 308 309 * Version 0.5 (2021-02-09) 310 311 - Bugfixes 312 - =consult-keep/focus-lines=: If region is active, operate only on the region. 313 - =consult-register-format=: Do not truncate register strings. 314 - =consult-buffer= multi sources: Ensure that original buffer is 315 shown, when the currently selected source does not perform preview. 316 - Add =consult-preview-raw-size= 317 - Expose preview functionality for multi-source bookmarks/files 318 - Multi sources: Add =:enabled=, =:state= and =:action= fields 319 - =consult-imenu=: Add faces depending on item types 320 321 * Version 0.4 (2021-02-01) 322 323 - Bugfixes 324 - Introduce multi sources, reimplement =consult-buffer= with multi sources 325 - =consult-isearch=: Add preview highlighting 326 - =consult-line=: Use =isearch-string= when invoked from running isearch 327 328 * Version 0.3 (2021-01-28) 329 330 - Bugfixes 331 - New command =consult-isearch= 332 - New functions =consult-register-format=, =consult-register-window=, 333 removed =consult-register-preview= 334 335 * Version 0.2 (2021-01-16) 336 337 - Initial stable release