From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13640 Path: news.gmane.org!not-for-mail From: John Sullivan Newsgroups: gmane.emacs.gnus.user Subject: Re: Play sound on new mail Date: Wed, 10 Feb 2010 12:01:12 -0800 Message-ID: <878wb097xz.fsf@myles.home.wjsullivan.net> References: <874olpl4si.fsf@strop.ath.cx> <87eiktdlr8.fsf@strop.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265832579 17283 80.91.229.12 (10 Feb 2010 20:09:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2010 20:09:39 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Wed Feb 10 21:09:37 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 1NfIsS-0006t8-JJ for gegu-info-gnus-english@m.gmane.org; Wed, 10 Feb 2010 21:09:36 +0100 Original-Received: from localhost ([127.0.0.1]:53776 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfIsR-000232-R8 for gegu-info-gnus-english@m.gmane.org; Wed, 10 Feb 2010 15:09:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfIry-0001rW-HQ for info-gnus-english@gnu.org; Wed, 10 Feb 2010 15:09:06 -0500 Original-Received: from [199.232.76.173] (port=47878 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfIrx-0001qx-HH for info-gnus-english@gnu.org; Wed, 10 Feb 2010 15:09:05 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfIrv-00078i-1Z for info-gnus-english@gnu.org; Wed, 10 Feb 2010 15:09:05 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:60757) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfIru-00078B-2F for info-gnus-english@gnu.org; Wed, 10 Feb 2010 15:09:02 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NfIrn-0006Tb-2I for info-gnus-english@gnu.org; Wed, 10 Feb 2010 21:08:55 +0100 Original-Received: from c-98-203-137-180.hsd1.wa.comcast.net ([98.203.137.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2010 21:08:55 +0100 Original-Received: from john by c-98-203-137-180.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2010 21:08:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: c-98-203-137-180.hsd1.wa.comcast.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:8L8UyasUR5qICC9+z6LYWWDBNgY= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:13640 Archived-At: Joe Galaxy writes: > On mer 10 feb 2010 18:26, Richard Riley wrote: > >> http://gnubiff.sourceforge.net/ > I'll give a try. > >> Since you probably manually tell gnus to fetch mail it doesnt seem >> appropriate that it beeps when it gets mail since you will see it anyway >> in the Group buffer. > I've a daemon: > (gnus-demon-add-handler 'gnus-group-get-new-news 5 nil) It looks like that runs gnus-after-getting-new-news-hook, so you could do something with that. I didn't see (looking only quickly) whether there is a value passed to it based on new news or not though. Also remember that Emacs has its own "biff" functionality with display-time-mode, so you might be able to hook into that. -- John Sullivan Emacs Planner Maintainer http://wjsullivan.net/PlannerMode.html GPG Key: AE8600B6