GNU bug report logs - #59314
29.0.50; EUDC and message-mode header completion

Previous Next

Package: emacs;

Reported by: Eric Abrahamsen <eric <at> ericabrahamsen.net>

Date: Wed, 16 Nov 2022 18:06:02 UTC

Severity: normal

Found in version 29.0.50

Full log


View this message in rfc822 format

From: Alexander Adolf <alexander.adolf <at> condition-alpha.com>
To: Thomas Fitzsimmons <fitzsim <at> fitzsim.org>
Cc: Eric Abrahamsen <eric <at> ericabrahamsen.net>, 59314 <at> debbugs.gnu.org
Subject: bug#59314: 29.0.50; EUDC and message-mode header completion
Date: Sun, 11 Dec 2022 17:08:07 +0100
I have done some further debugging, and it seems that the behaviour is
independent of EUDC.

With this:

(setq message-expand-name-standard-ui t)
(setq eudc-server nil eudc-server-hotlist nil)
(setq message-expand-name-databases '(bbdb))

and `eudc-capf-complete` removed from `completion-at-point-functions` in
`message-mode`, the result is the same (completion is broke).

It seems that the completion styles are attempting to find the longest
common prefix of all candidates, and somehow take words into account.
Quoting from the Elisp manual [1]:

---------------------------- Begin Quote -----------------------------
The procedure of determining what constitutes a match is quite
intricate. Emacs attempts to offer plausible completions under most
circumstances.
----------------------------- End Quote ------------------------------

Have I just been handed a word of warning? Looks like.

Anyways, I will now try to see whether I can identify a commit that the
issue. I'll start with the one mentioned by Eric.

[puts on helmet, switches on headlamp, and grabs a pickax]

Wish me luck,

  --alexander




This bug report was last modified 2 years and 185 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.