unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Trent W. Buck" <trentbuck@gmail.com>
Cc: 6208@debbugs.gnu.org
Subject: bug#6208: 23.2; [M-x grep] match no longer coloured by default
Date: Thu, 20 May 2010 00:17:45 +0300	[thread overview]
Message-ID: <87vdajd1ke.fsf@mail.jurta.org> (raw)
In-Reply-To: <20100519014403.GA29031@dali> (Trent W. Buck's message of "Wed, 19 May 2010 11:44:06 +1000")

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

-- 
Juri Linkov
http://www.jurta.org/emacs/





  reply	other threads:[~2010-05-19 21:17 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 [this message]
2010-05-20  8:38       ` Trent W. Buck
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=87vdajd1ke.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=6208@debbugs.gnu.org \
    --cc=trentbuck@gmail.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).