emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] EUDC email addresses via completion-at-point in message-mode


From: Filipp Gunbin
Subject: Re: [PATCH] EUDC email addresses via completion-at-point in message-mode
Date: Tue, 03 May 2022 01:32:44 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin)

On 02/05/2022 23:38 +0200, Alexander Adolf wrote:

>> Yes, sounds like another use case for completion-category-overrides.
>
> Hadn't come across that one yet; thanks for the pointer.
>
> Message.el does this:
>
> (add-to-list 'completion-category-defaults '(email (styles substring)))
>
> It seems to me you suggest amending that line in message.el, rather than
> having the setq-local in my capf function? I have included this in the
> below patch, too.
>

I haven't dug any deep into using
completion-category-overrides/defaults, I just knew they exist.  If that
does what you want, then great!

Filipp



reply via email to

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