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: Wed, 07 Dec 2022 00:29:27 +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="39046"; 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 Wed Dec 07 00:30:24 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 1p2hOK-000A20-Al for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 07 Dec 2022 00:30:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2hO2-0007oV-1A; Tue, 06 Dec 2022 18:30:06 -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 1p2hNz-0007oH-A7 for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 18:30: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 1p2hNy-0006Kw-N2 for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 18:30:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p2hNy-0000sv-D7 for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2022 18:30: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: Tue, 06 Dec 2022 23:30: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.16703693763367 (code B ref 59314); Tue, 06 Dec 2022 23:30:02 +0000 Original-Received: (at 59314) by debbugs.gnu.org; 6 Dec 2022 23:29:36 +0000 Original-Received: from localhost ([127.0.0.1]:45780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2hNX-0000sF-Ny for submit@debbugs.gnu.org; Tue, 06 Dec 2022 18:29:36 -0500 Original-Received: from smtprelay02.ispgateway.de ([80.67.18.14]:39196) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p2hNV-0000s9-Qt for 59314@debbugs.gnu.org; Tue, 06 Dec 2022 18:29:34 -0500 Original-Received: from [46.244.196.50] (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 1p2hNZ-0007en-Ro; Wed, 07 Dec 2022 00:29:38 +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:250146 Archived-At: Thomas Fitzsimmons writes: >> [...] >> Looking at this now. > > Great, thank you. > [...] With the default value of `completion-styles`, which is '(basic partial-completion emacs22) I get no completion. But when setting it to '(substring partial-completion) as I mentioned, I get this after calling `completion-at-point:` ---------------------------------------------------------------------- To: --text follows this line-- ---------------------------------------------------------------------- Which I guess is kind of the expected result, as it inserts the longest common prefix of the two candidates' email addresses. I get the same result with `message-tab` (or just pressing TAB), btw. Actually, I think the leading "<" should not be there? After appending either "3", or "4" further completion attempts (using either function) do not provide any results. But when I remove the leading "<", and try to complete again (with either "3" or "4" added), I get the correct result (for instance "Emacs ERT4 "). Thus, it seems there are two things to further look into : - set `completion-styles` to '(substring partial-completion) during the test - make sure the leading "<" is not inserted when there is a partial match Looking forward to your thoughts, --alexander