GNU bug report logs - #9408
23.3; vc-git-grep doesn't link to files when git grep uses colour

Previous Next

Package: emacs;

Reported by: Wilfred Hughes <wilfred <at> potatolondon.com>

Date: Tue, 30 Aug 2011 16:08:01 UTC

Severity: normal

Found in version 23.3

Fixed in version 24.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Wilfred Hughes <wilfred <at> potatolondon.com>
To: Juri Linkov <juri <at> jurta.org>
Cc: 9408 <at> debbugs.gnu.org
Subject: bug#9408: 23.3; vc-git-grep doesn't link to files when git grep uses colour
Date: Tue, 6 Sep 2011 14:27:31 +0100
[Message part 1 (text/plain, inline)]
Yes, using git grep without --no-color gets exactly the colour codes you
describe. But as of revision 105630 (the commit mentioned in message 13),
vc-git-grep uses the command "git grep --no-color -n -e <R> -- <F>" which
suppresses search term highlighting. Have I missed something?

On 6 September 2011 10:32, Juri Linkov <juri <at> jurta.org> wrote:

> > I built revision 105661, then ran $ src/emacs -Q but I did not get search
> > highlighting with vc-git-grep. File name highlighting works fine. My git
> > version is:
> >
> > $ git --version
> > git version 1.7.6.1
>
> My git version is 1.7.1 and I get search highlighting when I enable
> colour for git with: $ git config --global color.ui auto
> and when `git grep' runs without "--no-color".
>
[Message part 2 (text/html, inline)]

This bug report was last modified 13 years and 256 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.