GNU bug report logs -
#51262
[PATCH] Don't use color escape sequences in `vc-git-expanded-log-entry'
Previous Next
Reported by: Jan Synáček <jan.synacek <at> gmail.com>
Date: Mon, 18 Oct 2021 10:47:01 UTC
Severity: normal
Tags: patch
Fixed in version 28.1
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
Message #22 received at control <at> debbugs.gnu.org (full text, mbox):
close 51262 28.1
thanks
Jan Synáček <jan.synacek <at> gmail.com> writes:
> It looks like the following part of my ~/.gitconfig triggers the issue:
> ...
> [color]
> ui = always
Aha, so that's the culprit. Presumably without that, git detects that
it's a "dumb" terminal and doesn't output any color escape sequences.
> Colors as in interpreted escape sequences?
That was my first assumption, but it's actually just font-locking.
It seems like your proposed patch does fix the reported issue, and I
could see no other adverse effects; the colors are there there even with
your patch.
I have therefore now pushed this to the emacs-28 branch (commit
5c1a575ef4) with some minor touch-ups to the commit message. I'm
therefore closing this bug report.
Thanks again for the bug report and patch!
This bug report was last modified 3 years and 212 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.