From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#6665: 24.0.50; rgrep does not work on Windows Date: Sun, 18 Jul 2010 20:14:06 +0300 Message-ID: <83eif0emqp.fsf@gnu.org> References: <86hbjwhnc7.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Content-Transfer-Encoding: 7BIT X-Trace: dough.gmane.org 1279474242 13590 80.91.229.12 (18 Jul 2010 17:30:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Jul 2010 17:30:42 +0000 (UTC) Cc: 6665@debbugs.gnu.org To: Christoph Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jul 18 19:30:41 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OaXhI-0001uX-So for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Jul 2010 19:30:41 +0200 Original-Received: from localhost ([127.0.0.1]:38855 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaXhI-0006Bb-BZ for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Jul 2010 13:30:40 -0400 Original-Received: from [140.186.70.92] (port=36290 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaXhC-0006BM-3o for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2010 13:30:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OaXhA-00031x-Mv for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2010 13:30:34 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58869) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaXhA-00031q-Hb for bug-gnu-emacs@gnu.org; Sun, 18 Jul 2010 13:30:32 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OaXSA-0007kn-Aa; Sun, 18 Jul 2010 13:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Jul 2010 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6665 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6665-submit@debbugs.gnu.org id=B6665.127947327329779 (code B ref 6665); Sun, 18 Jul 2010 17:15:02 +0000 Original-Received: (at 6665) by debbugs.gnu.org; 18 Jul 2010 17:14:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaXRh-0007kG-DK for submit@debbugs.gnu.org; Sun, 18 Jul 2010 13:14:33 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaXRd-0007k9-SI for 6665@debbugs.gnu.org; Sun, 18 Jul 2010 13:14:31 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0L5R00N00JR32F00@a-mtaout23.012.net.il> for 6665@debbugs.gnu.org; Sun, 18 Jul 2010 20:14:10 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.61.30]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L5R00MPSJVI0L50@a-mtaout23.012.net.il>; Sun, 18 Jul 2010 20:14:07 +0300 (IDT) In-reply-to: <86hbjwhnc7.fsf@gmail.com> X-012-Sender: halo1@inter.net.il Sun-Java-System-SMTP-Warning: Lines longer than SMTP allows found and truncated. X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 18 Jul 2010 13:15:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38662 Archived-At: > From: Christoph > 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?