bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6665: 24.0.50; rgrep does not work on Windows


From: Eli Zaretskii
Subject: bug#6665: 24.0.50; rgrep does not work on Windows
Date: Sun, 18 Jul 2010 20:14:06 +0300

> From: Christoph <address@hidden>
> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]