[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: undo-auto--undoable-change infloop

From: Eli Zaretskii
Subject: Re: undo-auto--undoable-change infloop
Date: Tue, 26 Jul 2022 15:04:02 +0300

> From: Michael Heerdegen <michael_heerdegen@web.de>
> Date: Tue, 26 Jul 2022 05:54:42 +0200
> does somebody have a guess what is happening here?  After automatically
> replacing thousands of matches in a buffer with my el-search, I got a
> sluggish Emacs afterwards, after a short pause.  Emacs consumed 100% of
> one CPU.  It took me hours to find something, and it seems to be
> unrelated to my own code: `undo-auto--undoable-change'.  It seems to
> recurse very deep, or to be called extremely often.  I managed to
> produce a backtrace, see below.  How is that recursion even possible -
> what could be going on?

I don't know what happened, but undo-auto--boundary-timer is invoked
10 sec after the timer is set.  Perhaps this kind of problem can
happen when there are many undoable changes, and processing them takes
more than 10 sec?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]