From: Sergei Organov <osv@javad.com>
To: help-gnu-emacs@gnu.org
Subject: Re: find-grep-dired: skip .git
Date: Thu, 17 Apr 2014 19:16:19 +0400 [thread overview]
Message-ID: <lior83$gpe$1@ger.gmane.org> (raw)
In-Reply-To: 87vbu81733.fsf@physik.rwth-aachen.de
Torsten Bronger <bronger@physik.rwth-aachen.de> writes:
> Hallöchen!
>
> I think my find-grep-dired actions lose a lot of time in .git
> subdirs. Can I tell Emacs somehow to skip them always?
Dunno, but here is an idea. Below is what igrep-find uses not to search in
RCS/CVS/SCCS directories:
find ~/src -type d \( -name RCS -o -name CVS -o -name SCCS \) -prune -o -follow -type f \! -name \*~ \! -name \*\,v \! -name s.\* \! -name .\#\* -name \*.\[ch\]\* -print0 | xargs -0 -e grep -n -e PATTERN /dev/null
prev parent reply other threads:[~2014-04-17 15:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-04-17 12:19 find-grep-dired: skip .git Torsten Bronger
2014-04-17 14:56 ` Yuri Khan
2014-04-17 15:00 ` Eli Zaretskii
[not found] ` <mailman.19778.1397746836.10748.help-gnu-emacs@gnu.org>
2014-04-17 15:10 ` Torsten Bronger
2014-04-17 15:16 ` Sergei Organov [this message]
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='lior83$gpe$1@ger.gmane.org' \
--to=osv@javad.com \
--cc=help-gnu-emacs@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.
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).