GNU bug report logs - #61396
diff mode could distinguish changed from deleted lines

Previous Next

Package: emacs;

Reported by: Samuel Wales <samologist <at> gmail.com>

Date: Fri, 10 Feb 2023 03:26:01 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Samuel Wales <samologist <at> gmail.com>, 61396 <at> debbugs.gnu.org
Subject: bug#61396: diff mode could distinguish changed from deleted lines
Date: Fri, 10 Feb 2023 15:58:40 +0200
On 10/02/2023 05:25, Samuel Wales wrote:
> a fix is to have a different face for changed lines.  i
> suggest a muted bg face.  another fix is to stick a colored
> marker INDICATOR in A where changes in B exist.
> 
>    -now is the time^
>    +now is the time FOR ALL GOOD MEN
> 
> where ^ is a colored marker -- actually just a changed bg
> for the newline in this case would work, but i don't think
> emacs supports that.

Doesn't the "refinements" feature serve the same purpose?

In my testing, "FOR ALL GOOD MEN" is additionally highlighted with the 
diff-refine-added face. Which adds an emphasized background.




This bug report was last modified 1 year and 318 days ago.

Previous Next


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