[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: |
Wed, 10 Mar 2021 03:17:49 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
martin rudalics <rudalics@gmx.at> writes:
> Suppose I put a marker into a buffer and do ten distinct modifications
> of the buffer, each modifying that marker's position. So I get ten
> additional entries in the undo list. Does this mean I get ten copies
> of that marker too?
As far as I understand - of course not! When undo needs to restore
previous positions of that marker, it only can do that when the entries
in buffer-undo-list refer to the original marker.
`push-mark' does copy the mark marker, OTOH, it must, because a mark
ring containing the mark marker 16 times would be nonsense.
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, 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, 2021/03/08
- 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 <=
- 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