From: Davi Leal <davi@leals.com>
To: emacs-devel@gnu.org
Subject: IDE features: M-x find-grep
Date: Sun, 27 Apr 2008 22:36:27 +0200 [thread overview]
Message-ID: <200804272236.28969.davi@leals.com> (raw)
"find-grep" lists the matches too under the CVS, .svn, .git, ... directories.
Other IDEs avoid to list matches on repository specific files. They only list
matches in source code files.
find-grep could detect it is going to process a CVS, SVN or Git repository and
so prune such directories: -path '*/.svn' -prune
So, instead of the current find-grep default command [1], emacs could offer
one which prune the repository control directories [2], [3], ...
[1] find . -type f -print0 | xargs -0 -e grep -nH -e
[2] find . -path '*/CVS' -prune -o -type f -print | xargs -e grep -I -n -e
[3] find . -path '*/.svn' -prune -o -type f -print | xargs -e grep -I -n -e
Can such behavior be got just configuring .emacs?
--
gnuherds.org The democratic FS job site.
next reply other threads:[~2008-04-27 20:36 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-27 20:36 Davi Leal [this message]
2008-04-27 21:12 ` IDE features: M-x find-grep Phil Jackson
2008-04-27 22:10 ` Davi Leal
2008-04-27 21:48 ` Kim F. Storm
2008-04-27 22:44 ` Davi Leal
2008-05-02 23:46 ` Juri Linkov
2008-05-03 0:27 ` Lennart Borgman (gmail)
2008-05-03 21:01 ` Richard M Stallman
2008-05-03 23:03 ` Juri Linkov
2008-05-04 1:16 ` Re[2]: " Eric M. Ludlam
2008-05-04 2:05 ` Lennart Borgman (gmail)
2008-05-04 2:37 ` Re[2]: " Eric M. Ludlam
2008-05-05 20:21 ` Lennart Borgman (gmail)
2008-05-04 20:07 ` Richard M Stallman
2008-05-04 23:17 ` Juri Linkov
2008-05-04 23:47 ` Drew Adams
2008-05-05 15:14 ` Richard M Stallman
2008-05-05 15:14 ` Richard M Stallman
2008-05-04 2:04 ` Lennart Borgman (gmail)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200804272236.28969.davi@leals.com \
--to=davi@leals.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).