From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14423 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus and new mail notification Date: Mon, 27 Dec 2010 19:11:51 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293475218 25986 80.91.229.12 (27 Dec 2010 18:40:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Dec 2010 18:40:18 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Dec 27 19:40:13 2010 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PXHzO-0002kM-70 for gegu-info-gnus-english@m.gmane.org; Mon, 27 Dec 2010 19:40:10 +0100 Original-Received: from localhost ([127.0.0.1]:51642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PXHzN-00062j-Gx for gegu-info-gnus-english@m.gmane.org; Mon, 27 Dec 2010 13:40:09 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 73 Original-NNTP-Posting-Host: 85.183.18.158 Original-X-Trace: quimby.gnus.org 1293473512 14789 85.183.18.158 (27 Dec 2010 18:11:52 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 27 Dec 2010 18:11:52 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.gnus:85151 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:14423 Archived-At: Thierry Volpiatto writes: > Richard Riley writes: > >> Thierry Volpiatto writes: >> >>> Richard Riley writes: >>> >>>> Thierry Volpiatto writes: >>>> >>>>> Richard Riley writes: >>>>> >>>>>> Yuri D'Elia writes: >>>>>> >>>>>>> On Sun, 26 Dec 2010 00:19:42 +0100, Richard Riley wrote: >>>>>>>>> As soon as you use splitting or virtual groups, an external process >>>>>>>>> becomes useless (for instance, I have several rules that split messages >>>>>>>>> into groups that I ignore). >>>>>>>> >>>>>>>> Not if you dont use the demon and then split when you hit g. In other >>>>>>>> words you only fetch your mail when gnubiff or something similar tells >>>>>>>> you that you have new mail. >>>>>>> >>>>>>> Concrete example: if splitting includes spam rules, gnubiff will notify >>>>>>> you of spam too. >>>>>>> >>>>>> >>>>>> Yes that is most certainly true. Since I use googlemail I'm kind of >>>>>> spoiled as their spam filtering server side is pretty good these days >>>>>> (that and my spam-split set up doesnt work anymore on NoGnus) and so I >>>>>> turned off client side "spam-split"ting. >>>>> >>>>> If you use gmail, you can have easy mail notification with: >>>>> >>>>> https://mail.google.com/mail/feed/atom >>>>> >>>>> It give you an xml buffer you have to parse. >>>>> >>>>> A library exists on emacswiki for this, don't remember the name, it >>>>> didn't work for me so i wrote small code for this for my personal use, i >>>>> can send it if interested. >>>>> Of course if one use gnus-demon, it's non--sense to use this. >>>> >>>> Just as an FYI to the OP if new to Gnus, I have found the best set up >>>> for me with Gnus is dovecot locally fed by offlineimap which is run as a >>>> cron job every half hour or so. >>> I use here offlineimap.el that is started each time i start gnus. >>> http://julien.danjou.info/offlineimap-el.html >>> I think that coupled with a gmail notification is better than a >>> cronjob. >> >> I dont think it is since the benefit of my way is I dont need gnus >> running to see email notifications. > Me too ;-) See above > > Gnus is stopped. > > 1) I call async https://mail.google.com/mail/feed/atom every five > minutes. > > 2) When i am notified of a new email, i run Gnus who run offlineimap. Typo : sacrilege I know, but I mean emacs ;) I might try your way just as an academic exercise at one stage. You still need to manually run offlineimap in emacs though whereas mine just happens and I get informed as and when offlineimap has done its job so I can see the mail instantly! I use Mail Notification 5.4 to then preview whether to bother firing up gnus and fetching (instantly) from my local dovecot. My offlineimap config handles multiple accounts too.