unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* run-at-time and Setting system time
@ 2010-04-02  6:59 chandan
  2010-04-02 17:36 ` J. David Boyd
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: chandan @ 2010-04-02  6:59 UTC (permalink / raw)
  To: help-gnu-emacs, bug-gnu-emacs

Hi,
    Consider the following code:

(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?

Regards,
mwnn




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-02 18:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-02  6:59 run-at-time and Setting system time chandan
2010-04-02 17:36 ` J. David Boyd
2010-04-02 17:40 ` bug#5822: " Eli Zaretskii
2009-04-05  3:44   ` chandan
2010-04-02 18:55 ` Glenn Morris

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).