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.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26893 invoked from network); 21 Oct 2023 18:33:21 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 21 Oct 2023 18:33: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 1quGmk-002XN3-2d for ml@inbox.vuxu.org; Sat, 21 Oct 2023 13:33:18 -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 1quGmk-000CnT-0v for ml@inbox.vuxu.org; Sat, 21 Oct 2023 13:33:18 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96.1) (envelope-from ) id 1quGmh-000CnK-2U for ding@lists.math.uh.edu; Sat, 21 Oct 2023 13:33:15 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1quGmc-002XMg-2o for ding@lists.math.uh.edu; Sat, 21 Oct 2023 13:33:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=09ZNyzVRe2sPxudm7O2UFCg8NYMpy7kavFX5LmnsYOw=; b=f0dZaR72TLSO09q/cBpHIwM8/f un6dMH/6VAczuGTaKhm5aQi75GpoP7QH0ylz6zftDNjY5ndjzMgbln2m8NwO19xNzMJwnv1X8OhVs 6AXQzy0p+MVegXaFt171jFqZvKSDqi3eYb43T2MorDNHTXJ/mrwFbS3UMGuyfuBj+/ug=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1quGmU-0000pq-Bp for ding@gnus.org; Sat, 21 Oct 2023 20:33:06 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1quGmS-0006od-NY for ding@gnus.org; Sat, 21 Oct 2023 20:33:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: In-buffer completion of EBDB mail addresses with corfu Date: Sat, 21 Oct 2023 11:32:51 -0700 Message-ID: <87h6mj7rn0.fsf@ericabrahamsen.net> References: <87bkcv9rl1.fsf@ericabrahamsen.net> <87sf668z4c.fsf@ericabrahamsen.net> <87wmvh72n6.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:FxtEFnI17ZXnttdp/1BqE3TpVWM= List-ID: Precedence: bulk Arash Esbati writes: > 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 > ;-) Of course :)