[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ELPA] New package: transient

From: Eli Zaretskii
Subject: Re: [ELPA] New package: transient
Date: Sat, 02 May 2020 18:29:21 +0300

> From: Philippe Vaucher <address@hidden>
> Date: Sat, 2 May 2020 16:26:57 +0200
> Cc: Stefan Monnier <address@hidden>, address@hidden, 
>       Richard Stallman <address@hidden>, Emacs developers <address@hidden>
>  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.
> If the goal is to list all the functions related to manipulating the topic of 
> regexp (something like
> https://docs.python.org/2/library/re.html#regular-expression-objects or
> https://ruby-doc.org/core-2.7.1/Regexp.html), then the search you propose is 
> a poor tool.
> 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.

> 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]