From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: transient Date: Sat, 02 May 2020 17:12:45 +0300 Message-ID: <83r1w2s9wi.fsf@gnu.org> References: <87368npxw4.fsf@bernoul.li> <87v9ljo5d0.fsf@bernoul.li> <87ftcnxu5m.fsf@bernoul.li> <83y2qezlpd.fsf@gnu.org> <83tv12zjx1.fsf@gnu.org> <20200429101755.GF24737@tuxteam.de> <838sicw4do.fsf@gnu.org> <83zhaqu89z.fsf@gnu.org> <83sggiu2p9.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="93433"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 16:13:38 2020 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 1jUste-000OFP-2b for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 16:13:38 +0200 Original-Received: from localhost ([::1]:49948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUstd-0004p6-5I for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 10:13:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59888) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUst4-0004H3-5J for emacs-devel@gnu.org; Sat, 02 May 2020 10:13:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58263) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUst3-0002xl-Hy; Sat, 02 May 2020 10:13:01 -0400 Original-Received: from [176.228.60.248] (port=3942 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUssw-00059v-Bn; Sat, 02 May 2020 10:12:54 -0400 In-Reply-To: (message from Stefan Monnier on Sat, 02 May 2020 09:59:08 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:248447 Archived-At: > From: Stefan Monnier > Cc: Philippe Vaucher , tomas@tuxteam.de, > rms@gnu.org, emacs-devel@gnu.org > Date: Sat, 02 May 2020 09:59:08 -0400 > > > If I may: your strategy is sub-optimal. When looking for a function > > FWIW, for me the problem is not to find the function but to remember > which permuation we chose for the one I'm thinking of. > > Typical examples: is it `multibyte-string-p` or `string-multibyte-p`, > `file-name-absolute-p` or `absolute-file-name-p`, ... ? Then "C-u C-h a WORDS..." is your friend. > The regexp functions mentioned elsewhere in this thread are another good > example No, that's a different example, because a lot of regexp functions don't have "regexp" in their names. > Yes, we can try and improve completion, but we have a real underlying > problem of irregular naming and completion would just help us paper > over it. The command "C-u C-h d regexp RET" brings up 111 matching functions. Who will have patience looking through that list, unless the likely candidates are near the beginning? And this is even before we added aliases that use the regexp- prefix. > We don't have to rename anything. We can keep living with what > we have. And we shouldn't rename the world either. But I strongly > believe that we *should* try and rename a few things here and there > to slowly put more structure and order in our name space. I don't object to this. I'm just saying that the hope this will allow you to quickly find that-function-you-almost-remember-the-name-of are overly optimistic. I'm also saying that in many use cases this will make finding the right function harder (because the list of candidates will become much longer). But I personally don't care much, because I never look for functions that way.