From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75578 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-demon question Date: Tue, 04 Jan 2011 08:54:31 +0100 Message-ID: <874o9pdryg.fsf@member.fsf.org> References: <87sjxqe23b.fsf@noorul.maa.corp.collab.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294127712 4917 80.91.229.12 (4 Jan 2011 07:55:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2011 07:55:12 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23929@lists.math.uh.edu Tue Jan 04 08:55:05 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 1Pa1jR-0006w9-Qv for ding-account@gmane.org; Tue, 04 Jan 2011 08:55:02 +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 1Pa1jC-00014d-N4; Tue, 04 Jan 2011 01:54:46 -0600 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 1Pa1j4-00014O-Pf for ding@lists.math.uh.edu; Tue, 04 Jan 2011 01:54:38 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pa1j0-0007n9-2E for ding@lists.math.uh.edu; Tue, 04 Jan 2011 01:54:38 -0600 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pa1iz-0000W8-5u for ding@gnus.org; Tue, 04 Jan 2011 08:54:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id A913078014B9 for ; Tue, 4 Jan 2011 08:54:32 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09777-09 for ; Tue, 4 Jan 2011 08:54:32 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 258E97801498 for ; Tue, 4 Jan 2011 08:54:32 +0100 (CET) In-Reply-To: (Lars Magne Ingebrigtsen's message of "Tue, 04 Jan 2011 01:02:27 +0100") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75578 Archived-At: Lars Magne Ingebrigtsen writes: Hi! >> (gnus-demon-add-handler 'gnus-group-get-new-news 15 t) > > I've never used that, and I'm not sure whether that's supposed to work > or not. Anybody? I use this (first param is TIME, second is IDLE) (gnus-demon-add-handler 'gnus-demon-scan-news 15 5) The docs say ,----[ (info "(gnus)Daemons") ] | If IDLE is a number and TIME is a number, the function will be | called every TIME minutes only when Emacs has been idle for IDLE | minutes. `---- so I'd expect it to run every 15 minutes but only if emacs has been idle for 5 minutes. Nevertheless, that doesn't match my observations. It seems, that the docs are correct for the first run, but any subsequent run doesn't check if emacs has been idle. Often, I'm writing in emacs, do a 15 seconds thinking pause, and then I can see Gnus checking for new mail/news. Well, because that's so fast nowadays, it's not a big issue for me. But the docs don't seem to be correct... Bye, Tassilo -- Sent from my Emacs