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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Alan Mackenzie <acm <at> muc.de>
Cc: pipcet <at> protonmail.com, gerd.moellmann <at> gmail.com, oscarfv <at> eclipso.eu,
 monnier <at> iro.umontreal.ca, acm <at> muc.de, 79200 <at> debbugs.gnu.org
Subject: Re: bug#79200: 31.0.50;
 Duplicated elements for '#<marker at' in buffer-undo-list
Date: Mon, 11 Aug 2025 19:20:43 +0300
> Cc: Gerd Möllmann <gerd.moellmann <at> gmail.com>,
>  Óscar Fuentes <oscarfv <at> eclipso.eu>, acm <at> muc.de,
>  Stefan Monnier <monnier <at> iro.umontreal.ca>, 79200 <at> debbugs.gnu.org
> Date: Mon, 11 Aug 2025 15:48:13 +0000
> From: Alan Mackenzie <acm <at> muc.de>
> 
> Fread_from_minibuffer just calls read_minibuf.  By perusing the source,
> it seems that two of the three repeating markers are created in
> save_window_save, called from Fcurrent_window_configuration (which is
> called from read_minibuf).
> 
> With a bit of refactoring, we could arrange for (at least) two of these
> three regularly created markers to be nullified.  This would be tedious
> rather than difficult.

Why aren't they collected by GC?




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.