From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/14403 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus and new mail notification Date: Sat, 25 Dec 2010 21:31:43 +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 1293309613 25255 80.91.229.12 (25 Dec 2010 20:40:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Dec 2010 20:40:13 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Dec 25 21:40:10 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 1PWauO-0000l7-V0 for gegu-info-gnus-english@m.gmane.org; Sat, 25 Dec 2010 21:40:09 +0100 Original-Received: from localhost ([127.0.0.1]:55609 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PWauO-0007ex-4G for gegu-info-gnus-english@m.gmane.org; Sat, 25 Dec 2010 15:40:08 -0500 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 44 Original-NNTP-Posting-Host: 85.183.18.158 Original-X-Trace: quimby.gnus.org 1293309103 8689 85.183.18.158 (25 Dec 2010 20:31:43 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 25 Dec 2010 20:31:43 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.gnus:85131 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:14403 Archived-At: Yuri D'Elia writes: > I wasn't happy with the existing new mail notification scripts that I've > found on emacswiki. > > I've put together a new script, called "gnus-notify"[1], that can call > any arbitrary program when new messages are received. The default uses > the 'notify-send' program (part of libnotify's library) which creates > little popup messages. This is especially useful if you have virtual > desktops and leave Gnus running with gnus-demon. > > The result (showing Gnus + awesomewm + libnotify-bin on Debian) is shown > here: > > http://www.thregr.org/~wavexx/hacks/gnus-notify.png > > You can also do arbitrary stuff by either setting a different > executable, or supplying an entirely new notification function. > Simply read the commentary in the source. > > gnus-notify.el is available at: > > http://www.thregr.org/~wavexx/hacks/gnus-notify.el > > Merry christmas :) > > [1] I know there's already a gnus-notify.el script, but I wasn't able to > come up with a better name. > I'm interested how this helps - I think I'm missing something. Since this can only work in Gnus when Gnus sees new mail what purpose does it server since Gnus has already fetched the mail : isnt a third party imap/maildir asynchronous monitor a better solution for this external notification process? Also using the same name is somewhat silly since it will clash if packaged in ELPA or something especially as it does something totally different to gnus-notify : what about gnus-external-notify? regards r.