Gnus development mailing list
 help / color / mirror / Atom feed
* HH:MM time spec for gnus-demon-add-handler
@ 2011-11-05  9:56 Gábor Vida
  2012-01-03 23:05 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Gábor Vida @ 2011-11-05  9:56 UTC (permalink / raw)
  To: ding

Hi!

I tried to use

  (gnus-demon-add-handler 'gnus-demon-scan-news "11:20" 5)

According to the manual, it is possible to specify the time as HH:MM:

  And if TIME is a string, it should look like `07:31', and the function
  will then be called once every day somewhere near that time.  Modified
  by the IDLE parameter, of course.

But I get the following:

  Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p "11:20")
    gnus-demon-init()
    gnus-demon-remove-handler(gnus-demon-scan-news)
    gnus-demon-add-handler(gnus-demon-scan-news "11:20" 5)
    eval((gnus-demon-add-handler (quote gnus-demon-scan-news) "11:20" 5))
    eval-last-sexp-1(nil)
    eval-last-sexp(nil)
    call-interactively(eval-last-sexp nil nil)

And it seems that the code has been modified so that this possibility is
removed.

I use the latest git version of Gnus.

-- 
Best regards,
Gábor




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

end of thread, other threads:[~2012-01-27 17:45 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-05  9:56 HH:MM time spec for gnus-demon-add-handler Gábor Vida
2012-01-03 23:05 ` Lars Magne Ingebrigtsen
2012-01-24  6:35   ` Vida Gábor
2012-01-26  8:33     ` Vida Gábor
2012-01-27 17:45       ` Lars Ingebrigtsen

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).