[Top][All Lists]

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

Re: address@hidden: grep-tree doesn't shell-quote-argument]

From: Kim F. Storm
Subject: Re: address@hidden: grep-tree doesn't shell-quote-argument]
Date: Wed, 19 Apr 2006 13:41:49 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Eli Zaretskii <address@hidden> writes:

>> IMO, grep-tree is much more user
>> friendly than grep and grep-find (I use grep-tree all the time), 
>> while others obviously prefer the power of grep and grep-find.
> Then making one a variant of the other should save us from having to
> remember another command name.
> The normal Emacs way: use the prefix argument.

So what you suggest is that the current grep-tree should replace
grep-find/find-grep as the default interface, and the current
grep-find functionality should be selected if a prefix arg is

That would be ok with me, and I will make the changes if people agree.

This should be done before the release as grep-tree is new in 22.x,
and there are several defcustoms which should be renamed as part of
this rework.

>> find-grep-dired is completely different in the sense that it
>> doesn't list the matches, but rather presents a dired buffer
>> which lists the files which matches the regexp.
> It's not ``completely different'', because in most situations the user
> wants to visit the matching files.  The only real reason to prefer
> find-grep-dired to the others is when you want to invoke Dired
> commands on the matching files.

YMMV, but to me that's "completely different".

So I still don't see how to merge find-grep-dired into grep-find.
(a negative arg perhaps?  wouldn't the be too obscure?)

I suggest we leave that one alone!

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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