From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14388 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.user Subject: Re: Reply to self behavior Date: Thu, 23 Dec 2010 12:03:13 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: References: <871v59adu4.fsf@topper.koldfront.dk> <87r5d9ocyg.fsf@savara.sat.thregr.org> <87mxnxo8fs.fsf@savara.sat.thregr.org> <87y67hq7fm.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1293104416 13613 80.91.229.12 (23 Dec 2010 11:40:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 23 Dec 2010 11:40:16 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Dec 23 12:40:11 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 1PVjWj-0007Jj-UI for gegu-info-gnus-english@m.gmane.org; Thu, 23 Dec 2010 12:40:10 +0100 Original-Received: from localhost ([127.0.0.1]:33023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PVjWj-0006FH-8n for gegu-info-gnus-english@m.gmane.org; Thu, 23 Dec 2010 06: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: 32 Original-NNTP-Posting-Host: 85.183.18.158 Original-X-Trace: quimby.gnus.org 1293102193 31791 85.183.18.158 (23 Dec 2010 11:03:13 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Thu, 23 Dec 2010 11:03:13 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.gnus:85114 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:14388 Archived-At: Reiner Steib writes: > On Wed, Dec 22 2010, Yuri D'Elia wrote: > >> Aaand, while I'm at it: is there a hook that is called whenever a backend >> receives new mail? I'm trying to integrate emacs with the "awesome" >> window manager. gnus-biff and gnus-notify seem to check every group >> manually - I was looking for something more straightforward. > > ,----[ v nnmail-prepare-save-mail-hook RET ] > | nnmail-prepare-save-mail-hook is a variable defined in `nnmail.el'. > | Its value is > | (rs-gnus-notify-have-new-mail) > | > | Documentation: > | Hook called before saving mail. > `---- > > Bye, Reiner. This is pretty clunky compared to using something like Mail Notification (Gnome) since it requires Gnus to fetch the mail in order for you to know there is mail there I think. Better, for me, is to run a local dovecot server and have Mail Notifications (Biff etc) monitor THAT inbox using dbus or whatever it is they use for instant notification. regards r.