Kyle Jones writes:
Jan Vroonhof writes:
> Pete Forman <gsez020(a)kryten.bedford.waii.com> writes:
>
> > This code should post a message after a delay of 10 seconds.
> > Only the third method (sleep-for) works. The first two
> > execute the message function immediately, or very quickly.
> >
> > (run-at-time 10 nil 'message "pwf run-at-time")
> > ("itimer-0" 9.999781 nil message nil t ("pwf run-at-time")
(0 0 0))
>
> The problem seems to be that only the first time out isn't
> working...
I assume this is using the timer.el compatbility package. What
version of XEmacs was used and how was it compiled?
I posted a fuller report to news:comp.emacs.xemacs only, Jan copied
his reply to the xemacs-beta list. I am not subscribed to that.
In my original post:
If I provide a REPEAT argument to run-at-time, it still executes
the function immediately but thereafter repeats at the proper
interval.
The version is 21.1 (patch 7) "Biscayne" XEmacs Lucid running on
AIX 4.3.2. I see the same problem with 20.3 plus
fsf-compat/timer.el on Solaris 2.6 and on IRIX 6.5. The above code
works on Emacs 19.34.
I posted there as it was not obvious whether timer.el or itimer.el was
at fault.
--
Pete Forman
Western Geophysical
pete.forman(a)westgeo.com