* Daemons on XEmacs 21.5 don't fly
@ 2011-02-23 20:14 Norbert Koch
2011-02-25 3:23 ` Lars Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Norbert Koch @ 2011-02-23 20:14 UTC (permalink / raw)
To: ding
Hi!
- XEmacs 21.5 (beta29) "garbanzo" 22c4e67a2e69
- No Gnus v0.14
I get the following error when I try to add daemons to my gnus setup:
Debugger entered--Lisp error: (wrong-type-argument natnump t)
signal(wrong-type-argument (natnump t))
start-itimer("run-with-timer" gnus-demon-run-callback t 300 nil t gnus-demon-scan-news)
apply(start-itimer "run-with-timer" gnus-demon-run-callback t 300 nil t gnus-demon-scan-news)
run-with-timer(t 300 gnus-demon-run-callback gnus-demon-scan-news)
byte-code("..." [gnus-demon-timestep G16214 handler func idle time nil 2 t run-with-timer gnus-demon-run-callback run-with-idle-timer add-to-list gnus-demon-timers timer gnus-demon-handlers] 7)
gnus-demon-init()
gnus-demon-add-handler(gnus-demon-scan-news 5 nil)
Have I missed something?
Thanks,
norbert.
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Daemons on XEmacs 21.5 don't fly
2011-02-23 20:14 Daemons on XEmacs 21.5 don't fly Norbert Koch
@ 2011-02-25 3:23 ` Lars Ingebrigtsen
2011-02-25 8:44 ` Norbert Koch
2011-02-25 9:49 ` Julien Danjou
0 siblings, 2 replies; 4+ messages in thread
From: Lars Ingebrigtsen @ 2011-02-25 3:23 UTC (permalink / raw)
To: ding
Norbert Koch <viteno@xemacs.org> writes:
> run-with-timer(t 300 gnus-demon-run-callback gnus-demon-scan-news)
I'm not quite sure why t as the time parameter would work on Emacs,
either, but I may have fixed this now.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Daemons on XEmacs 21.5 don't fly
2011-02-25 3:23 ` Lars Ingebrigtsen
@ 2011-02-25 8:44 ` Norbert Koch
2011-02-25 9:49 ` Julien Danjou
1 sibling, 0 replies; 4+ messages in thread
From: Norbert Koch @ 2011-02-25 8:44 UTC (permalink / raw)
To: ding
* Lars Ingebrigtsen <larsi@gnus.org>:
> I'm not quite sure why t as the time parameter would work on Emacs,
> either, but I may have fixed this now.
Yes, this works again.
Thanks a lot!
norbert.
--
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Daemons on XEmacs 21.5 don't fly
2011-02-25 3:23 ` Lars Ingebrigtsen
2011-02-25 8:44 ` Norbert Koch
@ 2011-02-25 9:49 ` Julien Danjou
1 sibling, 0 replies; 4+ messages in thread
From: Julien Danjou @ 2011-02-25 9:49 UTC (permalink / raw)
To: ding
[-- Attachment #1: Type: text/plain, Size: 596 bytes --]
On Fri, Feb 25 2011, Lars Ingebrigtsen wrote:
> I'm not quite sure why t as the time parameter would work on Emacs,
> either, but I may have fixed this now.
(defun run-with-timer (secs repeat function &rest args)
[...]
(apply 'run-at-time secs repeat function args))
(run-at-time TIME REPEAT FUNCTION &rest ARGS)
Perform an action at time TIME.
Repeat the action every REPEAT seconds, if REPEAT is non-nil.
TIME should be one of: [...] t (with non-nil
REPEAT) meaning the next integral multiple of REPEAT. [...]
--
Julien Danjou
❱ http://julien.danjou.info
[-- Attachment #2: Type: application/pgp-signature, Size: 835 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-02-25 9:49 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-23 20:14 Daemons on XEmacs 21.5 don't fly Norbert Koch
2011-02-25 3:23 ` Lars Ingebrigtsen
2011-02-25 8:44 ` Norbert Koch
2011-02-25 9:49 ` Julien Danjou
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 NNTP newsgroup(s).