[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: |
Thomas Fitzsimmons |
Subject: |
Re: [PATCH] EUDC email addresses via completion-at-point in message-mode |
Date: |
Thu, 14 Apr 2022 09:27:17 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Hi Eric,
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
[...]
> M-x eudc-expand-try-all RET
>
> does work if I invoke it manually although it seems (using local bbdb
> database). By the way, how can I change the server used by eudc?
> (maybe I need to look around)
To use multiple backends, Customize `eudc-server-hotlist'. The command
you tried above will give you results from the first entry in the
hotlist.
Additionally, this:
C-u M-x eudc-expand-try-all RET
will give you a list to choose from, of the completions from all servers
in the hotlist.
(There is also M-x eudc-set-server which sets the `eudc-server' and
`eudc-protocol' variables, but you should probably just ignore all them,
and focus on getting `eudc-server-hotlist' configured to your liking.
This is an area I want to reorganize. Alexander has suggested having
the `eudc-server' and `eudc-protocol' variables "point" into
`eudc-server-hotlist'. Basically, I'd like the hotlist to be the only
place the user needs to configure backends. We'll have to be careful to
retain backward compatibility here though.)
> In an ideal world, i.e. my Holy Grail, I would like to have completion
> on the union of mail abbrevs, bbdb, and ecomplete.
Agreed, but also LDAP and macOS contacts, other sources of email
addresses. And ideally without the user needing to configure
message-mode hooks to change keybindings, by default. And ideally
introduce all this in a backward compatible way.
> Is this possible somehow? message-tab gives me none of these,
> annoyingly.
One approach I see working for what you want, would be to add new EUDC
backends for each of mail abbrevs and ecomplete, then in message-mode,
make `eudc-expand-try-all' the default owner of the TAB keybinding when
point is in a To:, CC: or other field that wants an email address.
Thomas
- [PATCH] EUDC email addresses via completion-at-point in message-mode, Alexander Adolf, 2022/04/09
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Thomas Fitzsimmons, 2022/04/12
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Alexander Adolf, 2022/04/13
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Eric S Fraga, 2022/04/14
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode,
Thomas Fitzsimmons <=
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Eric S Fraga, 2022/04/14
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Alexander Adolf, 2022/04/15
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Eric S Fraga, 2022/04/17
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Alexander Adolf, 2022/04/15
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Eric S Fraga, 2022/04/17
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Thomas Fitzsimmons, 2022/04/17
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Eric S Fraga, 2022/04/17
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Stefan Monnier, 2022/04/14
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Alexander Adolf, 2022/04/15
- Re: [PATCH] EUDC email addresses via completion-at-point in message-mode, Eric Abrahamsen, 2022/04/15