[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Navigating completions from minibuffer
|
From: |
Juri Linkov |
|
Subject: |
Re: Navigating completions from minibuffer |
|
Date: |
Sat, 25 Nov 2023 19:46:23 +0200 |
|
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
> minibuffer-choose-completion-or-exit submits the selected completion
> candidate, if any, ignoring the contents of the minibuffer. But a
> user might select a completion candidate and then want to type
> something else in the minibuffer and submit what they typed.
Thanks, everything works nicely now except the special case
of completion-show-help=nil and completions-header-format=nil.
Initially the first completion is deselected, and <down> selects it.
But when the first key typed is M-<down> the second completion
is selected instead of the first because M-<down> moves to the
second column when point is between the first and second completions.
A possible workaround would be to check the special property
'first-completion'. But then when the logic uses text properties,
why not to use more text properties that indicate that a candidate
is deselected (and remove highlighting in this case) instead of
moving point somewhere outside of the candidate?
- Re: Navigating completions from minibuffer, (continued)
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/19
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/19
- Re: Navigating completions from minibuffer, sbaugh, 2023/11/23
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/24
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/25
- Re: Navigating completions from minibuffer, Eli Zaretskii, 2023/11/25
- Re: Navigating completions from minibuffer, sbaugh, 2023/11/25
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/25
- Re: Navigating completions from minibuffer, sbaugh, 2023/11/26
- Re: Navigating completions from minibuffer, Eli Zaretskii, 2023/11/25
- Re: Navigating completions from minibuffer,
Juri Linkov <=
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/26
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/27
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/28
- Re: Navigating completions from minibuffer, Juri Linkov, 2023/11/28
- Re: Navigating completions from minibuffer, Spencer Baugh, 2023/11/28