Hello, when issuing `rgrep' on directories with a lot of files and subdirectories, I get the following error in "*grep*" buffer:
xargs: grep: Invalid argument I'm using GnuWin32's `find', 'grep' and `xargs'. I've checked that by issuing: (locate-file "find" exec-path exec-suffixes) (locate-file "grep" exec-path exec-suffixes) (locate-file "xargs" exec-path exec-suffixes) Below are versions of each software involved and full "*grep*" buffer. Thanks for your help. === (emacs-version) => "GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-30 on SOFT-MJASON" Windows XP SP3 === GNU grep 2.5.4 GNU find version 4.2.20 Features enabled: CACHE_IDS D_TYPE GNU xargs version 4.2.20 === -*- mode: grep; default-directory: "~/common/emacs/lisp/site-lisp/" -*- Grep started at Thu Jul 29 12:44:28 find . "(" -path "*/SCCS" -o -path "*/RCS" -o -path "*/CVS" -o -path "*/MCVS" -o -path "*/.svn" -o -path "*/.git" -o -path "*/.hg" -o -path "*/.bzr" -o -path "*/_MTN" -o -path "*/_darcs" -o -path "*/{arch}" ")" -prune -o -type f "(" -iname "*.el" ")" -print0 | xargs -0 -e grep -nH -e "REDEFINED" xargs: grep: Invalid argument Grep finished (matches found) at Thu Jul 29 12:44:31