bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth


From: Allen Li
Subject: bug#46884: [PATCH] 27.1; Cannot run find-dired with -maxdepth
Date: Sun, 14 Mar 2021 00:40:36 +0000

On Sat, Mar 13, 2021 at 9:53 PM Juri Linkov <juri@linkov.net> wrote:
>
> > Sorry, I attached the wrong patch, here's the one for the rgrep approach.
>
> Thanks, I tried it, but for some reason 'C-u C-u find-dired RET'
> doesn't work.  Maybe because it uses 'grep-find-command' that is nil?

First patch was to outline intent to Eli; I didn't test it which was
an oversight on my part.

Here's a second patch which I've tested by running once each for zero,
one, and two prefix args.
If the approach looks good, I will test more, cleanup, update the
NEWS, docs, etc.

>
> > +With two \\[universal-argument] prefixes, directly edit and run 
> > `grep-find-command'.
> > ...
> > +    ((and grep-find-command (equal current-prefix-arg '(16)))

Attachment: 0001-find-dired-Add-command-editing-like-rgrep.patch
Description: Text Data


reply via email to

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