From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75592 Path: news.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-demon question Date: Tue, 04 Jan 2011 14:13:38 +0100 Organization: not if I can help it Message-ID: References: <87sjxqe23b.fsf@noorul.maa.corp.collab.net> <87k4ilyzv7.fsf@noorul.maa.corp.collab.net> <877hekj42b.fsf@topper.koldfront.dk> <87k4ikrhz9.fsf@noorul.maa.corp.collab.net> <8739p8j08q.fsf@topper.koldfront.dk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1294146865 27487 80.91.229.12 (4 Jan 2011 13:14:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 4 Jan 2011 13:14:25 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23943@lists.math.uh.edu Tue Jan 04 14:14:21 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 1Pa6iS-00043i-0p for ding-account@gmane.org; Tue, 04 Jan 2011 14:14:20 +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 1Pa6i7-0002lM-Of; Tue, 04 Jan 2011 07:13:59 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Pa6i6-0002lB-64 for ding@lists.math.uh.edu; Tue, 04 Jan 2011 07:13:58 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Pa6i4-0008HW-VN for ding@lists.math.uh.edu; Tue, 04 Jan 2011 07:13:57 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Pa6i4-0004zY-90 for ding@gnus.org; Tue, 04 Jan 2011 14:13:56 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pa6i3-0003pK-Qj for ding@gnus.org; Tue, 04 Jan 2011 14:13:55 +0100 Original-Received: from lns-bzn-49f-81-56-191-143.adsl.proxad.net ([81.56.191.143]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Jan 2011 14:13:55 +0100 Original-Received: from rpluim by lns-bzn-49f-81-56-191-143.adsl.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Jan 2011 14:13:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lns-bzn-49f-81-56-191-143.adsl.proxad.net Mail-Copies-To: never User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.5-b29 (cygwin32) Cancel-Lock: sha1:og3Slu2Y8ly+J3l0PVDwJbVeSuQ= X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75592 Archived-At: asjo@koldfront.dk (Adam Sjøgren) writes: > On Tue, 04 Jan 2011 17:36:18 +0530, Noorul Islam wrote: > >>> ; Daemon to fetch email every 5 minutes when Emacs has been idle for 5 minutes: >>> (gnus-demon-add-handler 'gnus-demon-scan-mail 5 5) >>> (gnus-demon-init) > >>> Works like a charm (note that I don't think this updates the *Group* >>> buffer; I am not 100% sure though). > >> Then how do you know that new mails arrived? > > I go 'g'. > > (And I realize that probably isn't what you want; my setup isn't that > vanilla - among other things I forward emails to my phone when email is > fetched by the demon, but not when fetched by (my) hand.) > > Hopefully someone else can either tell us that I am wrong about the > *Group* or tell us how to have it update :-) I do: (gnus-demon-add-handler 'gnus-group-get-new-news 5 3) which updates the *Group* buffer fine (plus I don't bother with gnus-demon-init) Robert