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: Eric Abrahamsen
Subject: Re: [PATCH] EUDC email addresses via completion-at-point in message-mode
Date: Fri, 15 Apr 2022 09:31:56 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> The whole `message-tab' machinery is awfully complicated for something
>> that, in the end, just forces you to choose between BBDB and EUDC.
>
> There's a bit more choice than that.  I know of:
> - completion of newsgroup names on "Followup-to".
> - completion of email addresses (can come from EUDC, BBDD, ecomplete,
>   EBDB, and probably more).
> - I have a pending patch for Debbugs commands completion.

What I meant was that I don't see any way of inserting EBDB completion
results into an arbitrary list of other results coming from other user
configuration. If we set `message-expand-name-standard-ui' non-nil then
we get to use the `message--name-table' function, but that function only
consults BBDB, EUDC, and ecomplete. 

I guess I was expecting some sort of setup that uses
`completion-table-merge' on an option holding a bunch of functions. I'd
just provide a EBDB function to be added to that option, and we're done.

All this code makes my eyes cross, though, so I wouldn't be surprised if
I'm missing the right point of injection.

Thanks,
Eric




reply via email to

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