[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: |
Fri, 21 Apr 2006 23:35:37 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>>>>> ! (and grep-find-ignore-CVS-directories "-path
>>>>> '*/CVS' -prune -o ")
>>>
>>>> I think this should ignore ".svn", "{arch}", and "_darcs" as well.
>>>
>>> And .hg
>>> .. and probably a bunch more.
>
>> The problem with CVS is that while editing a file foo.c, there may be
>> related file named CVS/Base/foo.c. We certainly don't want grep-find to
>> look into that file.
>
> That's one problem. Another is that those admin-dirs can be large (with
> many files), so the time to traverse them can be non-negligible.
So the right thing would be to have a list of subdirectories to ignore.
However, doing that will give some pretty long argument lists to find | grep.
That's ok, unless you want to post-edit the command line (C-u C-u M-x
grep-find).
--
Kim F. Storm <address@hidden> http://www.cua.dk
- Re: address@hidden: grep-tree doesn't shell-quote-argument], (continued)
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Romain Francoise, 2006/04/18
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Richard Stallman, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Eli Zaretskii, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Richard Stallman, 2006/04/19
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Eli Zaretskii, 2006/04/20
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kim F. Storm, 2006/04/21
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Magnus Henoch, 2006/04/21
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Stefan Monnier, 2006/04/21
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kim F. Storm, 2006/04/21
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Stefan Monnier, 2006/04/21
- Re: address@hidden: grep-tree doesn't shell-quote-argument],
Kim F. Storm <=
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Richard Stallman, 2006/04/22
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/22
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Bill Wohler, 2006/04/23
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Bill Wohler, 2006/04/23
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Kim F. Storm, 2006/04/22
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Richard Stallman, 2006/04/23
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/23
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Richard Stallman, 2006/04/24
- Re: address@hidden: grep-tree doesn't shell-quote-argument], David Kastrup, 2006/04/24
- Re: address@hidden: grep-tree doesn't shell-quote-argument], Richard Stallman, 2006/04/25