unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
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: Sun, 17 Apr 2022 09:58:12 -0400	[thread overview]
Message-ID: <m3zgkjlsln.fsf@fitzsim.org> (raw)
In-Reply-To: <87h76rgatz.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Sun, 17 Apr 2022 13:20:56 +0100")

Hi Eric,

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Friday, 15 Apr 2022 at 23:35, Alexander Adolf wrote:
>> 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?
>
> I get completion using one of the other sources, not eudc.
>
> In any case, I have now changed the behaviour of tab to always use eudc
> (if in an appropriate header line), with abbrev and ecomplete invoked
> with other keys (SPC or comma and M-n respectively).  This works
> effectively for me and will continue to work if/when eudc includes the
> other sources of addresses.

Glad to hear you got a satisfactory setup.

Interesting idea of multiple keybindings for different completions.

If EUDC includes the other sources, do you foresee using just EUDC?  Or
do you think keeping the extra keys will give better usability?

What do you think the "out-of-the-box" behavior should be?  Should the
following:

    "emacs -Q"
    C-x m
    TAB

say "no completions found; to start adding contacts, do <something>".

Should the following:

    "emacs -Q"
    (in *scratch*) emacs-devel@gnu.org
    C-x m
    TAB

expand to emacs-devel@gnu.org via dabbrev-expand?

Pressing TAB in both those examples on Emacs 25.1 does nothing, and on
master inserts a literal TAB.

Thanks,
Thomas



  reply	other threads:[~2022-04-17 13:58 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
2022-04-17 12:20         ` Eric S Fraga
2022-04-17 13:58           ` Thomas Fitzsimmons [this message]
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=m3zgkjlsln.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).