From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexander Adolf Newsgroups: gmane.emacs.bugs Subject: bug#59314: 29.0.50; EUDC and message-mode header completion Date: Sun, 11 Dec 2022 17:08:07 +0100 Message-ID: References: <87a64q7p25.fsf@ericabrahamsen.net> <878rka1y4n.fsf@ericabrahamsen.net> <9cad334f4f42725f2e244c8c81528856@condition-alpha.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23631"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eric Abrahamsen , 59314@debbugs.gnu.org To: Thomas Fitzsimmons Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 11 17:09:27 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p4OtL-0005xr-Bx for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 11 Dec 2022 17:09:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4Ot4-0002w0-4A; Sun, 11 Dec 2022 11:09:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4Osy-0002tc-Pm for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 11:09:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4Osx-00009j-3f for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 11:09:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4Osw-00061W-GI for bug-gnu-emacs@gnu.org; Sun, 11 Dec 2022 11:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alexander Adolf Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Dec 2022 16:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59314 X-GNU-PR-Package: emacs Original-Received: via spool by 59314-submit@debbugs.gnu.org id=B59314.167077489323142 (code B ref 59314); Sun, 11 Dec 2022 16:09:02 +0000 Original-Received: (at 59314) by debbugs.gnu.org; 11 Dec 2022 16:08:13 +0000 Original-Received: from localhost ([127.0.0.1]:46797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4Os9-00061C-7G for submit@debbugs.gnu.org; Sun, 11 Dec 2022 11:08:13 -0500 Original-Received: from smtprelay02.ispgateway.de ([80.67.18.14]:47037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4Os7-000616-1H for 59314@debbugs.gnu.org; Sun, 11 Dec 2022 11:08:11 -0500 Original-Received: from [46.244.214.45] (helo=condition-alpha.com) by smtprelay02.ispgateway.de with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1p4OsG-0002LX-Nt; Sun, 11 Dec 2022 17:08:20 +0100 In-Reply-To: X-Df-Sender: YWxleGFuZGVyLmFkb2xmQGNvbmRpdGlvbi1hbHBoYS5jb20= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:250619 Archived-At: 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