[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vertical fido-mode

From: Juri Linkov
Subject: Re: vertical fido-mode
Date: Fri, 19 Jun 2020 01:51:58 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> >> Or maybe it's possible to navigate history using completion lists?
>> >
>> > I'm not sure how that would look.
>> Currently completion is performed on a set of all possible values.
>> In addition to this, completion could be performed on a set of
>> all previously entered values (history items), or on default items
>> (a list of the most useful values).  This shows all 3 possibilities:
>> (completing-read "Prompt: "
>>                  minibuffer-history nil nil nil
>>                  'minibuffer-history
>>                  minibuffer-history)
>> M-n - defaults list, M-p - history list, TAB - completion on history list.
>> In a normal minibuffer maybe there should be a key to switch between
>> normal completion, completion on defaults, and completion on history.
>> Also maybe another key to sort history items by recency/frequency
>> in the completion list.
> I think, you are starting to describe incremental reverse history search,
> or C-r in normal minibuffers.  It works in icomplete, too, but not too
> well in my opinion.  Still, it's better to fix that than to reinvent the 
> wheel.

Actually I meant displaying a list of completions (no matter whether
in the *Completions* buffer or inline like in icomplete) based on
different sets of input data (on all possible values like default completion,
or on all history items...)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]