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: Alexander Adolf
Subject: Re: [PATCH] EUDC email addresses via completion-at-point in message-mode
Date: Sat, 16 Apr 2022 00:30:29 +0200

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> [...]
> 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.
> [...]

If it's for email addresses, EUDC's result merging does the job:

notmuch-address  \          
           BBDB  |          
           LDAP   > --> EUDC --+
 macOS Contacts  |             |
            ...  /             V
                               |
      +----------<-------------+
      |   
      V                               /  completing-read
      |                              |   corfu          
      + --> completion-at-point --> <    company        
                                     |   ...            
                                      \


Provide an EUDC back-end for what you need, and the patch I proposed
provides your results to message-mode.

For a more general discussion, see
id:dc51ed8dcb5b1d44bf51859758d120ba@condition-alpha.com on this very
same thread.


Looking forward to your thoughts,

  --alexander



reply via email to

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