emacs-devel
[Top][All Lists]
Advanced

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

Re: on helm substantial differences


From: Juri Linkov
Subject: Re: on helm substantial differences
Date: Mon, 16 Nov 2020 10:58:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> It would be nice if in addition to already existing 'annotation-function'
>> 'completing-read' also supported 'format-function' or 'display-function',
>> i.e. a function that would return a completion candidate to display
>> in the *Completions* buffer.
>
> Agreed: the `annotation-function` is much too limited.
> I don't think "in addition" is right tho: the new functionality should
> aim to replace the current `annotation-function`.

Then maybe to differentiate one from another: when the string
returned from `annotation-function` has text properties then
use it to display a complete candidate, otherwise append it
as an annotation - for backward compatibility.




reply via email to

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