On Sat, Mar 13, 2021 at 9:53 PM Juri Linkov 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)))