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: Gregory Heytings
Subject: Re: Stepping Back: A Wealth Of Completion systems Re: [ELPA] New package: vertico
Date: Sat, 10 Apr 2021 13:40:55 +0000


I think it would be desirable to change the default UI just enough so that a code like Xref can make `completing-read` display the completions eagerly.

I did not follow all the details of the earlier discussion, and I'm not sure I understand what you mean, but is this not already possible? IIUC Icomplete for example does this when icomplete-show-matches-on-no-input is non-nil, and RET selects the first entry.

Icomplete is a completion UI, so of course it can do what it wishes. The question is how can Xref tell the completion UI (whichever the user has chosen to use) that it's a good idea to do it.


IIUC, a variable "completing-read-show-matches-on-no-input" that would be setq-local'd by Xref and read by completion UI's would do the job. Or am I missing something?



reply via email to

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