Gnus development mailing list
 help / color / mirror / Atom feed
From: "Gábor Vida" <vidagabor@gmail.com>
To: ding@gnus.org
Subject: HH:MM time spec for gnus-demon-add-handler
Date: Sat, 05 Nov 2011 10:56:40 +0100	[thread overview]
Message-ID: <kod0ipmyopt3.fsf@gmail.com> (raw)

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




             reply	other threads:[~2011-11-05  9:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-05  9:56 Gábor Vida [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=kod0ipmyopt3.fsf@gmail.com \
    --to=vidagabor@gmail.com \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).