unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: 46908@debbugs.gnu.org, Yuan Fu <casouri@gmail.com>
Subject: bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list
Date: Fri, 5 Mar 2021 10:11:34 +0100	[thread overview]
Message-ID: <be75a40f-4b01-b937-f867-d3bf100897d7@gmx.at> (raw)
In-Reply-To: <87sg5asr6k.fsf@web.de>

 >> When I read the discussion on emacs-help I tried with `buffer-undo-list'
 >> nil and doing some window modifications but didn't find a smoking gun.
 >
 > AFAIK window modifications are not necessary to reproduce the issue,
 > probably they are completely unrelated.

Maybe.  But I don't know of any packages that are much interested in
reading or manipulating `window-point'.  So if `window-point' is
involved in at least one scenario that reproduces the problem, it might
help to trace that occurrence back to its origins.

 > Did you try to reproduce the issue with the recipe?  It is complete.

I did not because I just believe you that your recipe is valid.  The
problem is that you have to trace back those marker entries back to
where they have been created in such abundance.  And I have no idea
how to do that.

 > Sorry for the confusion:

You did not confuse me.

 > We did not turn winner-mode on in the recipe,
 > please just ignore that part of the discussion, that was a false lead.

If turning on `winner-mode' _can_ create many `window-point' marker
entries, it's not necessarily a false lead.  It might help to locate the
real culprit with one important restriction: You'd have to look into
clients that either deal with `window-point' directly or call something
that does deal with `window-point' only.

 > You just need insert and undo to reproduce.  Please try.  emacs -Q, just
 > editing commands plus undo produce the zombi markers.

I tried it now.  The only thing I can say is that with Emacs 27 it
usually returns 0 or 1 here while with master it returns 10.  So maybe
you should try (after verifying what I found out) to trace the recent
changes in master.

martin





  reply	other threads:[~2021-03-05  9:11 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-03 22:45 bug#46908: 28.0.50; Dozens of spurious markers in buffer-undo-list Michael Heerdegen
2021-03-04  8:35 ` martin rudalics
2021-03-04 16:40   ` Michael Heerdegen
2021-03-04 17:20     ` martin rudalics
2021-03-04 18:35       ` Michael Heerdegen
2021-03-05  9:11         ` martin rudalics [this message]
2021-03-05  9:50           ` martin rudalics
2021-03-06  0:51             ` Michael Heerdegen
2021-03-06  7:48               ` Eli Zaretskii
2021-03-07  2:45                 ` Michael Heerdegen
2021-03-06  8:40               ` martin rudalics
2021-03-07  2:40                 ` Michael Heerdegen
2021-03-08  4:00               ` Michael Heerdegen
2021-03-08  8:26                 ` martin rudalics
2021-03-09  2:04                   ` Michael Heerdegen
2021-03-09  2:20                     ` Michael Heerdegen
2022-06-20  0:04                       ` Lars Ingebrigtsen
2022-06-20 13:56                         ` Michael Heerdegen
2021-03-09  8:10                     ` martin rudalics
2021-03-10  2:17                       ` Michael Heerdegen
2021-03-10  5:49                     ` Richard Stallman
2021-03-09  6:19                 ` Richard Stallman
2021-03-10  2:22                   ` Michael Heerdegen

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=be75a40f-4b01-b937-f867-d3bf100897d7@gmx.at \
    --to=rudalics@gmx.at \
    --cc=46908@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).