From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9496 invoked from network); 3 Feb 2023 05:32:14 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 3 Feb 2023 05:32:14 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pNogE-004PTY-SJ for ml@inbox.vuxu.org; Thu, 02 Feb 2023 23:32:10 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1pNogE-0068Y9-1e for ml@inbox.vuxu.org; Thu, 02 Feb 2023 23:32:10 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1pNog8-0068Xt-0E for ding@lists.math.uh.edu; Thu, 02 Feb 2023 23:32:05 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pNog2-001TsW-3C for ding@lists.math.uh.edu; Thu, 02 Feb 2023 23:32:03 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; 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=aWkMnEw5hqIFHLZIp4zWqXCQm6VGSm2OPTF3Su2zEDg=; b=UAxVrulJzhNg3DycprhyypZHNz 5+C4NFhsoR8Zd0lGFSQ4DM6yrAXyirF3n/R9XHE/cIDZ6a3VDxyFGaDrTCnF2LNvdqmQdI5/t5Xtg jZbEE+l4JTcZJwjRhyrk4K5YT6H4Qn5PHBgg/fdH+acPDnwZNRwR2AOZiJ/9ySonGTJQ=; Received: from smtp2-g21.free.fr ([2a01:e0c:1:1599::11]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pNoft-0007YZ-1O for ding@gnus.org; Fri, 03 Feb 2023 06:31:51 +0100 Received: from sadhill (unknown [37.166.83.19]) (Authenticated sender: j.cubizolles@free.fr) by smtp2-g21.free.fr (Postfix) with ESMTPSA id E99C52003D0; Fri, 3 Feb 2023 06:31:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=free.fr; s=smtp-20201208; t=1675402306; bh=NAc2wIKs6iDXJLtH/iCUwPJPKwhiVV109W4cezZZWwI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=OlE9c94RamPbkQUaitmAw9vxTnvY/NMTSiu6WvDAlDEHiBQtsOI4ywJUxxA9P8QAz Vb4Ba7EfM53f8atFsCftg0h8qmbUdDKjEVLoa2AkQk5FU+m1A83lhVXuhDUv0QJ8A6 87kZTSaFiGtOE5OKr2oaAwhrqDZTQaPKLljED5kOeD1lu5urvSBaUdUWciz3FzOvV8 Jtd/AMinDttRa5Uzqt4hSlwPkDTLdiadqY3K9oW9ZLGmTA31bZ8pYIbZpdmfPMQiTo jE9pKZ+y8jvuWLKdKoNGufTfm7EB2F0J6C1SijS7v2UgTITZTGwudkyWlqymGNyayx Cf9qhGHtllAiA== From: Julien Cubizolles To: Arash Esbati Cc: ding@gnus.org Subject: Re: completion no more working with latest HEADs (emacs and bbdb) In-Reply-To: <86r0v8bdp0.fsf@gnu.org> (Arash Esbati's message of "Thu, 02 Feb 2023 10:48:27 +0100") References: <87r0y42vnh.fsf@a16n.net> <86edu3ibkp.fsf@gnu.org> <87leobgucs.fsf@a16n.net> <867czvi8d8.fsf@gnu.org> <87zgcrp63k.fsf@a16n.net> <86edu3m8fb.fsf@gnu.org> <87ilgx8uh1.fsf@free.fr> <867cxdny73.fsf@gnu.org> <86k01dtgw6.fsf@gnu.org> <87y1pszvvn.fsf@free.fr> <86r0vk3y7x.fsf@gnu.org> <878rhieusy.fsf@free.fr> <86r0v8bdp0.fsf@gnu.org> Date: Fri, 03 Feb 2023 06:31:41 +0100 Message-ID: <874js3tiv6.fsf@free.fr> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk Arash Esbati writes: >> I noticed that this setup, while working for bbdb completions in the To:= field, >> breaks it for completing groups in the Gcc: field. >> >> I get both completions working with: >> >> (add-hook 'message-mode-hook >> (lambda () >> (add-to-list 'completion-at-point-functions >> #'eudc-capf-complete))) > > So you have to tweak the regexp to something like this: > > "^\\([^ :]*-\\)?\\(To\\|[BG]?Cc\\|From\\|Reply-to\\|Mail-Followup-To\\|= Mail-Copies-To\\):" I understand that this would attempt to use eudc-capf-complete in the Gcc field but it wouldn't get a match with the gnus group name since it's supposed to look for email addresses, right=C2=A0? Also, do you need to remove 'message-completion-function from completion-at-point-functions to get eudc-capf-completion to work=C2=A0? In my case this is not necessary. --=20 Julien Cubizolles