GNU bug report logs - #52798
27.2; `undo' causes `buffer-undo-list' to grow exponentially

Previous Next

Package: emacs;

Reported by: Vladimir Panteleev <vladimir.panteleev.md <at> gmail.com>

Date: Sun, 26 Dec 2021 01:31:02 UTC

Severity: normal

Tags: confirmed

Found in version 27.2

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: Vladimir Panteleev <vladimir.panteleev.md <at> gmail.com>, 52798 <at> debbugs.gnu.org
Subject: Re: bug#52798: 27.2; `undo' causes `buffer-undo-list' to grow
 exponentially
Date: Mon, 21 Feb 2022 18:07:35 -0500
Lars Ingebrigtsen [2021-12-29 17:29:26] wrote:
> Vladimir Panteleev <vladimir.panteleev.md <at> gmail.com> writes:
>> As far as I can see, the undo (and undo-only) command causes
>> buffer-undo-list to grow exponentially. This causes information about
>> previous entries to eventually be displaced.
> I can reproduce this in Emacs 29, too.

Yes, it's a known problem (tho it should be much less of a problem with
`undo-only`, IIRC).

> Perhaps Stefan has some comments; added to the CCs.

I'm sure we can do better.  The info about which parts can be skipped
should be available in `undo-equiv-table` but someone needs to sit down
and think about how and when we can use it.


        Stefan





This bug report was last modified 3 years and 119 days ago.

Previous Next


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