GNU bug report logs - #6665
24.0.50; rgrep does not work on Windows

Previous Next

Package: emacs;

Reported by: Christoph <cschol2112 <at> googlemail.com>

Date: Sun, 18 Jul 2010 14:33:01 UTC

Severity: normal

Found in version 24.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 6665 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Christoph <cschol2112 <at> googlemail.com>
Cc: 6665 <at> debbugs.gnu.org
Subject: Re: bug#6665: 24.0.50; rgrep does not work on Windows
Date: Sun, 18 Jul 2010 20:14:06 +0300
> From: Christoph <cschol2112 <at> googlemail.com>
> Date: Sun, 18 Jul 2010 08:32:56 -0600
> Cc: 
> 
> rgrep does not work on Windows.

Actually, it does; you just don't like the results ;-)

> In *scratch* buffer evaluate the following to point to GNU find and grep executables:
> (setq find-program "\"C:/Program Files (x86)/GnuWin32/bin/find.exe\"")
> (setq grep-program "\"C:/Program Files (x86)/GnuWin32/bin/grep.exe\"")

Why do you need these?  Doesn't Emacs find them?

> "C:/Program Files (x86)/GnuWin32/bin/find.exe" . "(" -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 "(" -name ".#*" -o -name "*.o" -o -name "*~" -o -name "*.bin" -o -name "*.bak" -o -name "*.obj" -o -name "*.map" -o -name "*.ico" -o -name "*.pif" -o -name "*.lnk" -o -name "*.a" -o -name "*.ln" -o -name "*.blg" -o -name "*.bbl" -o -name "*.dll" -o -name "*.drv" -o -name "*.vxd" -o -name "*.386" -o -name "*.elc" -o -name "*.lof" -o -name "*.glo" -o -name "*.idx" -o -name "*.lot" -o -name "*.fmt" -o -name "*.tfm" -o -name "*.class" -o -name "*.fas" -o -name "*.lib" -o -name "*.mem" -o -name "*.x86f" -o -name "*.sparcf" -o -name "*.fasl" -o -name "*.ufsl" -o -name "*.fsl" -o -name "*.dxl" -o -name "*.pfsl" -o -name "*.dfsl" -o -name "*.p64fsl" -o -name "*.d64fsl" -o -name "*.dx64fsl" -o -name "*.lo" -o -name "*.la" -o -name "
> C:/Program Files (x86)/GnuWin32/bin/find.exe: paths must precede expression

If you paste all this long command line to the shell window, does the
program work then?  (You may need to mirror the slashes for that.)

Also, does the problem go away if you replace "(" with "-(" and ")"
with "-)"?

Does the problem go away if you copy the two programs to a directory
whose name does not include blanks and parentheses, and invoke them
from there?




This bug report was last modified 14 years and 191 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.