From: "Drew Adams" <drew.adams@oracle.com>
To: "Eli Zaretskii" <eliz@gnu.org>
Cc: bug-gnu-emacs@gnu.org
Subject: RE: No such program, egrep error in Customize
Date: Wed, 26 Dec 2007 11:53:34 -0800 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICMEEDECAA.drew.adams@oracle.com> (raw)
In-Reply-To: <u1w99i6r3.fsf@gnu.org>
> It's quite obvious: you don't have an executable `egrep' (egrep.exe,
> egrep.bat, egrep.cmd, etc.) anywhere on your PATH.
Yes, that was obvious from the beginning.
My question was why it was looking for egrep (in order to look for ispell).
There was a completion function defined for widget `color', and it wasn't
being called.
But I found my mistake - the defcustom was not defining the :type as
`color'. See my email to emacs-devel about that.
> > 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?
ispell-grep-command is "egrep", which is fine for me.
However, in emacs -Q, my usual PATH was not used (naturally), so it wasn't
found. Same thing occurs for `grep' or any other program. IOW, no problem
when my .emacs is used, because I set PATH there to include the cygwin
binaries, but emacs -Q has no idea about that (naturally).
next prev parent reply other threads:[~2007-12-26 19:53 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
2007-12-26 19:53 ` Drew Adams [this message]
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=DNEMKBNJBGPAOPIJOOICMEEDECAA.drew.adams@oracle.com \
--to=drew.adams@oracle.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=eliz@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 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).