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: João Távora
Subject: Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations
Date: Tue, 25 May 2021 10:25:46 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Daniel Mendler <mail@daniel-mendler.de> writes:

> On 5/25/21 12:54 AM, João Távora wrote:
>> I think the second may not be that useful for the use cases we have
>> right now, but let's say I'm wrong and it is.  In that case, I think
>> we're better giving another optional endpoint to the backend to perform
>> this setup teardown.  For example, a function of a lambda.
>
> This sounds like a more complicated and impure API then the
> `affixation-function` we have right now. I consider operating on lists
> like `affixation-function` to be a cleaner solution. But it is of course
> not as general. You may want to do setup/teardown only once, like in
> minibuffer-setup/exit-hooks.

I don't know if you followed my idea, but yes, a hook also works.
Anyway, the case for needing to do these one-time annotation
setups/teardowns isn't really established anyway.

João



reply via email to

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