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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: 61396 <at> debbugs.gnu.org, Samuel Wales <samologist <at> gmail.com>
Subject: bug#61396: diff mode could distinguish changed from deleted lines
Date: Thu, 14 Sep 2023 21:34:19 -0400
> - Like Samuel mentioned, attenuate the indicators' column. Except instead of
>   inverse video just apply the refine faces? See
>   diff-refine-indicators.png. Looks good to me color-wise, though the change
>  in the indication method is somewhat an inconsistency.

I think I like that.  But I'm not sure how to adapt this to my case
where I "prettify" the indicators into the fringe.

Maybe a related idea would be to use the diff-refine-added/removed face
on the line-end: the reduced contrast is not a problem there since
there's no text.  But it's not always visible (for long enough lines).

I suspect we'll have to provide various alternatives and see which
ones stick.


        Stefan





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.