unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: No such program, egrep error in Customize
Date: Wed, 26 Dec 2007 21:41:04 +0200	[thread overview]
Message-ID: <u1w99i6r3.fsf@gnu.org> (raw)
In-Reply-To: <DHEEKFAFJEFOJHLCFPFDEEBLCDAA.drew.adams@oracle.com>

> 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?




  parent reply	other threads:[~2007-12-26 19:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-26 18:32 No such program, egrep error in Customize Drew Adams
2007-12-26 18:54 ` Drew Adams
2007-12-26 19:18   ` Andreas Schwab
2007-12-26 19:45     ` Drew Adams
2007-12-26 19:50     ` Eli Zaretskii
2007-12-26 19:18   ` Drew Adams
2007-12-26 19:47     ` Eli Zaretskii
2007-12-26 20:02       ` Drew Adams
2007-12-26 19:41 ` Eli Zaretskii [this message]
2007-12-26 19:53   ` Drew Adams
2007-12-29 12:42   ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=u1w99i6r3.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=drew.adams@oracle.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).