From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juri Linkov'" <juri@jurta.org>
Cc: 2397@emacsbugs.donarmstrong.com
Subject: bug#2397: 23.0.90; grep no longer highlights the match
Date: Sun, 22 Feb 2009 15:14:17 -0800 [thread overview]
Message-ID: <001c01c99543$49c16b90$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <877i3iccew.fsf@jurta.org>
> > grep -nH -e echo $SHELL
> > Binary file C:/cygwin/bin/bash.exe matches
> >
> > Looks like bash to me. And it's always acted like bash, AFAICT.
>
> > That gives this:
> >
> > grep -nH -e echo $TERM
> > grep: emacs-grep: No such file or directory
>
> Actually I meant removing the default input (the "grep -nH -e" part)
> completely, and replacing it with these commands. So more precise
> recipes are:
>
> `M-x grep RET C-a C-k set RET'
Here:
...
SHELL=C:/cygwin/bin/bash.exe
...
TERM=emacs-grep
> `M-x grep RET C-a C-k echo $TERM RET'
echo $TERM
emacs-grep
> But anyway I see that your $SHELL is "bash.exe" and $TERM is
> "emacs-grep".
>
> Could you also try running grep from Bash (not from Emacs)
> with options "--color=always" and "--color=auto" and see whether
> it outputs highlighting sequences for both cases in a standalone
> shell?
Yes, both produce the highlighting.
It is apparently only in Emacs that --color=auto does not work.
next prev parent reply other threads:[~2009-02-22 23:14 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <utz6eo3ue.fsf@gnu.org>
2009-02-19 23:26 ` bug#2397: 23.0.90; grep no longer highlights the match Drew Adams
2009-02-22 17:56 ` Drew Adams
2009-02-22 19:01 ` Juri Linkov
2009-02-22 20:04 ` Drew Adams
2009-02-22 22:08 ` Juri Linkov
2009-02-22 22:27 ` Drew Adams
2009-02-22 22:52 ` Juri Linkov
2009-02-22 23:14 ` Drew Adams [this message]
2009-02-22 23:48 ` Juri Linkov
2009-02-24 0:56 ` Drew Adams
2009-02-28 17:50 ` bug#2397: marked as done (23.0.90; grep no longer highlights the match) Emacs bug Tracking System
[not found] ` <000701c999ce$aa77cb20$0200a8c0@us.oracle.com>
[not found] ` <usklyo063.fsf@gnu.org>
[not found] ` <001201c999da$77282650$0200a8c0@us.oracle.com>
2009-02-28 20:10 ` bug#2397: 23.0.90; grep no longer highlights the match Eli Zaretskii
2009-02-28 21:09 ` Drew Adams
2009-02-28 22:08 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='001c01c99543$49c16b90$0200a8c0@us.oracle.com' \
--to=drew.adams@oracle.com \
--cc=2397@emacsbugs.donarmstrong.com \
--cc=juri@jurta.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.