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

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

bug#5822: run-at-time and Setting system time


From: Eli Zaretskii
Subject: bug#5822: run-at-time and Setting system time
Date: Fri, 02 Apr 2010 20:40:26 +0300

> Date: Fri, 02 Apr 2010 12:29:42 +0530
> From: chandan <address@hidden>
> Cc: 
> 
> (defun mwnn-timer-callback ()
>   (message "Hi, inside mwnn-timer-callback"))
> 
> (run-at-time "60" nil 'mwnn-timer-callback)
> 
> The above code is supposed to cause mwnn-timer-callback to get invoked 
> after 60 seconds. But if the system time is changed to a future date 
> (say 20 seconds after the timer is started) the timer fires immediately.
> 
> Is this is a bug in the emacs code. If yes, can this be rectified?

I think this how the timers are supposed to behave.  They are not
interval timers, if that's what you expected.






reply via email to

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