From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: A ton of marker entry in buffer-und-list
Date: Fri, 26 Feb 2021 09:39:46 +0200 [thread overview]
Message-ID: <83k0qvqnul.fsf@gnu.org> (raw)
In-Reply-To: <72F34690-3033-4CC5-8AFC-89C6158AA65D@gmail.com> (message from Yuan Fu on Thu, 25 Feb 2021 23:32:33 -0500)
> From: Yuan Fu <casouri@gmail.com>
> Date: Thu, 25 Feb 2021 23:32:33 -0500
>
> I’ve been playing around with undo recently. I used primitive-undo to undo some entries in the buffer-undo-list, and a ton of (#marker . -1) was added to the buffer-undo-list:
>
> (nil
> ("a" . 27)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
> (#<marker at 27 in a> . -1)
>
> … hundreds of this.
>
> Any idea of what is happening? What is this marker?
Doesn't the ELisp manual provide an answer to that question? It does
describe the structure and the meaning of such an element in
undo-list.
next prev parent reply other threads:[~2021-02-26 7:39 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 [this message]
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
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83k0qvqnul.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-gnu-emacs@gnu.org \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.