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: Sat, 04 Feb 2023 19:48:30 -0500 Message-ID: References: <87a64q7p25.fsf@ericabrahamsen.net> <87wn52x3bv.fsf@free.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12122"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eric Abrahamsen , 59314@debbugs.gnu.org To: Julien Cubizolles Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 05 01:49:13 2023 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 1pOTDT-0002wS-W9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Feb 2023 01:49:12 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOTDM-00011s-Hs; Sat, 04 Feb 2023 19:49:04 -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 1pOTDK-00011b-IU for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 19:49: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 1pOTDK-00050h-1f for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 19:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOTDJ-0003GY-NK for bug-gnu-emacs@gnu.org; Sat, 04 Feb 2023 19:49:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Thomas Fitzsimmons Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Feb 2023 00:49:01 +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.167555812112527 (code B ref 59314); Sun, 05 Feb 2023 00:49:01 +0000 Original-Received: (at 59314) by debbugs.gnu.org; 5 Feb 2023 00:48:41 +0000 Original-Received: from localhost ([127.0.0.1]:43675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOTCy-0003Fy-Nq for submit@debbugs.gnu.org; Sat, 04 Feb 2023 19:48:40 -0500 Original-Received: from mail.fitzsim.org ([69.165.165.189]:59830) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOTCv-0003Fc-HV for 59314@debbugs.gnu.org; Sat, 04 Feb 2023 19:48:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=fitzsim.org ; s=20220430; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: 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=OSYT9i0iTlD+T+hwOgc/02Nkj0AliiOtIflFZBsChm8=; b=ECYymND7+VEH0YIES4EiM7lTtX lZIOz+b175XWCCOU+TGNFXokeZI1MhGWtBvd/fyunrMRdqrgaYJ96ekBSQfYLgnutL4iiH94E+Dpl lAWszXpiQUUDIZOquI8Z7V2GDzvKizIfvwG2sV5qh3eeY2VuZRoBjfzvfuDuU7R3VAZH/iBTM7fD3 kahy67FwTKRoupG/lGGm8yBfx3pWBzti3vxJ/wW+OjH6LiKU/BPHudWlKR/kvi8qLZeJ4+Rl72FMb jp/xaE0r4PAZmRmyFuJneoJYTQAHL4IZ4Y8o+DfEgwbHjrccRwFlN59njcZ9gg13kDp858O1H4m7G Mf/gpaVA==; 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 1pOTCo-0000FP-Da; Sat, 04 Feb 2023 19:48:30 -0500 In-Reply-To: <87wn52x3bv.fsf@free.fr> (Julien Cubizolles's message of "Tue, 31 Jan 2023 14:04:36 +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:254807 Archived-At: Hi Julien, Julien Cubizolles writes: > Eric Abrahamsen writes: > >> Address completion in message-mode has stopped working in master, >> possibly as a result of 0e25a39e69acca0324c326ea8e46b1725594bff5. This >> has been reported for several contact-management backends that expect to >> have their completions available with . >> >> `completion-at-point-functions' contains '(eudc-capf-complete >> message-completion-function t) at this point -- `eudc-capf-complete' >> returns no matches, and no other functions in the list are consulted. >> >> On gnus.general, someone using BBDB and corfu reported that this recipe >> fixed the problem: >> >> (setq eudc-server-hotlist '(("localhost" . bbdb))) >> >> (add-hook 'message-mode-hook >> (lambda () >> (setq-local completion-at-point-functions >> (delq 'message-completion-function >> completion-at-point-functions)))) > > In my case, also using corfu and BBDB, I'm currently happy with=C2=A0: > > --8<---------------cut here---------------start------------->8--- > (setq eudc-server-hotlist '(("localhost" . bbdb))) > > (add-hook 'message-mode-hook > (lambda () > (add-to-list 'completion-at-point-functions > #'eudc-capf-complete))) > --8<---------------cut here---------------end--------------->8--- > > The removal of message-completion-function was breaking completion for > the Gcc: field and 'eudc-capf-complete seems enough to get completion in > the To: field. OK, thanks for posting. Is this with emacs-29 branch tip, i.e., what will be released as Emacs 29.1? Thomas