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