From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80525 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?G=C3=A1bor_Vida?= Newsgroups: gmane.emacs.gnus.general Subject: HH:MM time spec for gnus-demon-add-handler Date: Sat, 05 Nov 2011 10:56:40 +0100 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1320508177 6407 80.91.229.12 (5 Nov 2011 15:49:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Nov 2011 15:49:37 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28808@lists.math.uh.edu Sat Nov 05 16:49:33 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RMiUr-0003gc-KN for ding-account@gmane.org; Sat, 05 Nov 2011 16:49:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RMiUC-0000ks-3H; Sat, 05 Nov 2011 10:48:48 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RMd2m-0007Ml-GJ for ding@lists.math.uh.edu; Sat, 05 Nov 2011 05:00:08 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RMd2l-0006vV-KZ for ding@lists.math.uh.edu; Sat, 05 Nov 2011 05:00:08 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RMd2j-0006YN-Jw for ding@gnus.org; Sat, 05 Nov 2011 11:00:05 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RMd2j-0000Mw-GA for ding@gnus.org; Sat, 05 Nov 2011 11:00:05 +0100 Original-Received: from 82-131-132-135.pool.invitel.hu ([82.131.132.135]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Nov 2011 11:00:05 +0100 Original-Received: from vidagabor by 82-131-132-135.pool.invitel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 Nov 2011 11:00:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 82-131-132-135.pool.invitel.hu User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (windows-nt) Cancel-Lock: sha1:mga01U5MovR7NdYKoHJk76+Nkb0= X-Spam-Score: -5.2 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80525 Archived-At: 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