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 22:38:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> Before knowing what's the best approach, I think we should clearly
> decide what would be the "ideal" new API.  E.g. should it return "any
> string" and then it'd be up to the infrastructure code to store
> side-info about what is the corresponding candidate's actual text?
> Or should it instead return a string with additional text-properties
> explaining which parts are annotations and which part is the actual
> candidate's text?  Or should it return a list of strings? ...

An additional question is at what stage to add faces like
'completions-common-part'?  Currently annotations are appended
after all commonality highlighting is done.  But with returning
a completion string, I guess such faces should be added
on the returned string at the last stage.



reply via email to

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