emacs-devel
[Top][All Lists]
Advanced

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

Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package


From: Jean Louis
Subject: Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico
Date: Wed, 7 Apr 2021 22:03:54 +0300
User-agent: Mutt/2.0.6 (2021-03-06)

* Philip Kaludercic <philipk@posteo.net> [2021-04-07 17:44]:
> I don't think that something like selecting-read should just present a
> list of string. One might imagine using methods to allow an extensible
> way to control the presentation. Currently the standard procedure is to
> generate a collection and it's labels before passing it to
> completing-read. That's what insert-char does using ucs-names. I could
> imagine that selecting-read takes a list of characters, and uses a
> method to generate the textual representation of every entry. Ideally it
> could lazily only calculate those entries that are currently being
> displayed.

It is great when in the list of candidates for presentation other data
may be stored similarly like it is stored in tabuluated-list-mode
where one can get the ID and full entry of data, and similarly how it
is stored in Helm where I can select the presented string such as:

"Joe Doe" and get the ID 2

and that is where sometimes duplicates could appear and it is fine for
duplicates to appear in those cases, as user may know that second Joe
Doe is from Mexico, first one from USA, so choosing second below would
reach to right ID which ID is then hidden in the presentation.


-- 
Jean

Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns

Sign an open letter in support of Richard M. Stallman
https://rms-support-letter.github.io/




reply via email to

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