From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thomas Fitzsimmons Newsgroups: gmane.emacs.bugs Subject: bug#59314: 29.0.50; EUDC and message-mode header completion Date: Mon, 12 Dec 2022 07:31:00 -0500 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="21176"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eric Abrahamsen , 59314@debbugs.gnu.org To: Alexander Adolf Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Dec 12 13:32:25 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 1p4hyq-0005GB-V5 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Dec 2022 13:32:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4hyW-0004il-Vg; Mon, 12 Dec 2022 07:32:05 -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 1p4hyV-0004iE-06 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 07:32:03 -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 1p4hyU-00026F-O6 for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 07:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p4hyU-0003qP-Im for bug-gnu-emacs@gnu.org; Mon, 12 Dec 2022 07:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Dec 2022 12:32: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.167084827714758 (code B ref 59314); Mon, 12 Dec 2022 12:32:02 +0000 Original-Received: (at 59314) by debbugs.gnu.org; 12 Dec 2022 12:31:17 +0000 Original-Received: from localhost ([127.0.0.1]:52676 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4hxk-0003py-Sr for submit@debbugs.gnu.org; Mon, 12 Dec 2022 07:31:17 -0500 Original-Received: from mail.fitzsim.org ([69.165.165.189]:43566) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p4hxj-0003pj-7F for 59314@debbugs.gnu.org; Mon, 12 Dec 2022 07:31:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RAWDa+pG8qjrM3mnQ8EgykklsvWXLr0nCIBAouzXwNs=; b=iJsPsCXqOhvXDKE8slRTtG9MWB E1AFTdpcIO26x1YJz8u+4jQblutHZMMjYNZi/UxkRsNA8OpKHNilFiBBgCJ+4zyng5J075WB8m45X jmiIpl91P61kbV79MIpbs5XKFvzBpxGJNbYdnN6JG0EvfqEHg4L4jUxxpi/j3bxz3ezdrdTiUwt8F UqOZ0qXYq17JTqdKx5JjJKHnVNNDlGYNdZtGUBB3EBbwPL5yoQDS/4zP8/BCa1v1WnLE2JUc4ce+M uG2uJLXjQiMUDkKr149UVby2fz3+5S7mkmk106uDv9qGOkE7Xl3QFcTq6PklgfMQ4RQD+9Gx3cFCA u+qgjGaQ==; Original-Received: from [192.168.1.1] (helo=localhost.localdomain) by mail.fitzsim.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1p4hxV-0006tv-34; Mon, 12 Dec 2022 07:31:09 -0500 In-Reply-To: (Alexander Adolf's message of "Sun, 11 Dec 2022 17:08:07 +0100") 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:250700 Archived-At: Alexander Adolf writes: > 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). I confirmed this on my set up, this was a good thing to test, thanks. (Before, I had tested BBDB-only (no-EUDC) completion with message-expand-name-standard-ui set to nil, which worked, but not with it set to t.) > 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, Good luck, this is good progress. Thomas