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 8486 invoked from network); 20 Oct 2023 06:41:32 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 20 Oct 2023 06:41:32 -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 1qtjCM-001T73-1e for ml@inbox.vuxu.org; Fri, 20 Oct 2023 01:41:30 -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 1qtjCL-0009WD-3B for ml@inbox.vuxu.org; Fri, 20 Oct 2023 01:41:30 -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 1qtjCJ-0009W3-2f for ding@lists.math.uh.edu; Fri, 20 Oct 2023 01:41:28 -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 1qtjCI-001T6d-1R for ding@lists.math.uh.edu; Fri, 20 Oct 2023 01:41:27 -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=KOYE+tbSw6563uJ3I6MwsgzJGleju58qop6wxKiGas8=; b=uyUFYhDWR292CUVE29lt3bgaxG uUetR4aMS6SiNqHU+sx5IiZqeME888mmWBfEqQXgYgwXV7AgRafGWzeaMagD3TbvCdDA7b5V2HhTp S9+/dKp+2HvqT/FOf6l1otQ+LtBE2raOx/Af/olVogbPnYchL6mUooNZePYDMU0FnCLE=; 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 1qtjC9-0005lo-9z for ding@gnus.org; Fri, 20 Oct 2023 08:41:21 +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 1qtjC6-0006dE-4z; Fri, 20 Oct 2023 02:41:14 -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=KOYE+tbSw6563uJ3I6MwsgzJGleju58qop6wxKiGas8=; b=oUYZL/0kO9nyjx+Nbw7G PxxSG9oXozS5kOJkGqF9Wnexu1VtgcwiOUaC6uQOh39u1uOpaVaAPCcMbXSiWBk81zP0f1+3Apy+W 1yytsruJOPq7RAtGcECEK9nNfH7XX9Y5mOgGla1GuSZn7l49/1F4Z+jP3oHDio3j4k5f5SeAM07nH vIjQ1G2aBuzC/iKKkin2IIhlhjKu52BE4iBsZlTZHrYWy/CETYcxeICtbNs+ZFJ/uTQeOzSFGHFFg RlyYQToZYlfCAripUrew4CDucceyhuZKq8rmiyUcRRqXmYf0V/q/yF+JUtLCbe2lLyW73qPbdIxXI QBCTHDvVD138nQ==; From: Arash Esbati To: Eric Abrahamsen Cc: ding@gnus.org Subject: Re: In-buffer completion of EBDB mail addresses with corfu In-Reply-To: <87sf668z4c.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Thu, 19 Oct 2023 07:29:07 -0700") References: <87bkcv9rl1.fsf@ericabrahamsen.net> <87sf668z4c.fsf@ericabrahamsen.net> Date: Fri, 20 Oct 2023 08:41:09 +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: > I'm not completely clear what you're doing here -- you enter a full name > and email, then a comma, then TAB? EBDB will only look back as far as > the nearest comma for completion. In this case it will send in a blank > string, which should offer all emails in your EBDB database for > completion. I think we can skip this (see below). > Have you created any records? Yes. > Are there strings in `ebdb-dwim-completion-cache'? Thanks, this is it. It was nil. If I do `M-x ebdb RET RET' to see my records and then hit 'q', `ebdb-dwim-completion-cache' seems to get populated and then hitting TAB in the header in Message mode offers in-buffer completion. Is there a way to automate the setting of `ebdb-dwim-completion-cache'? > That's not a bad idea. Having them `require' libraries to activate > behavior isn't very Emacsy. Agreed. And that was the reason I made that suggestion. > That would be a pretty annoying change for existing users, though... Are these two approaches mutually exclusive? Users who want to `require' it can still do it, and others can load the package lazily if the autoload cookies are added. Or am I missing something? Best, Arash