# HG changeset patch # User gavenkoa@gavenko.bifit.int # Date 1226059716 -7200 # Node ID 9258c46dc165b140fee83d05906b32d9ccaea88a # Parent 0cf1b0216dac745f34ad6881052d1e1bfe2b48c9 Avoid _darcs for grep-find. diff -r 0cf1b0216dac -r 9258c46dc165 .emacs-my --- a/.emacs-my Wed Nov 05 16:18:33 2008 +0200 +++ b/.emacs-my Fri Nov 07 14:08:36 2008 +0200 @@ -316,7 +316,8 @@ ;; ---------------------------------------------------------------------- ;; *grep* (setq grep-command "find . -name '*' -exec grep -nH '' {} ;" - grep-find-command "find . -type f ! -path '*.svn*' ! -path '*CVS*' ! -path '*.hg*' -name '*' -print0 | xargs -0 -e grep -nH " + ;; XXX Need use -prune for performance. + grep-find-command "find . -type f ! -path '*.svn*' ! -path '*CVS*' ! -path '*.hg*' ! -path '*_darcs*' -name '*' -print0 | xargs -0 -e grep -nH " grep-highlight-matches nil ; do not set t because some grep do not has --color options grep-tree-command "find -type f -print0 | xargs -0 -e grep -nH " grep-use-null-device t)