From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79147 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: Re: scanning for new mail with demon-handler Date: Sun, 19 Jun 2011 20:08:07 +0200 Organization: my virtual residence Message-ID: <8739j5n188.fsf@yun.yagibdah.de> References: <874o3o760s.fsf@yun.yagibdah.de> <87d3icxuce.fsf@topper.koldfront.dk> <87r56ss2hp.fsf@yun.yagibdah.de> <877h8k9sg9.fsf@topper.koldfront.dk> <87aadgkxi3.fsf@yun.yagibdah.de> <87oc1tlqa1.fsf@nzebook.haselwarter.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1308506930 12545 80.91.229.12 (19 Jun 2011 18:08:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2011 18:08:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27446@lists.math.uh.edu Sun Jun 19 20:08:45 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 1QYMQO-0003s3-Kf for ding-account@gmane.org; Sun, 19 Jun 2011 20:08:44 +0200 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 1QYMPv-0007oF-Lt; Sun, 19 Jun 2011 13:08:15 -0500 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 1QYMPs-0007ny-P6 for ding@lists.math.uh.edu; Sun, 19 Jun 2011 13:08:12 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1QYMPr-0002ki-LS for ding@lists.math.uh.edu; Sun, 19 Jun 2011 13:08:12 -0500 Original-Received: from static.73.179.46.78.clients.your-server.de ([78.46.179.73]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QYMPp-0005TV-AG for ding@gnus.org; Sun, 19 Jun 2011 20:08:09 +0200 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.76) (envelope-from ) id 1QYMPn-0004iQ-MM for ding@gnus.org; Sun, 19 Jun 2011 20:08:07 +0200 Mail-Followup-To: ding@gnus.org In-Reply-To: <87oc1tlqa1.fsf@nzebook.haselwarter.org> (Philipp Haselwarter's message of "Sun, 19 Jun 2011 18:49:58 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1675--6609h-0s--0d--H*UA:Emacs, 0.000-1512--5966h-0s--0d--H*u:Emacs, 0.000-1406--5544h-0s--0d--H*UA:Gnus, 0.000-1405--5543h-0s--0d--H*u:Gnus, 0.000-1351--5328h-0s--0d--H*u:linux Spam tokens: 0.965-5392--1318h-51319s--0d--H*r:quimby.gnus.org, 0.910-178--209h-2957s--0d--H*r:sk:static., 0.903-2782--3960h-51561s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.903-2782--3960h-51561s--0d--H*RU:quimby.gnus.org, 0.903-2497--3569h-46392s--0d--H*Ad:D*gnus.org Autolearn status: no -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79147 Archived-At: Philipp Haselwarter writes: > On 2011-06-17 20:34 UT, lee wrote: > > l> asjo@koldfront.dk (Adam Sj=C3=B8gren) writes: > >>> On Fri, 17 Jun 2011 21:05:06 +0200, lee wrote: >>>=20 >>>> Yes, it does more, that=C2=B4s why I like gnus-demon-scan-mail :) >>>> Gnus-demon-scan-news also scans for new news, creating unneccessary >>>> network traffic and load on the news servers. >>>=20 >>> If you put your mail groups on a different level than your >>> newsgroups, maybe you can use a customized version of >>> gnus-demon-scan-news to do what you want. > > l> Hm, I=C2=B4ve read a post saying that you could set newsgroups to a hi= gher > l> level for them not to be included when checking for new messages. > > I'd suggest something like > > Modified lisp/gnus-demon.el > diff --git a/lisp/gnus-demon.el b/lisp/gnus-demon.el > > For example, I keep local mail on level 1, external mail on 3, nntp on 4 > and nnrss on level 5 and fetch them accordingly: > > #+begin_src emacs-lisp > (gnus-demon-add-handler 'gnus-demon-scan-news-1 121 10) > (gnus-demon-add-handler 'gnus-demon-scan-news-3 240 10) > (gnus-demon-add-handler 'gnus-demon-scan-news-4 601 10) > (gnus-demon-add-handler 'gnus-demon-scan-news-5 7201 10) > #+end_src That=C2=B4s a good idea :) Any chance of this becoming the default? BTW, since you=C2=B4re setting timestamps, did you get nndiary to work? I managed to get an "nndiary:diary" group in the group view after manually creating the group (The documentation should point out that you need to create the group manually ...), yet nndiary does nothing. It doesn=C2=B4t receive new mail from its source, and when I move messages manually into the diary group, nothing happens either.