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

From: Eli Zaretskii <[email-masked]>
Date: Tue, 22 Apr 2025 18:31:08 +0300

> From: Stefan Monnier <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Tue, 22 Apr 2025 11:20:44 -0400
> 
> >> >> MAX-SECS isn't working as expected said Stef elsewhere.
> >> > If you set it to zero, it must work as expected.  If it doesn't, it's
> >> > a bug.
> >> He does want to trigger the diff code, tho.
> > Why is that?
> 
> Because it's the diff code which does loads of conversions from charpos
> to bytepos.

But then waiting for a long time is actually what the doctor
prescribed, as it collects a lot of statistics, no?