From: "Trent W. Buck" <trentbuck@gmail.com>
To: Juri Linkov <juri@jurta.org>
Cc: 6208@debbugs.gnu.org
Subject: bug#6208: 23.2; [M-x grep] match no longer coloured by default
Date: Thu, 20 May 2010 18:38:27 +1000 [thread overview]
Message-ID: <20100520083825.GA2120@dali> (raw)
In-Reply-To: <87vdajd1ke.fsf@mail.jurta.org>
Juri Linkov wrote:
>>>> grep -nHr . -e LH_INITRAMFS --color
>>>> ./binary_manifest:45:case "${LH_INITRAMFS}" in
>>>> [...]
>>>>
>>>> The LH_INITRAMFS on the fifth line has a blue background (the "match"
>>>> face) iff I add --color. In 23.1 I didn't need to supply --color.
>>>
>>> Please check the value of `grep-highlight-matches'. Is it nil?
>>
>> It is "auto".
>
> That's the correct value.
>
> Could you please now run `set' as a grep command, i.e.:
>
> M-x grep RET C-a C-k set RET
>
> and send all lines that match "grep" (e.g. by using `M-x occur RET grep'
> on the output buffer). For instance, I have the following
> grep-related environment variables in the output buffer:
>
> GREP_COLOR='01;31'
> GREP_COLORS='mt=01;31:fn=:ln=:bn=:se=:ml=:cx=:ne'
> GREP_OPTIONS='--color=auto --color=auto'
> TERM=emacs-grep
>
> with whose I get the correct match highlighting running GNU grep 2.6.3.
I have the same data
Grep started at Thu May 20 18:32:06
GREP_COLOR='01;31'
GREP_COLORS='mt=01;31:fn=:ln=:bn=:se=:ml=:cx=:ne'
GREP_OPTIONS='--color=auto --color=auto'
TERM=emacs-grep
but I don't have an "emacs-grep" terminfo entry.
$ tput -Temacs-grep longname
tput: unknown terminal "emacs-grep"
Huh. OK, this is strange. I just tried to reproduce the problem
again, and I can't -- matches are highlighted correctly now.
next prev parent reply other threads:[~2010-05-20 8:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-18 11:23 bug#6208: 23.2; [M-x grep] match no longer coloured by default Trent W. Buck
2010-05-18 22:44 ` Juri Linkov
2010-05-19 1:44 ` Trent W. Buck
2010-05-19 21:17 ` Juri Linkov
2010-05-20 8:38 ` Trent W. Buck [this message]
2010-05-20 22:41 ` Juri Linkov
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=20100520083825.GA2120@dali \
--to=trentbuck@gmail.com \
--cc=6208@debbugs.gnu.org \
--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 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).