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: Fri, 15 Apr 2022 23:35:03 +0200

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



reply via email to

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