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: Juri Linkov
Subject: Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations
Date: Mon, 24 May 2021 02:35:19 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> I also don't understand why :affixation-function is given a full list of
> completions, when it is presumably meant to return a list of exactly the
> same length.

This has the advantage in functions like read-extended-command--affixation,
where minibuffer-selected-window is selected only once with 
with-selected-window,
then all completions are processed in the same buffer, without the need
to switch buffers for every completion in a long list, as annotation-function
would require to do.

> Seems like a potential hazard to allow this function to do filtering.

OTOH, not allowing the function to do filtering is too much hand-holding
for users who want the freedom to transform the completions to their likings.



reply via email to

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