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 19:05:22 +0300 Message-ID: <837dxus4ot.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> <83r1w2s9wi.fsf@gnu.org> <83lfmas6cu.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="40585"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, emacs-devel@gnu.org, monnier@iro.umontreal.ca, rms@gnu.org To: Philippe Vaucher Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat May 02 18:06:39 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 1jUuf0-000ASr-D1 for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 18:06:38 +0200 Original-Received: from localhost ([::1]:36834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUuez-00015z-ES for ged-emacs-devel@m.gmane-mx.org; Sat, 02 May 2020 12:06:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jUue6-0008Dh-F1 for emacs-devel@gnu.org; Sat, 02 May 2020 12:05:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60869) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jUue5-00069O-Ry; Sat, 02 May 2020 12:05:41 -0400 Original-Received: from [176.228.60.248] (port=2879 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jUudx-00089o-UO; Sat, 02 May 2020 12:05:34 -0400 In-Reply-To: (message from Philippe Vaucher on Sat, 2 May 2020 17:43:34 +0200) 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:248479 Archived-At: > From: Philippe Vaucher > Date: Sat, 2 May 2020 17:43:34 +0200 > Cc: Stefan Monnier , tomas@tuxteam.de, > Richard Stallman , Emacs developers > > > It starts with the following list: grep-regexp-alist, gmm-regexp-concat, project-find-regexp, > > shell-dumb-shell-regexp, rmail-secondary-file-regexp, rmail-user-mail-address-regexp, > > tramp-file-name-regexp, whitespace-indentation-regexp, project-or-external-find-regexp... All of which > are > > irrelevant to what we search. > > Which is why I said elsewhere that without making the candidate > scoring smarter, adding aliases based on namespaces will be much less > useful, perhaps even detrimental. > > No, the idea is that you then search for ^regexp- and you get ONLY the functions that start with "regexp-". I > don't understand why I'm still explaining this, if I'm missing something please tell me. You are missing the fact that it's impossible to make all functions related to regexps begin with "regexp-", because some of them are also related to lists or strings or buffers or email or projects. Or are you suggesting to have dozens of different aliases for each function, one each for every class to which it could possibly belong? > > What it should list is > https://www.gnu.org/software/emacs/manual/html_node/elisp/Regexp-Search.html, but > > also merged with the Match Data documentation, presented in a much more condensed manner, > etc. > > The above are _commands_ not functions. The equivalent would be > "C-h a regexp search RET", which does do what you want, I think. > > This again gives me a giant list where a majority of what is listed is not what I'd like. "Giant"? I see 11 hits (in "emacs -Q").