From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/58034 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.gnus.general Subject: Re: request for simple handler or batch job to get mail/news Date: Thu, 01 Jul 2004 07:31:48 -0500 Organization: Still searching... Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088685181 7754 80.91.224.253 (1 Jul 2004 12:33:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Jul 2004 12:33:01 +0000 (UTC) Original-X-From: ding-owner+M6575@lists.math.uh.edu Thu Jul 01 14:32:52 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bg0kF-0005qO-00 for ; Thu, 01 Jul 2004 14:32:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Bg0jV-0003YD-00; Thu, 01 Jul 2004 07:32:05 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Bg0jN-0003Y5-00 for ding@lists.math.uh.edu; Thu, 01 Jul 2004 07:31:57 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Bg0jM-0001jM-Kr for ding@lists.math.uh.edu; Thu, 01 Jul 2004 07:31:56 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id A786E3A004B for ; Thu, 1 Jul 2004 07:31:54 -0500 (CDT) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1Bg0jJ-00064e-00 for ; Thu, 01 Jul 2004 14:31:53 +0200 Original-Received: from adsl-68-74-119-36.dsl.emhril.ameritech.net ([68.74.119.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Jul 2004 14:31:53 +0200 Original-Received: from reader by adsl-68-74-119-36.dsl.emhril.ameritech.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Jul 2004 14:31:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 33 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: adsl-68-74-119-36.dsl.emhril.ameritech.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:r3KFPnx5tjcfmnYhuxgpe8xppeM= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:58034 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:58034 Maciej Matysiak writes: > [Quoted text removed due to X-No-Archive] I've added this modified version to a file gnus reads on startup: (setq gnus-use-demon t) (gnus-demon-init) (gnus-demon-add-rescan) (defun gnus-demon-scan-mail () (when (and (gnus-alive-p) mail-here) (save-excursion (set-buffer gnus-group-buffer) (gnus-group-get-new-news 3)))) (gnus-demon-add-handler 'gnus-demon-scan-mail 7 1) Then left gnus alone for over 25 minutes.... During that 25 minutes I mailed myself several messages from the command line. I see them appear in the spool directory where gnus gets its mail. However none are pulled into gnus. After reading the section on `handlers' I'm thinking the above code should pull in mail every 7 minutes if gnus has been idle for 1 minute. How can I debug this... I see no evidence that anything has happened at all. Nothing appears in *Messages* buffer. Loading the code directly from here seems to have no effect either.