From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Is it possible to run rgrep in emacs on Win32? Date: Thu, 12 Apr 2012 12:29:19 +0300 Message-ID: <83iph547tc.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1334223100 20535 80.91.229.3 (12 Apr 2012 09:31:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 09:31:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 11:31:37 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SIGNM-0004jU-Cs for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 11:31:36 +0200 Original-Received: from localhost ([::1]:59143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIGNL-0004Yz-AB for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 05:31:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIGND-0004YU-Qt for help-gnu-emacs@gnu.org; Thu, 12 Apr 2012 05:31:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIGN7-00057w-D6 for help-gnu-emacs@gnu.org; Thu, 12 Apr 2012 05:31:27 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:62306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIGN7-00057e-58 for help-gnu-emacs@gnu.org; Thu, 12 Apr 2012 05:31:21 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M2D00C0012GBL00@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Thu, 12 Apr 2012 12:31:19 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.57.204]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M2D00CZG1466XM0@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Thu, 12 Apr 2012 12:31:19 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84433 Archived-At: > From: Steinar Bang > Date: Thu, 12 Apr 2012 11:21:41 +0200 > > Platform: emacs 23.2.1, > GnuWin32 FindUtils 4.2.20-2 > GnuWin32 Grep-2.5.4 What version of Windows is that? > Does anyone know of a way to make the emacs rgrep command work on > windows? First, try Emacs 23.3 or later, there were some changes made there to fix problems with very long command lines, perhaps you are hitting that limit. If that doesn't help, maybe advice below will. "M-x rgrep" works for me on Windows XP, but I use Fiindutils that I built myself, as the GnuWin32 provided port is broken (in particular, xargs is affected). You can find my port here: http://sourceforge.net/projects/ezwinports/files/ However, lately someone told me that my build doesn't work well on Windows Vista and later, because Microsoft changed the way quoted wildcards are processed by the startup code that globs them: now wildcards are globbed even if they are quoted. If you are using such a new version of Windows, the only solution I know of is to downgrade to an even older version 4.1 of Findutils from here: http://unxutils.sourceforge.net/ I think someone told me that this port does work on newer Windows versions. HTH