[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A ton of marker entry in buffer-und-list
From: |
Yuan Fu |
Subject: |
Re: A ton of marker entry in buffer-und-list |
Date: |
Tue, 2 Mar 2021 15:29:25 -0500 |
> On Mar 1, 2021, at 6:25 PM, Michael Heerdegen <michael_heerdegen@web.de>
> wrote:
>
> Yuan Fu <casouri@gmail.com> writes:
>
>> Using the same recipe, I got 18, the number of marker entries in each
>> undo step.
>
> Since only you can reproduce something pathological, could you please
> create the bug report? Makes no sense if I do it and get questions
> about the recipe that only you can answer.
Of course, I’ll report it as a bug once we conclude it is one.
>
>> Also, even if the answer is 1, it is not ok because that shortens the
>> number of undo a buffer can record by a factor of n (e.g., 18 in my
>> case).
>
> If there are markers, undo probably needs to handle them. Is the effect
> really that drastic? Aren't markers only put into buffer-undo-list when
> undoing, but not for all other editing operations?
>
> Anyway, an important question is why you see 18 different markers in
> your buffer.
Indeed, this shouldn’t be a big problem unless one hold on C-/, which is
uncommon in normal editing. I don’t know why I have 18 markers. I just tried
again and got 15. Are you using Emacs master?
Yuan