unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: A ton of marker entry in buffer-und-list
Date: Tue, 2 Mar 2021 15:29:25 -0500	[thread overview]
Message-ID: <25A759E1-0A1C-4844-A481-CF46C87325FA@gmail.com> (raw)
In-Reply-To: <87lfb6zcaq.fsf@web.de>



> 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


  reply	other threads:[~2021-03-02 20:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-26  4:32 A ton of marker entry in buffer-und-list Yuan Fu
2021-02-26  7:39 ` Eli Zaretskii
2021-02-26 13:20   ` Yuan Fu
2021-02-26 13:32     ` Eli Zaretskii
2021-02-26 17:48       ` Yuan Fu
2021-02-26 21:48         ` Michael Heerdegen
2021-02-27  7:08           ` Eli Zaretskii
2021-02-28  2:38             ` Michael Heerdegen
2021-02-28  4:20               ` Yuan Fu
2021-03-01  0:21                 ` Michael Heerdegen
2021-03-01 17:54                   ` Yuan Fu
2021-03-01 18:13                     ` Stefan Monnier
2021-03-01 23:25                     ` Michael Heerdegen
2021-03-02 20:29                       ` Yuan Fu [this message]
2021-03-03  3:40                         ` Michael Heerdegen
2021-03-03  3:53                           ` Michael Heerdegen
2021-03-03 16:04                             ` Yuan Fu
2021-03-03 22:52                               ` Michael Heerdegen
2021-02-26 15:49     ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25A759E1-0A1C-4844-A481-CF46C87325FA@gmail.com \
    --to=casouri@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=michael_heerdegen@web.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).