GNU bug report logs - #36842
Bug when colors and -C used together

Previous Next

Package: diffutils;

Reported by: Alex Meiburg <Alex.Meiburg <at> Oculus.com>

Date: Mon, 29 Jul 2019 20:54:02 UTC

Severity: normal

Tags: notabug

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36842 in the body.
You can then email your comments to 36842 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-diffutils <at> gnu.org:
bug#36842; Package diffutils. (Mon, 29 Jul 2019 20:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alex Meiburg <Alex.Meiburg <at> Oculus.com>:
New bug report received and forwarded. Copy sent to bug-diffutils <at> gnu.org. (Mon, 29 Jul 2019 20:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alex Meiburg <Alex.Meiburg <at> Oculus.com>
To: "bug-diffutils <at> gnu.org" <bug-diffutils <at> gnu.org>
Subject: Bug when colors and -C used together
Date: Mon, 29 Jul 2019 20:42:29 +0000
[Message part 1 (text/plain, inline)]
Hello! I'd like to report a bug. I'm running version "diff (GNU diffutils) 3.6, Copyright (C) 2017 Free Software Foundation, Inc.". When I run it with --color=always and -C1, the wrong lines are highlighted: it highlights the lines that _would have_ been the line numbers of output if no context was enabled, but since there are extra lines of output, it's highlighting the wrong lines.


Best,

Alex Meiburg
[Message part 2 (text/html, inline)]

Information forwarded to bug-diffutils <at> gnu.org:
bug#36842; Package diffutils. (Mon, 29 Jul 2019 22:06:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alex Meiburg <Alex.Meiburg <at> Oculus.com>
To: "bug-diffutils <at> gnu.org" <bug-diffutils <at> gnu.org>
Subject: Re: Bug when colors and -C used together
Date: Mon, 29 Jul 2019 20:46:24 +0000
[Message part 1 (text/plain, inline)]
I'm so sorry, please ignore, I made a mistake in understanding how diff highlights colors. I guess I was thinking of `hg diff` and the like, and my coworkers had also thought this seemed wrong.


Apologies.

________________________________
From: Alex Meiburg
Sent: Monday, July 29, 2019 1:42:29 PM
To: bug-diffutils <at> gnu.org <bug-diffutils <at> gnu.org>
Subject: Bug when colors and -C used together


Hello! I'd like to report a bug. I'm running version "diff (GNU diffutils) 3.6, Copyright (C) 2017 Free Software Foundation, Inc.". When I run it with --color=always and -C1, the wrong lines are highlighted: it highlights the lines that _would have_ been the line numbers of output if no context was enabled, but since there are extra lines of output, it's highlighting the wrong lines.


Best,

Alex Meiburg
[Message part 2 (text/html, inline)]

bug closed, send any further explanations to 36842 <at> debbugs.gnu.org and Alex Meiburg <Alex.Meiburg <at> Oculus.com> Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sun, 29 Aug 2021 06:53:01 GMT) Full text and rfc822 format available.

Added tag(s) notabug. Request was from Paul Eggert <eggert <at> cs.ucla.edu> to control <at> debbugs.gnu.org. (Sun, 29 Aug 2021 06:53:01 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 26 Sep 2021 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 202 days ago.

Previous Next


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