all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Evgeniy Dolzhenko <evgeniy.dolzhenko@blacksquaremedia.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Is it possible to run rgrep in emacs on Win32?
Date: Thu, 12 Apr 2012 13:37:10 +0400	[thread overview]
Message-ID: <87aa2hxpdl.fsf@blacksquaremedia.com> (raw)
In-Reply-To: <83iph547tc.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 12 Apr 2012 12:29:19 +0300")


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 <eliz@gnu.org> writes:

>> From: Steinar Bang <sb@dod.no>
>> 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



  reply	other threads:[~2012-04-12  9:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12  9:21 Is it possible to run rgrep in emacs on Win32? Steinar Bang
2012-04-12  8:39 ` Tassilo Horn
2012-04-12  9:29 ` Eli Zaretskii
2012-04-12  9:37   ` Evgeniy Dolzhenko [this message]
2012-04-12 10:06   ` Stefan Vollmar
2012-04-12 10:07   ` Thierry Volpiatto
2012-04-12 15:26   ` Steinar Bang
2012-04-12 14:13     ` Eli Zaretskii
2012-04-13 11:34     ` Steinar Bang
2012-04-13 12:12       ` Eli Zaretskii
2012-04-13 13:02         ` Evgeniy Dolzhenko
2012-04-13 17:42           ` Eli Zaretskii
2012-04-14 15:14           ` Stefan Vollmar
2012-04-14  8:03         ` Steinar Bang
2012-04-14  9:04           ` Eli Zaretskii
2012-04-16 13:26             ` Ludwig, Mark
     [not found] <mailman.1131.1334218896.20052.help-gnu-emacs@gnu.org>
2012-04-17  5:47 ` winterTTr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87aa2hxpdl.fsf@blacksquaremedia.com \
    --to=evgeniy.dolzhenko@blacksquaremedia.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.