From: Thomas Fitzsimmons <fitzsim@fitzsim.org>
To: Eric S Fraga <e.fraga@ucl.ac.uk>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] EUDC email addresses via completion-at-point in message-mode
Date: Thu, 14 Apr 2022 09:27:17 -0400 [thread overview]
Message-ID: <m34k2vpzgq.fsf@fitzsim.org> (raw)
In-Reply-To: <87ilrb4y3j.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Thu, 14 Apr 2022 14:02:24 +0100")
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
next prev parent reply other threads:[~2022-04-14 13:27 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-09 16:24 [PATCH] EUDC email addresses via completion-at-point in message-mode Alexander Adolf
2022-04-12 21:12 ` Thomas Fitzsimmons
2022-04-13 14:44 ` Alexander Adolf
2022-04-14 0:26 ` Thomas Fitzsimmons
2022-04-15 21:23 ` Alexander Adolf
2022-04-14 13:02 ` Eric S Fraga
2022-04-14 13:27 ` Thomas Fitzsimmons [this message]
2022-04-14 13:52 ` Eric S Fraga
2022-04-15 21:39 ` Alexander Adolf
2022-04-17 12:12 ` Eric S Fraga
2022-04-15 21:35 ` Alexander Adolf
2022-04-17 12:20 ` Eric S Fraga
2022-04-17 13:58 ` Thomas Fitzsimmons
2022-04-17 17:21 ` Eric S Fraga
2022-04-14 14:02 ` Stefan Monnier
2022-04-15 21:58 ` Alexander Adolf
2022-04-15 22:57 ` Eric Abrahamsen
2022-04-14 1:44 ` Eric Abrahamsen
2022-04-14 13:04 ` Eric S Fraga
2022-04-14 15:17 ` Eric Abrahamsen
2022-04-14 15:26 ` Stefan Monnier
2022-04-15 16:31 ` Eric Abrahamsen
2022-04-15 17:17 ` Stefan Monnier
2022-04-15 22:30 ` Alexander Adolf
2022-04-15 22:16 ` Alexander Adolf
2022-04-15 22:58 ` Stefan Monnier
2022-04-26 14:39 ` Alexander Adolf
2022-04-26 18:58 ` Filipp Gunbin
2022-04-28 17:15 ` Alexander Adolf
2022-04-29 14:43 ` Thomas Fitzsimmons
2022-05-02 17:10 ` Alexander Adolf
2022-05-03 18:03 ` Thomas Fitzsimmons
2022-05-05 16:32 ` Alexander Adolf
2022-05-05 16:57 ` Thomas Fitzsimmons
2022-05-10 21:16 ` Thomas Fitzsimmons
2022-05-16 12:35 ` Alexander Adolf
2022-04-29 23:04 ` Filipp Gunbin
2022-05-02 21:38 ` Alexander Adolf
2022-05-02 22:32 ` Filipp Gunbin
2022-05-03 16:18 ` Alexander Adolf
2022-05-03 16:22 ` Alexander Adolf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m34k2vpzgq.fsf@fitzsim.org \
--to=fitzsim@fitzsim.org \
--cc=e.fraga@ucl.ac.uk \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).