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=-0.1 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12949 invoked from network); 24 Jan 2023 12:38:08 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 24 Jan 2023 12:38:08 -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 1pKIYw-00FfyM-8H for ml@inbox.vuxu.org; Tue, 24 Jan 2023 06:38:06 -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 1pKIYv-005n6N-2r for ml@inbox.vuxu.org; Tue, 24 Jan 2023 06:38:05 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1pKIYq-005n6H-2v for ding@lists.math.uh.edu; Tue, 24 Jan 2023 06:38:02 -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 1pKIYo-00D0GA-T1 for ding@lists.math.uh.edu; Tue, 24 Jan 2023 06:38:00 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; 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=HItMZqlJCGzRUss08LujaAXWTnp88S4qIdODFQ4melA=; b=gBJJEZp1JKSeVmdc+vuLpWNHH8 hhnDboHtUzFKrHdcpVwFJkXsMuJbatLCCltkhPwmdyQzOl3PU1hH6cBQSjx282tGtYpCxgDO9x2nm H1HC5alYRUh+6jCqoCuOKm0aGoVfS2AkXcxW6TOsSLcbL0yZmsnCSIwMRE3dUH/G+4iw=; Received: from eggs.gnu.org ([2001:470:142:3::10]) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pKIYf-00065M-Td for ding@gnus.org; Tue, 24 Jan 2023 13:37:52 +0100 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKIYc-0001ut-0S; Tue, 24 Jan 2023 07:37:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=HItMZqlJCGzRUss08LujaAXWTnp88S4qIdODFQ4melA=; b=GBW+GNFTAxbN6MOUMNzY hZ6kFa2mOqmu8aKAWLjUGdnPxBuWDAZZxxWwaEIBBpqZqvYNPQ17NHrZ5MFH2Euy+a4mZuO0DEDZj +jXHke/wfhrSPq9djNgZsArLhVK40dpHVani1l8Ol70shy/+Uzxkwdt1lpc09XlJx0JzuAWxoEN7d IbtkuT8jSdG9bwxtqXuN5NDqe++/rTM1tuoNqUbUDoDBVaV4Jyu/8BJRjpIY5g83sDIN2d9c9NBZd eETZkt9k8oTTmu4UwRBImliCMKKAt8tWMtHDB5liABg/PSOqp0MZJ4iO13QK3Xo1vDXe0nxUwRrN7 rIyiX/eYwVg/jg==; Received: from pd9fb7ab6.dip0.t-ipconnect.de ([217.251.122.182] helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pKIYb-0007SR-JG; Tue, 24 Jan 2023 07:37:45 -0500 From: Arash Esbati To: Julien Cubizolles Cc: ding@gnus.org Subject: Re: completion no more working with latest HEADs (emacs and bbdb) In-Reply-To: <87y1pszvvn.fsf@free.fr> (Julien Cubizolles's message of "Tue, 24 Jan 2023 00:14:36 +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> Date: Tue, 24 Jan 2023 13:37:22 +0100 Message-ID: <86r0vk3y7x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Julien Cubizolles writes: > The first one sets completion-at-point-functions to t, and the second > one sets it to (eudc-capf-message-expand-name t). Both fail to use a > corfu completion menu when using TAB on "fan" and go back to the > dialogues previously provided if I'm using (bbdb-complete-name) or > (eudc-expand-inline). I can more or less reproduce what you described about `bbdb-complete-name' and others. With Corfu, this is my entire configuration: (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)) (add-to-list 'completion-at-point-functions #'eudc-capf-complete))) Note that the function is called `eudc-capf-complete' which in return calls `eudc-capf-message-expand-name' after some checks. With this setup, Corfu works here and I can hit TAB to get in-buffer completion for names from BBDB. The only thing I have to do is being case-sensitive reg. the names I'm typing. I hope this helps you get your system running as well. Best, Arash