[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: |
Michael Heerdegen |
Subject: |
bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list |
Date: |
Tue, 09 Mar 2021 03:04:14 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
martin rudalics <rudalics@gmx.at> writes:
> So you mean that we really have two problems here, both caused by
> `push-mark'? IIUC a marker is "thrown out of the rings" when its buffer
> gets deleted or a marker is pushed on a "full" ring. I suppose that
> "invalidating" markers in these cases should be safe.
But actually that doesn't help, markers pointing to nowhere are not
removed from buffer-undo-list by garbage-collect.
> But how comes that `add-to-history' affects `buffer-undo-list'?
`add-to-history' has no relevance here, no. There mere existence of a
marker in any buffer does, IIUC, cause it to be referenced by
buffer-undo-list sooner or later, because undoing and redoing inside
text containing a marker is not always without ambiguity regarding
marker positioning, so the undo system adds hints to buffer-undo-list
how these markers must be placed/repositioned.
Michael.
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, (continued)
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Michael Heerdegen, 2021/03/04
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, martin rudalics, 2021/03/05
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, martin rudalics, 2021/03/05
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Michael Heerdegen, 2021/03/05
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Eli Zaretskii, 2021/03/06
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Michael Heerdegen, 2021/03/06
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, martin rudalics, 2021/03/06
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Michael Heerdegen, 2021/03/06
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Michael Heerdegen, 2021/03/07
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, martin rudalics, 2021/03/08
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list,
Michael Heerdegen <=
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Michael Heerdegen, 2021/03/08
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, martin rudalics, 2021/03/09
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Michael Heerdegen, 2021/03/09
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Richard Stallman, 2021/03/10
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Richard Stallman, 2021/03/09
- bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list, Michael Heerdegen, 2021/03/09