From: Alexander Adolf <alexander.adolf@condition-alpha.com>
To: Eric S Fraga <e.fraga@ucl.ac.uk>, emacs-devel@gnu.org
Subject: Re: [PATCH] EUDC email addresses via completion-at-point in message-mode
Date: Fri, 15 Apr 2022 23:35:03 +0200 [thread overview]
Message-ID: <c3623a88512eda463edbecf09371556c@condition-alpha.com> (raw)
In-Reply-To: <87ilrb4y3j.fsf@ucl.ac.uk>
Hello Eric,
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> [...]
> I am excited about the potential of what you are proposing.
Cool!
> On Wednesday, 13 Apr 2022 at 16:44, Alexander Adolf wrote:
>> By default, message-mode binds TAB to message-tab, which in turn calls
>> completion-at-point. Depending on your keymap setup it may thus be
>> sufficient to type TAB in the "To:" line, or to change your setup to
>> replace eudc-expand-try-all with completion-at-point.
>
> This does not seem to work for me. I do have other capf functions that
> I want to use within message mode (for completion in the actual body of
> the email) so I have
>
> ,----[ C-h v completion-at-point-functions RET ]
> | completion-at-point-functions is a variable defined in ‘minibuffer.el’.
> |
> | Its value is (eudc-capf-complete cape-ispell cape-dabbrev cape-dict)
> | Local in buffer *unsent followup to Alexander Adolf on gmane.emacs.devel*; global value is
> | (tags-completion-at-point-function)
> `----
> [...]
>
> What am I missing?
message-mode has some - well, let's call them specifics around
completion, which might perhaps deserve a separate discussion (IMHO
anyway).
As you are using the cape package, are you by any chance also using the
corfu package? If yes, with the value of completion-at-point-functions
you have, you should get email addresses in the To:, and From: lines via
corfu.
In any case, if you move point to the To: line, type a substring for
which you know there will be a match in EUDC, and then do
"M-: (completion-at-point)", what happens?
--alexander
next prev parent reply other threads:[~2022-04-15 21:35 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
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 [this message]
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=c3623a88512eda463edbecf09371556c@condition-alpha.com \
--to=alexander.adolf@condition-alpha.com \
--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).