[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: Other details about completion.
From: |
Ergus |
Subject: |
Re: [PATCH] Re: Other details about completion. |
Date: |
Wed, 06 Apr 2022 21:50:48 +0200 |
On April 6, 2022 8:29:13 PM GMT+02:00, Juri Linkov <juri@linkov.net> wrote:
>> Yes but there are three key differences there: 1) browsers show the
>> completion list immediately (like icomplete and
>> it's family), so they don't require a tab to show the completion list or
>> any binding to jump to/exit the completions list either.
>
>We could add a new variable or a new value to completion-auto-help
>to show the completions buffer on any edit.
>
This will be very complex to do with the current infrastructure. Not for the
show, but for the update. I wanted to do it and it required too many changes
here and there... Maybe you find a better way.
Any way.. IMHO I think that going in that direction is a bad and more complex
approach. For such behavior it may be better to use icomplete and similes...
I would be fine if we mimic zsh or fish, and let the browser like behavior to
other completion infrastructures...
>> 2) the browser completions are shown vertically only, so no horizontal
>> navigation is needed and not modifiers to the keys are needed either as
>> there is not any collision of bindings.
>
><M-left> and <M-right> can be activated in the minibuffer only
>when the completions buffer shows more than 1 column. Maybe
>there is already a variable to detect this situation?
>
I don't think there is anything for that yet... Let's rethink first what we
really need.
>> 3) The search they perform is on the history, so when the candidate is
>> unique it is inserted and selected, so easier to erase the suffix if
>> needed with backspace or insert at the end (right arrow).
>
>This is not what I see, candidates are not selected.
>Maybe you use other browsers versions.
>
In my browser I can type and the list is updated; then the arrow down selects,
but if I go up with the arrow at some point it goes to the top and disables the
extra completion...
>> BTW: do we have any sort of history search based on the inserted text
>> like bash history-search-backward??
>
>It's just 'C-r C-w' in the minibuffer.
Ohh lord
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
- Re: [PATCH] Re: Other details about completion., (continued)
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/05
- Re: [PATCH] Re: Other details about completion., Ergus, 2022/04/05
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/06
- Re: [PATCH] Re: Other details about completion., Ergus, 2022/04/06
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/06
- RE: [External] : Re: [PATCH] Re: Other details about completion., Drew Adams, 2022/04/06
- Re: [External] : Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/06
- RE: [External] : Re: [PATCH] Re: Other details about completion., Drew Adams, 2022/04/06
- Re: [PATCH] Re: Other details about completion., Ergus, 2022/04/06
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/06
- Re: [PATCH] Re: Other details about completion.,
Ergus <=
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/07
- Re: [PATCH] Re: Other details about completion., Ergus, 2022/04/07
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/07
- Re: [PATCH] Re: Other details about completion., Ergus, 2022/04/07
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/07
- Re: [PATCH] Re: Other details about completion., Ergus, 2022/04/07
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/08
- Re: [PATCH] Re: Other details about completion., Ergus, 2022/04/08
- RE: [External] : Re: [PATCH] Re: Other details about completion., Drew Adams, 2022/04/08
- Re: [PATCH] Re: Other details about completion., Juri Linkov, 2022/04/08