GNU bug report logs - #74276
30.0.90; undo does not account for overlays now that markers are not used

Previous Next

Package: emacs;

Reported by: James Thomas <jimjoe <at> gmx.net>

Date: Sat, 9 Nov 2024 06:43:02 UTC

Severity: normal

Found in version 30.0.90

Full log


Message #14 received at 74276 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: karthikchikmagalur <at> gmail.com, 74276 <at> debbugs.gnu.org, jimjoe <at> gmx.net
Subject: Re: bug#74276: 30.0.90; undo does not account for overlays now that
 markers are not used
Date: Sat, 09 Nov 2024 17:50:15 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: James Thomas <jimjoe <at> gmx.net>,  74276 <at> debbugs.gnu.org,
>   karthikchikmagalur <at> gmail.com
> 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.




This bug report was last modified 212 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.