emacs-devel
[Top][All Lists]
Advanced

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

Re: On the adoption of transient.el


From: Yuri Khan
Subject: Re: On the adoption of transient.el
Date: Mon, 5 Jul 2021 23:50:53 +0700

On Mon, 5 Jul 2021 at 21:25, Philip Kaludercic <philipk@posteo.net> wrote:

> Do you have any concrete examples where it could be used?

Every time I do an ‘M-x rgrep’, I am asked three to infinity
questions, in a sequence:

* A regexp to grep for.
* A wildcard for the set of files I want searched. (The default value
is inferred from the extension of the file name of the current buffer,
so if I’m in a Dired buffer visiting “2. Name of the second book in a
series”, I have to change that.)
* A starting directory. (The default is the current buffer’s default directory.)
* Whether I want to save some buffers.

I could probably avoid most of these if rgrep displayed them all in a
single transient prompt and maybe had single-key options to search
(a)ll files, files matching the e(x)tension of the current buffer, or
a custom (f)ile name wildcard.



reply via email to

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