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

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

Re: No such program, egrep error in Customize


From: Eli Zaretskii
Subject: Re: No such program, egrep error in Customize
Date: Wed, 26 Dec 2007 21:41:04 +0200

> From: "Drew Adams" <drew.adams@oracle.com>
> Date: Wed, 26 Dec 2007 10:32:24 -0800
> 
> emacs -Q
> 
> Define a defcustom with a color value.
> M-x customize-variable for the option.
> Edit the color value field a bit and use `M-TAB' to try to complete.
> 
> I get these messages (error):
> 
>  Starting "egrep" process...
>  apply: Searching for program: no such file or directory, egrep

It's quite obvious: you don't have an executable `egrep' (egrep.exe,
egrep.bat, egrep.cmd, etc.) anywhere on your PATH.

> In GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600)
>  of 2007-06-02 on RELEASE

If you don't have GNU Grep installed, that's the problem.  If you do
have it installed, I'm guessing that `egrep' there is a Unix shell
script, and Windows doesn't know how to run it.  I suggest to write a
batch file egrep.cmd, with these two lines:

@echo off
grep -E %*

put it somewhere on your PATH, and then M-TAB should work for you.
Did it?




reply via email to

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