GNU bug report logs -
#61396
diff mode could distinguish changed from deleted lines
Previous Next
Full log
View this message in rfc822 format
highlighting for all good men in + is the current case.
i am proposing that this is insufficient. - has no indication or
highlighting other than del face and it is not a deleted line.
On 2/10/23, Samuel Wales <samologist <at> gmail.com> wrote:
> it is an interesting idea to change the gutter from - to !, but i'm
> not sure this is ok for diff -u, i think it could maybe break things?,
> and it would not distinguish - from +.
>
> On 2/10/23, Juri Linkov <juri <at> linkov.net> 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.
>>
>> We have a dedicated face to indicate the changed lines.
>> Its name is 'diff-changed' and it can be used for context diffs
>> that have a special indicator '!' at the beginning of changed lines.
>> Is it possible to output the same indicator for unified diffs?
>>
>
>
> --
> The Kafka Pandemic
>
> A blog about science, health, human rights, and misopathy:
> https://thekafkapandemic.blogspot.com
>
--
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.