bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#22658: 25.1.50; `undo-auto--boundary-timer` -- is it necessary to pu


From: Lars Ingebrigtsen
Subject: bug#22658: 25.1.50; `undo-auto--boundary-timer` -- is it necessary to put this on a the `timer-list'?
Date: Thu, 08 Jul 2021 03:10:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Keith David Bershatsky <esq@lawlist.com> writes:

> I didn't see an off switch because `undo-auto--undoable-change` is
> triggered from `insdel.c` and the timer will renew itself if it is
> merely removed from the `timer-list`.  I like undo/redo, but find
> myself spinning my mental wheels to see if this can somehow be moved
> to some type of hook or simply hard-wired to something other than a
> timer.

(I'm going through old bug reports.)

I think using timers for the undo boundary is the right solution here --
Emacs will put a lot of stuff on the timer list, like
`blink-cursor-start' etc.  If this makes certain debugging difficult,
I'd suggest advising run-at-time to ignore the problematic timers or
something along those lines.

But Emacs is doing the right thing here, I think, so I'm closing this
bug report.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

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