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

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

bug#52235: 29.0.50; Suggestion: refactor time.el into a more general 'cl


From: Eli Zaretskii
Subject: bug#52235: 29.0.50; Suggestion: refactor time.el into a more general 'clock' framework
Date: Thu, 02 Dec 2021 09:26:21 +0200

> From: Arthur Miller <arthur.miller@live.com>
> Date: Thu, 02 Dec 2021 00:08:37 +0100
> 
> My idea to per-use it is to simply run 'update-hooks' on clock beat, so any
> application can register a hook that will be called on a "clock beat". While 
> it
> is maybe not so super-synchronized with system clock, it still gives 
> impression
> of clocks in Emacs be synchronized.

Isn't that what timers are for?  Why can't you use run-with-timer for
what you want to do?





reply via email to

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