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

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

Re: Does grep work in Windows


From: Graham Smith
Subject: Re: Does grep work in Windows
Date: Wed, 24 Jan 2007 08:20:35 +0000

Eli,

Thanks for your help.

I did restart Emacs, indeed I re-booted the PC. I modified the PATH via My Computer|advanced|Environmental variable, and I have re-installed Grep.

In the end I gave up and installed Emacsw32, which comes with Grep, and its now working.

I would rather have solved the problem but, for now this seems the more efficient way of sorting it out.

Should I have added anything in the .emacs file?

Graham



On 24/01/07, Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Tue, 23 Jan 2007 22:27:35 +0000
> From: "Graham Smith" <myotisone@gmail.com>
>
> I have installed Grep from the gnuwin32 web site and "now" added it to the
> PATH environmental variable. Same error.

Did you restart Emacs after installing Grep?  Emacs won't notice any
changes to PATH while it (Emacs) is running.

If you did restart Emacs, please make sure that you modified PATH
correctly, i.e. in a way that will be in effect for all programs,
including Emacs.  In practice, this means you should modify PATH via
Control Panel, not in the shell window.

> grep -n -e setq ~/.emacs NUL
> 'grep' is not recognized as an internal or external command,
> operable program or batch file.

This error message says that the OS cannot find grep.exe.  You need to
find out why.  Something in the way you installed Grep is not right.


_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs


reply via email to

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