From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric S Fraga Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] EUDC email addresses via completion-at-point in message-mode Date: Sun, 17 Apr 2022 18:21:51 +0100 Organization: On the Interweb somewhere Message-ID: <87czhffwwg.fsf@ucl.ac.uk> References: <4c3f728f989e832d224be1503808a682@condition-alpha.com> <87ilrb4y3j.fsf@ucl.ac.uk> <87h76rgatz.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39015"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: emacs-devel@gnu.org Cancel-Lock: sha1:1kzL2mLXDoKD215oitM9fzurR6U= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 17 19:23:07 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ng8c7-000A2J-Ry for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Apr 2022 19:23:07 +0200 Original-Received: from localhost ([::1]:51926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ng8c6-0005gA-Hl for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Apr 2022 13:23:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng8b3-0004y3-6P for emacs-devel@gnu.org; Sun, 17 Apr 2022 13:22:01 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:33286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ng8b1-00008r-4A for emacs-devel@gnu.org; Sun, 17 Apr 2022 13:22:00 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1ng8ay-0008bm-CO for emacs-devel@gnu.org; Sun, 17 Apr 2022 19:21:56 +0200 X-Injected-Via-Gmane: http://gmane.org/ X-Url: http://twitter.com/ericsfraga/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=ged-emacs-devel@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288565 Archived-At: On Sunday, 17 Apr 2022 at 09:58, Thomas Fitzsimmons wrote: > Interesting idea of multiple keybindings for different completions. Yes. The combination works because (a) abbrev is for those very commonly used addresses so having them expand on , or SPC means no thought at all, (b) ecomplete shows possibilities as I type so I will hit M-n if/when I see what I want, and (c) eudc (TAB) works any time to complete by typing incrementally. > If EUDC includes the other sources, do you foresee using just EUDC? Or > do you think keeping the extra keys will give better usability? Not yet sure; my initial view had been that TAB completion (i.e. via EUDC) would be what I needed for all cases but I'm actually quite comfortable with what I've ended up with. However, given that I use tab completion everywhere else, it probably will be better to have everything as an option via eudc. > What do you think the "out-of-the-box" behavior should be? Should the > following: > > "emacs -Q" > C-x m > TAB > > say "no completions found; to start adding contacts, do ". No, I would expect it to provide all my possible email addresses: union of bbdb, abbrevs, and ecomplete, just as M-x does for me right now with selectrum+consult, with most recently used or most popular first. > (in *scratch*) emacs-devel@gnu.org > C-x m > TAB > > expand to emacs-devel@gnu.org via dabbrev-expand? Ummm, interesting. No idea what I would expect! -- Eric S Fraga with org 9.5.2 in Emacs 29.0.50 on Debian 11.3