From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/13638 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.gnus.user Subject: Re: Play sound on new mail Date: Wed, 10 Feb 2010 19:19:07 +0100 Organization: ThierryVolpiatto Message-ID: <87hbpposx0.fsf@tux.homenetwork> References: <874olpl4si.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 1265826255 25357 80.91.229.12 (10 Feb 2010 18:24:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Feb 2010 18:24:15 +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 19:24: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 1NfHER-0000rr-4x for gegu-info-gnus-english@m.gmane.org; Wed, 10 Feb 2010 19:24:11 +0100 Original-Received: from localhost ([127.0.0.1]:40130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfHEQ-0001sE-IZ for gegu-info-gnus-english@m.gmane.org; Wed, 10 Feb 2010 13:24:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfHEN-0001qv-OG for info-gnus-english@gnu.org; Wed, 10 Feb 2010 13:24:07 -0500 Original-Received: from [199.232.76.173] (port=43745 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfHEN-0001qg-F3 for info-gnus-english@gnu.org; Wed, 10 Feb 2010 13:24:07 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfHEM-00007U-3g for info-gnus-english@gnu.org; Wed, 10 Feb 2010 13:24:07 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:53712) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfHEL-00007O-M6 for info-gnus-english@gnu.org; Wed, 10 Feb 2010 13:24:06 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NfHEK-0000pD-60 for info-gnus-english@gnu.org; Wed, 10 Feb 2010 19:24:04 +0100 Original-Received: from 173.211.85-79.rev.gaoland.net ([79.85.211.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2010 19:24:04 +0100 Original-Received: from thierry.volpiatto by 173.211.85-79.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2010 19:24:04 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 173.211.85-79.rev.gaoland.net Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUHBARgJRFPS0WbMBTC TSG/uJs0yyVHAAAACXBIWXMAAAsSAAALEgHS3X78AAAACXZwQWcAAAAwAAAAMADO7oxXAAABpUlE QVQ4y3VTQXKDMAyUnD7AwvQOhtxj5N4LFh9ow/+/UtlpM0BczWSS0Wola7UBeEb3+3kJ/5p9ZLz3 UI0n0J0Y4K/lh1nG24FhlJOR2LdSKtpV5gfi/Zd+NdaJBbB4D5N0JnfUIVp6obZURkJwS2a8b9uX AkgxA5gCEcknAH1s2z0DPooWmjGKcJR+HNZt+9bm0GtGRycRuZGs98Ffr02vABWGopIAhmXmxnQN BwBXZjgFLHRoqbfeYxCLWqsjLyKhbEHW+A5nEs699Q2O80ALrgHTmUTy6P0MnKyKQpKHpoNWokxs F0D5VegvWmEozyE6nuMiS98mWzlUQ9bW8qYfqOaFtzWlYCqGeIs6HEyl08jkrxUG9MF5ipXpOOpd ZMoXPPVSLWJiiwNNB+eRSyxJZmQKcacikgucnCRiHuJOLmyYJRDPwOqAvY4pA+Wy+VS8G26BAsdb Ph2Hw7ORy/H0IOG0TnaM8Cp0XrFYyU0v2z8AqkifPVbLZ0qo/gsRg60C7p+8Ov9jrUIxFde+jnAq X42hyp/c+ZcnVyUYBarrqZt3+R8450png3cWKgAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAwOC0wNS0z MVQyMjoxNDoyMiswMjowMK3VBDcAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMDctMTAtMjhUMTc6MDg6 NDgrMDE6MDDLdIcLAAAAEXRFWHRqcGVnOmNvbG9yc3BhY2UAMix1VZ8AAAAgdEVYdGpwZWc6c2Ft cGxpbmctZmFjdG9yADJ4MiwxeDEsMXgxSfqmtAAAAABJRU5ErkJggg== User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.92 (gnu/linux) Cancel-Lock: sha1:WF+tOGZPPI4tHItS4Gme/+K0m1M= 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:13638 Archived-At: Richard Riley writes: > Joe Galaxy writes: > >> Hi all, there is possible to make gnus play a sound when new mail >> arrives? > > That should be the job of something like gnubiff - you want an app which > polls your mailbox and tells you there is mail pending collection. > > http://gnubiff.sourceforge.net/ > > 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. You can also use a simple script you run all the x minutes in a crontab that look at the mails incoming in your mail dir (source not the gnus one). Something checking the size of each mailbox and telling you if it is empty or not work fine: Example: ,---- | MB14="/you/incoming/help-gnu-emacs" | CHECK14=$(du $MB14 | awk '{print $1}') | if [[ $CHECK14 > 0 ]] ; then echo -n " You have New Mails " ; fi `---- You can replace the echo by what you want, sound etc.. I use this echo message in my stumpwm mode-line (no crontab, the mode-line timer). -- Thierry Volpiatto