Re: [PATCH] emacs: Add more front ends for address completion

Subject: Re: [PATCH] emacs: Add more front ends for address completion

Date: Sun, 13 Mar 2022 09:21:34 +0530

To: Alexander Adolf

Cc: Notmuch mailing list

From: Utkarsh Singh


On 2022-03-11, 18:50 +0100, Alexander Adolf <alexander.adolf@condition-alpha.com> wrote:

> Utkarsh Singh <utkarsh190601@gmail.com> writes:
>
>> On 2022-03-08, 16:29 +0100, Alexander Adolf <alexander.adolf@condition-alpha.com> wrote:
>>
>>> Utkarsh Singh <utkarsh190601@gmail.com> writes:
>>>
>>>> [...]
>>>> `notmuch-address-post-completion-functions'.
>>>> [...]
>>> [...]
>> Although its a general customization option, here its documentation from
>> company.el:
>>      
>>      `post-completion': Called after a completion candidate has been inserted
>>      into the buffer.  The second argument is the candidate.  Can be used to
>>      modify it, e.g. to expand a snippet.
>> [...]
>
> Hm, that sounds like it would functionally be similar to specifying an
> :exit-function property in completion-extra-properties?

Great!  We can definitely work with this.

> And what could be a use-case for this?

Honestly, I don't have a use-case.  But the goal here is to use standard
Emacs API with least amout of incompatible changes.

-- 
Utkarsh Singh
https://utkarshsingh.xyz/
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: