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=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 5592 invoked from network); 21 Oct 2023 09:10:21 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 21 Oct 2023 09:10:21 -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.96.1) (envelope-from ) id 1qu7zp-002IZv-0Y for ml@inbox.vuxu.org; Sat, 21 Oct 2023 04:10:17 -0500 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.1) (envelope-from ) id 1qu7zo-000C6q-36 for ml@inbox.vuxu.org; Sat, 21 Oct 2023 04:10:13 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96.1) (envelope-from ) id 1qu7zm-000C6a-1j for ding@lists.math.uh.edu; Sat, 21 Oct 2023 04:10:10 -0500 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.96.1) (envelope-from ) id 1qu7zH-002MXg-1v for ding@lists.math.uh.edu; Sat, 21 Oct 2023 04:09:55 -0500 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=CjpqljNVwGKH/Zyxl16o8c6aw555hvPxv8h9ytBCW9E=; b=Thq2oclvVl70pSmOt2AXh0+Z1T XPMlCLp4Zb+anLxX0GFSa1QUengPb9cOqyhyIVcJ3jMXyHv/uc29Sz57W6uYj83eE3B7Vp06uyn4+ o6YRBy1T4d1zorikZOLDTkGesSYIYB8oHGHd/yznLd1RivDJiPlKmOSSiIGl4uue54Zk=; 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 1qu7ys-0003Ku-6z for ding@gnus.org; Sat, 21 Oct 2023 11:09:18 +0200 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 1qu7yn-000672-G3; Sat, 21 Oct 2023 05:09:09 -0400 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=CjpqljNVwGKH/Zyxl16o8c6aw555hvPxv8h9ytBCW9E=; b=SwFPU5xf8h+oGYfLocrh MQkC7AFnVaJUm+NykJEHKgjVwLrKuVvU/PVKs/XqHVhptEPMrd/BTjfoz2FRq70BSFiUGUJGWMQ5r +RdfNgvwHdu/TTp6yeJ3HhxtlStIdOO2aWsZN1ZahEyXY8OV6J0iARp9rwDkijuiv62FA+aW5m9mm 3s6QqXcITGnJSDVDutYSGbG4LdlgMypMr4W70r9hjCx1zmWqJlr1vkgddAN+bIZXhK8AtqdZCt9Gt toNy7KY4XnvJ6vKe20rbN0jNerquwnzm8KzGeEtz0JijUVeH3e8v1b9VVk4zdVrOZeGnPPI6x2DaI j6wMBLgtuPVvQQ==; From: Arash Esbati To: Eric Abrahamsen Cc: ding@gnus.org Subject: Re: In-buffer completion of EBDB mail addresses with corfu In-Reply-To: <87wmvh72n6.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 20 Oct 2023 08:08:13 -0700") References: <87bkcv9rl1.fsf@ericabrahamsen.net> <87sf668z4c.fsf@ericabrahamsen.net> <87wmvh72n6.fsf@ericabrahamsen.net> Date: Sat, 21 Oct 2023 11:09:04 +0200 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain List-ID: Precedence: bulk Eric Abrahamsen writes: > Yes, I suppose you're right. `add-hook' is idempotent, so no harm done > if that ends up getting called twice. And the "insinuate" functions are > a fine place to make sure that `ebdb-load' is called. That would be great. I now have this setup in my .gnus and it works: (setq ebdb-complete-mail 'capf) (require 'ebdb-message) (add-hook 'message-mode-hook #'ebdb-load) > I don't think there should be anything complicated about that, I'll play > with it and release a new version soon. Looking forward to that. And please don't forget to update the manual ;-) Best, Arash