Open catern opened 1 week ago
Also relevant is completion-auto-deselect:
(defcustom completion-auto-deselect t
"If non-nil, deselect current completion candidate when you type in minibuffer.
A non-nil value means that after typing at the minibuffer prompt,
any completion candidate highlighted in *Completions* window (to
indicate that it is the selected candidate) will be un-highlighted,
and point in the *Completions* window will be moved off such a candidate.
This means that `RET' (`minibuffer-choose-completion-or-exit') will exit
the minibuffer with the minibuffer's current contents, instead of the
selected completion candidate."
:type '(choice (const :tag "Candidates in *Completions* stay selected as you type" nil)
(const :tag "Typing deselects any completion candidate in *Completions*" t))
:version "30.1")
(I admit this was intended as a first step towards auto-updating functionality in upstream Emacs... or at least to ensure minibuffer-visible-completions was compatible with that)
Emacs 30 has a new customization, minibuffer-visible-completions:
mct might find this useful?