bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list


From: martin rudalics
Subject: bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list
Date: Sat, 6 Mar 2021 09:40:20 +0100

> My observation: if I set undo-buffer-list to nil after reproducing the
> issue, `count-markers-in-buffer-undo-list' reports "0" afterwards.

What else did you expect?  Or did you mean in all subsequent runs of
your scenario?

> So I
> wonder whether what we see is maybe normal business and an unfortunate
> side effect of undo recording marker positions and gc running not often
> enough to prevent these accidents?

I'm not sure what you mean.  Here, when trying your scenario, I do set
`buffer-undo-list' to nil first, so the initial insertion is not
recorded and run `count-markers-in-buffer-undo-list' from a globally set
key so the minibuffer is not involved.  And meanwhile I cannot reproduce
your scenario with Emacs 28 either, I get zero invariably.

martin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]