GNU bug report logs -
#61396
diff mode could distinguish changed from deleted lines
Previous Next
Full log
Message #53 received at 61396 <at> debbugs.gnu.org (full text, mbox):
i'm not sure that will work with alternate presentatin f difflll.
what woul dbe good is for the internal diffing to notate not merely
additions and deleteions but also absence of addionts. a marker that
something will be deleted. no matter where.
On 2/12/23, Juri Linkov <juri <at> linkov.net> wrote:
>> this is a bug against emacs diff-mode.
>>
>> diff is not responsible for diff-mode colors. diff-mode is.
>
> You can use such a heuristics that when the region with deleted lines
> borders the region with added lines this means that both regions show
> the changed lines. So adjacent regions in the hunk = changed lines,
> disconnected regions of added or deleted lines = separate
> additions/deletions.
>
--
The Kafka Pandemic
A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com
This bug report was last modified 1 year and 319 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.