GNU bug report logs - #5211
Color escape codes in the output of vc-git-print-log

Previous Next

Package: emacs;

Reported by: Juanma Barranquero <lekktu <at> gmail.com>

Date: Mon, 14 Dec 2009 16:20:04 UTC

Severity: minor

Tags: patch

Found in version 23.1.90

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 5211 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 5211 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#5211: Color escape codes in the output of vc-git-print-log
Date: Tue, 15 Dec 2009 08:01:36 -0500
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Tue, 15 Dec 2009 12:15:42 +0100
> Cc: 5211 <at> emacsbugs.donarmstrong.com, monnier <at> iro.umontreal.ca
> 
> > On what OS?
> 
> Windows 7

I asked because pipes on Windows have their quirks.

> I have
> 
> [color]
>         branch = always
>         diff = always
>         interactive = always
>         pager = true
>         status = always
>         ui = always
>         showbranch = always
> 
> in my .gitconfig, and
> 
>   git log | more
> 
> in a personal repo shows
> 
> ←[33mcommit ed210d6b291c13b3e2c6cbfed39ffd0e96d5b634←[m

If the escapes go away when you remove "always", then there's no
problem here.  And if we want to cater to users who set "always" like
you do, then resetting it in vc-git-print-log is IMO the way to go.




This bug report was last modified 15 years and 149 days ago.

Previous Next


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