Subject: Re: bug#61396: diff mode could distinguish changed from deleted lines

From: Samuel Wales <[email-masked]>
Date: Mon, 24 Jul 2023 16:39:04 -0700

applying a face to line 1 does not make sense in this context.  there
is no text to apply a face to because it was deleted.

On 7/24/23, Samuel Wales <[email-masked]> wrote:
> in 27.1 i am not getting this.
>
> i am getting this:
>
> file aaa: now is the time
> file bbb: now is the time for all good men
>
> now you diff this
> with result:
>
> line 1: -now is the time
> line 2: +now is the time /for all good men/
>
> line 1 does not indicate that anything was deleted.  i request that
> diff-mode do so, if possible.  line 2 is correct.
>
> what i need is an indication that something is lacking in line 1.  i
> do not need the text that is lacking.
>
>
> On 7/24/23, Robert Pluim <[email-masked]> wrote:
>>>>>>> On Sat, 22 Jul 2023 23:04:10 -0700, Samuel Wales
>>>>>>> <[email-masked]> said:
>>
>>     Samuel> so basically,
>>     Samuel>   -this is a line that ^looks deleted, but it is changed
>>     Samuel> ...
>>     Samuel>   +this is a line that REALLY looks deleted, but it is
>> changed
>>
>>     Samuel> what is not indicated for the user is at the ^.  i woul dlike
>> it
>> if
>>     Samuel> diff mode if possible showed that text was deleted there.
>>
>> Thatʼs what diff-mode does, if `diff-refine' is non-nil (which is the
>> default nowadays), by applying the `diff-refine-removed' face.
>>
>> Robert
>> --
>>
>
>
> --
> 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