From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Evgeniy Dolzhenko Newsgroups: gmane.emacs.help Subject: Re: Is it possible to run rgrep in emacs on Win32? Date: Thu, 12 Apr 2012 13:37:10 +0400 Message-ID: <87aa2hxpdl.fsf@blacksquaremedia.com> References: <83iph547tc.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1334242653 27077 80.91.229.3 (12 Apr 2012 14:57:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Apr 2012 14:57:33 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 12 16:57:32 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 1SILSk-0003Sr-7L for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 16:57:30 +0200 Original-Received: from localhost ([::1]:57451 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SILSj-0005kA-MC for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Apr 2012 10:57:29 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIGT4-0005wf-2w for help-gnu-emacs@gnu.org; Thu, 12 Apr 2012 05:37:35 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SIGSx-0006fx-OA for help-gnu-emacs@gnu.org; Thu, 12 Apr 2012 05:37:29 -0400 Original-Received: from mail-lpp01m010-f41.google.com ([209.85.215.41]:40618) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SIGSx-0006fj-AB for help-gnu-emacs@gnu.org; Thu, 12 Apr 2012 05:37:23 -0400 Original-Received: by lagz14 with SMTP id z14so1605363lag.0 for ; Thu, 12 Apr 2012 02:37:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blacksquaremedia.com; s=google; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=JidfxfS3IPdtmDiZUUvht82ojesnNirM2Nss4GGcNhI=; b=B+xQtsDYQhmBDpHpTjNex/kq7FfrYWb7sVt3C9frJCyk0ot3raSvxsOhRaGBYGZJ91 k3ChImkph4uwBpNzs0WGWIK4lPE9VucV2c+cEwNJnp6iclGhUxj+IWLxHvjQ/Ezothyj xGKFJgSwQg25+fiRIX5p9gWhRicaSVaEb9QnQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:x-gm-message-state; bh=JidfxfS3IPdtmDiZUUvht82ojesnNirM2Nss4GGcNhI=; b=DE/a2tuR6Fr206Wj6LFwcoRZSfwdmcI8RhuhfB65iStxJPntY2tn2WW9N6WjURexwC e2Z43gClXEXqxcCNpbTvKGHR25TUZQMJ5p21xVRpoFVQDOqgz096ZmKY+p99bQMs8bkZ dUcuUraYEQouf+vDEMy0g7XcPJL4xb6f5Qv1ZJW7kH4E1wfXFtTbFyEnIVV26HPGngiJ om2m/JAe/PO2zDkY0q36KiD8DavPRSmbXYOomGiOKnMSZfKmcIB5RsqUKfnA44KbX0Z+ gH6Rq3J5qseItJ4apv0aWQ6N8pANV9spsCU+RdLVye4y1S/n7ywqNrrj0Me4DKSa79zf jOvQ== Original-Received: by 10.152.105.19 with SMTP id gi19mr1528383lab.11.1334223438651; Thu, 12 Apr 2012 02:37:18 -0700 (PDT) Original-Received: from EVGENIY-PC.blacksquaremedia.com ([109.172.66.204]) by mx.google.com with ESMTPS id w10sm7029071lbe.14.2012.04.12.02.37.17 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 12 Apr 2012 02:37:18 -0700 (PDT) In-Reply-To: <83iph547tc.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Apr 2012 12:29:19 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (windows-nt) X-Gm-Message-State: ALoCoQkDT8uubC3j6FxV+tuXomEdNxE1uH/gRbFV+Ys88DeJvSaDE4vwt4G8nKQQsMsvGMUN/Av8 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.215.41 X-Mailman-Approved-At: Thu, 12 Apr 2012 10:57:22 -0400 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:84440 Archived-At: Here is what works for me on Win7 ;; Cygwin for find/grep (setenv "PATH" (concat "C:\\cygwin\\bin;" (getenv "PATH"))) in .emacs 1. GNU Emacs 24.0.94.1 (i386-mingw-nt6.1.7601) 2. CygWin in C:\cygwin some pretty outdated version It's dog slow though :( HTH, Ev Eli Zaretskii writes: >> 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