GNU bug report logs - #79200
31.0.50; Duplicated elements for '#<marker at' in buffer-undo-list

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <oscarfv <at> eclipso.eu>

Date: Fri, 8 Aug 2025 16:45:03 UTC

Severity: normal

Found in version 31.0.50

Full log


View this message in rfc822 format

From: Óscar Fuentes <oscarfv <at> eclipso.eu>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 79200 <at> debbugs.gnu.org
Subject: bug#79200: 31.0.50; Duplicated elements for '#<marker at' in buffer-undo-list
Date: Thu, 14 Aug 2025 16:14:22 +0200
Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> Taking a step back:
>
> We may want to rethink whether storing that undo information is worth
> the trouble at all.  It's hard to know for sure, but we do have one data
> point: in Emacs-28, overlays' end-points used those marker-offset undo
> elements to better preserve overlays' end-points across undo, whereas
> this was lost with emacs-29's new overlays.
>
> AFAIK nobody noticed/complained.

Here I'm working with an idle timer that simply removes those marker
elements every few seconds. Five days of intensive use and Emacs behaves
normally from my POV. Maybe my usage is too restrictive, dunno (I never
use undo-in-region, for instance.)

OTOH, Emacs is using much less memory than usual (rigth now at 1.1 GB
when 2.5 was normal.)





This bug report was last modified 1 day ago.

Previous Next


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