Subject: bug#74276: 30.0.90; undo does not account for overlays now that markers are not used

From: Eli Zaretskii <[email-masked]>
Date: Sat, 09 Nov 2024 17:50:15 +0200

> From: Stefan Monnier <[email-masked]>
> Cc: James Thomas <[email-masked]>,  [email-masked],
>   [email-masked]
> Date: Sat, 09 Nov 2024 10:05:51 -0500
> 
> > Stefan, does undo restore overlays, and if so, how?
> 
> No, I don't think `undo` has ever tried to restore overlays.
> But it does attempt to restore marker positions, so I guess there can be
> cases where the switch to itree has caused overlays' boundaries to be
> restored less well than before.

Well, in this particular recipe Emacs 29 and 30 behave exactly like
Emacs 25, do at least in this case there was no regression.

But maybe we should add to undo the capability of restoring the
overlays.