GNU bug report logs -
#5823
run-at-time and Setting system time
Previous Next
Reported by: david <at> adboyd.com (J. David Boyd)
Date: Fri, 2 Apr 2010 18:49:04 UTC
Severity: normal
Tags: notabug
Merged with 5822
Done: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 5823 in the body.
You can then email your comments to 5823 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#5823
; Package
emacs
.
(Fri, 02 Apr 2010 18:49:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
david <at> adboyd.com (J. David Boyd)
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Fri, 02 Apr 2010 18:49:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
chandan <chandan.babu <at> globaledgesoft.com> writes:
> 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
It sounds like a good thing to me.
Say the time is 13:00, and you do what you said. You told the machine
to give an invocation at 13:01.
If you move the clock ahead, the code _should_ run, as it is now past
13:01.
Dave
Merged 5822 5823.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Sat, 03 Apr 2010 19:25:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#5823
; Package
emacs
.
(Sun, 18 Sep 2011 20:12:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 5823 <at> debbugs.gnu.org (full text, mbox):
david <at> adboyd.com (J. David Boyd) writes:
>> (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
>
> It sounds like a good thing to me.
>
> Say the time is 13:00, and you do what you said. You told the machine
> to give an invocation at 13:01.
>
> If you move the clock ahead, the code _should_ run, as it is now past
> 13:01.
Yes, I don't think this is a bug, so I'm closing this report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
Added tag(s) notabug.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 18 Sep 2011 20:12:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
5823 <at> debbugs.gnu.org and david <at> adboyd.com (J. David Boyd)
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Sun, 18 Sep 2011 20:12:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 17 Oct 2011 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 254 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.