Subject: Re: bug#77942: 31.0.50; replace-region-contents gets stuck

From: Gerd Möllmann <[email-masked]>
Date: Tue, 22 Apr 2025 13:42:15 +0200

Eli Zaretskii <[email-masked]> writes:

>> Cc: Paul Eggert <[email-masked]>, [email-masked]
>> From: Gerd Möllmann <[email-masked]>
>> Date: Tue, 22 Apr 2025 05:48:14 +0200
>> 
>> But honestly, what the heck? Does someone know what this diffing is
>> about in the first place?
>
> It's about leaving the unchanged portions of text intact, including
> their properties, overlays, markers, etc.  I believe the doc string
> says that much.

What I meant is why perform an O(ND) diff for that purpose. That's not
at all obvious. (And it would be nice if the doc string talked about
that O(ND) a bit to warn users.)