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

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

Re: Integrating Windows Emacs with Cygwin - how I got it working


From: Lennart Borgman
Subject: Re: Integrating Windows Emacs with Cygwin - how I got it working
Date: Sat, 27 Feb 2010 15:57:11 +0100

On Sat, Feb 27, 2010 at 3:08 PM, The Quiet Center
<thequietcenter@gmail.com> wrote:
> On Feb 27, 8:42 am, Lennart Borgman <lennart.borg...@gmail.com> wrote:
>> On Sat, Feb 27, 2010 at 11:11 AM, The Quiet Center
>
>
>>
>> > For instance, it was not possible to type M-x grep-find and have a
>> > working grep.
>>
>> The installers for Emacs+EmacsW32 (patched or unpatched) comes with
>> grep and find so I believed this should work. You do not have to use
>> cygwin's grep and find (and I do not know if that works).
>>
>> I am not using grep-find myself, only rgrep/lgrep. Can you please tell
>> us what did not work as expected?
>
> Well I didnt understand what to put on the command-line... here is
> what comes up when type M-x grep-find
>
> Run find (like this): grep -r <C> -nH . --include=


Hm, thanks, looks like there is a bug there in Emacs+EmacsW32. The
normal default line should be

   Run find (like this): find . -type f -print0 | xargs -0 -e grep -nH -e

I do not know what has happened. I have changed the use of grep in
rgrep/lgrep a bit because it works in my opinion using the -r argument
of grep, but perhaps I trashed something for grep-find. I will have a
look at that as soon as I can.

But I have some problems with nXhtml to fix first so it may be a while
before I can look at it more carefully. Just out of curiousity, do you
really need grep-find? Perhaps rgrep is enough?




reply via email to

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