emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and,


From: Dmitry Gutov
Subject: Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations
Date: Tue, 25 May 2021 23:27:36 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1

On 25.05.2021 23:01, Stefan Monnier wrote:
The fact that it takes a whole list rather than a single element is more
in the "bikeshedcolor" category for me.

From where I'm standing, this color of the bike shed would make it harder to use (if I ever found a way to support it in Company, that is).

If affixation-function returns a list including extra data, I will then have to convert it to some structure that allows lookup by completion string (e.g. a hash table), and then pass that table on to the place the completions are rendered.

display-sort-function is different, because you can use it in one place, have your list re-sorted, and then go on with the rendering of the resulting collection. It doesn't force me to do any extra accounting.



reply via email to

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