[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: undo-auto--undoable-change infloop
From: |
Michael Heerdegen |
Subject: |
Re: undo-auto--undoable-change infloop |
Date: |
Sat, 30 Jul 2022 06:14:59 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> I once used an variable watcher on timer-list and saw that it contained
> hundreds or thousands of instances of my timer. But these were not
> different instances, I only ever create one timer when stating logging.
> Ant the value list looked like (#1=[ilog-timer] #1# #1# ...very very
> many #1#s and a few different timers).
BTW, all these copies appear out of nothing: the variable watcher saw
very few timers, and then suddenly that many the next time the
WATCH-FUNCTION was called. If they would have been added explicitly
from Lisp, I would see intermediate steps AFAIU.
I collected a backtrace from the moment of time when the variable
watcher fired (via WATCH-FUNCTION). It was totally unrelated and I'm
quite sure that it isn't related.
> Now I'm trying to protect the timer using a flag with the purpose to
> prevent the timer function to do anything when the timer function is
> currently called.
>
> But does that even make sense
After thinking about it, I think it doesn't make sense, and it also
doesn't work.
Michael.
- No, not solved (was: undo-auto--undoable-change infloop), (continued)
- Re: No, not solved (was: undo-auto--undoable-change infloop), Eli Zaretskii, 2022/07/29
- Re: undo-auto--undoable-change infloop, Eli Zaretskii, 2022/07/27
- Re: undo-auto--undoable-change infloop, Michael Heerdegen, 2022/07/27
- Re: undo-auto--undoable-change infloop, Eli Zaretskii, 2022/07/27
- Re: undo-auto--undoable-change infloop, Michael Heerdegen, 2022/07/27
- Re: undo-auto--undoable-change infloop, Stefan Monnier, 2022/07/29
- Re: undo-auto--undoable-change infloop, Michael Heerdegen, 2022/07/29
- Re: undo-auto--undoable-change infloop,
Michael Heerdegen <=
- Re: undo-auto--undoable-change infloop, Eli Zaretskii, 2022/07/30
- Re: undo-auto--undoable-change infloop, Stefan Monnier, 2022/07/30
- Re: undo-auto--undoable-change infloop, Michael Heerdegen, 2022/07/31