[Top][All Lists]

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

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

From: Stefan Monnier
Subject: Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico
Date: Tue, 06 Apr 2021 11:56:08 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> FWIW I've come to the same conclusion in the past: that using
> `completing-read' to select from a collection is essentially a (very
> gentle) hack. More than once I've implemented my own mini-versions of
> `selecting-read', and have always wanted something more general.
> This would also allow us to expand our idea of how a thing is chosen:
> instead of insisting that a string is completed, we could provide a more
> general framework for choosing a "thing", where the things don't
> necessarily have a meaningful string representation.

I kind of agree, yet at the same time, the difference between the two is
very small in most cases.  So I think it might be worthwhile to look at
it instead as making it possible for the caller to give a *hint* about
what kind of UI would be best.

It might deserve a completely new function to replace `completing-read`,
but I think it would be good to make this new function such that it
makes `completing-read` obsolete.


reply via email to

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