[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Navigating completions from minibuffer
From: |
Eli Zaretskii |
Subject: |
Re: Navigating completions from minibuffer |
Date: |
Sun, 03 Dec 2023 20:13:01 +0200 |
> From: Juri Linkov <juri@linkov.net>
> Cc: emacs-devel@gnu.org
> Date: Sun, 03 Dec 2023 19:21:29 +0200
>
> >>>> then point is moved before the suffix "(C-x *)",
> >>>> and after editing it is selected on RET.
> >>>
> >>> Ah, good catch. Fixed (by using 'completion--string to detect whether
> >>> point is on a completion rather 'mouse-face)
> >>
> >> Thank, now this works nicely.
> >> Maybe this deserves a NEWS entry as well?
> >
> > Added.
>
> Thanks, with no more comments in three days, this is pushed now.
I don't understand the NEWS entry:
*** Selected completion candidates are deselected on typing.
When a user types, point in the *Completions* window will be moved off
any completion candidates. 'minibuffer-choose-completion' ('M-RET')
will still choose a previously-selected completion candidate, but the
new command 'minibuffer-choose-completion-or-exit' (bound by
'minibuffer-visible-completions') will exit with the minibuffer
contents instead. The deselection behavior can be controlled with the
new user option 'completion-auto-deselect'.
What are "selected completion candidates"? I typed "C-x C-f TAB", and
Emacs popped the completions buffer, but without "selecting" any of
the candidates. Searching for "select" in the buffer produced by
"M-x apropos complet RET" doesn't seem to find anything pertinent.
And there's nothing about this in the manual. What am I missing?