From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Jones Newsgroups: gmane.emacs.help Subject: Re: Hearing a beep when get a message in zenirc Date: Tue, 22 Apr 2008 14:44:45 -0600 Message-ID: <8663u9d3gi.fsf@pmade.com> References: <87abjllpmv.fsf@debian-asztal.csanyi-pal.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208914230 9865 80.91.229.12 (23 Apr 2008 01:30:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2008 01:30:30 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Paul Csanyi Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 23 03:31:01 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JoTp2-0006fr-Is for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Apr 2008 03:30:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoToN-0003IV-0n for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Apr 2008 21:30:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JoPMN-00008J-CD for help-gnu-emacs@gnu.org; Tue, 22 Apr 2008 16:45:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JoPMM-00007y-Am for help-gnu-emacs@gnu.org; Tue, 22 Apr 2008 16:45:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JoPMM-00007o-4g for help-gnu-emacs@gnu.org; Tue, 22 Apr 2008 16:45:02 -0400 Original-Received: from pmade.com ([64.92.223.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JoPML-0005w6-Ng for help-gnu-emacs@gnu.org; Tue, 22 Apr 2008 16:45:01 -0400 Original-Received: from beefy.local.pmade.com (75-166-98-176.hlrn.qwest.net [75.166.98.176]) (authenticated bits=0) by pmade.com (8.13.8/8.13.8) with ESMTP id m3MKiq7t028147 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Tue, 22 Apr 2008 20:44:53 GMT (envelope-from pjones@pmade.com) Mail-Followup-To: Paul Csanyi , help-gnu-emacs@gnu.org In-Reply-To: <87abjllpmv.fsf@debian-asztal.csanyi-pal.info> (Paul Csanyi's message of "Tue\, 22 Apr 2008 20\:18\:32 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin) X-detected-kernel: by monty-python.gnu.org: FreeBSD 6.x (1) X-Mailman-Approved-At: Tue, 22 Apr 2008 21:24:37 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53491 Archived-At: Paul Csanyi writes: > I would like to heare a beep sound when I get a buddy message in > zenirc. Is this possyble? I don't use zenirc, so I can't be too helpful. I would look for a hook in zenirc that you could use to have a function called when a new message arrives. You could then write a function that would check to make sure the necessary conditions are met, and call the beep function. -- Peter Jones, pmade inc. http://pmade.com