From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/6946 Path: main.gmane.org!not-for-mail From: William Perry Newsgroups: gmane.emacs.gnus.general Subject: Re: xpm-m... Uhm. Date: Tue, 25 Jun 1996 13:45:28 -0700 Message-ID: <199606252045.NAA00305@monolith.spry.com> References: <199606240040.UAA15902@condor.ryerson.ca> Reply-To: wmperry@spry.com NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035147330 5378 80.91.224.250 (20 Oct 2002 20:55:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 20:55:30 +0000 (UTC) Cc: ding@ifi.uio.no Return-Path: ding-request@ifi.uio.no Original-Received: from ifi.uio.no (ifi.uio.no [129.240.64.2]) by deanna.miranova.com (8.7.5/8.6.9) with SMTP id OAA17793 for ; Tue, 25 Jun 1996 14:20:44 -0700 Original-Received: from monolith.spry.com (monolith.spry.com [198.185.2.198]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Tue, 25 Jun 1996 22:36:38 +0200 Original-Received: (from wmperry@localhost) by monolith.spry.com (8.7.4/8.7.3) id NAA00305; Tue, 25 Jun 1996 13:45:28 -0700 Original-To: Per Abrahamsen Errors-to: wmperry@spry.com X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7 Xref: main.gmane.org gmane.emacs.gnus.general:6946 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:6946 Per Abrahamsen writes: > >>>>>> "SLB" == Steven L Baur writes: > >>>>>> "Lars" == Lars Magne Ingebrigtsen writes: > >luis> (Hmmm...I think we need an audio equivalent to smiley.el; standard >luis> earcons would be: drum roll, snicker, laugh, etc. :-) > >Lars> :-) > >SLB> I've found a snicker, laugh, and some other related sound effects, >SLB> including an **Evil Laugh** suitable for announcement of new features >SLB> :-), but no drum roll, and there's got to be a drum roll ... > >It should be really simple to implement, just add a new entry to >`gnus-button-alist' for each sound effect, and write a function to >play the sound. By default it could just cat a file into /dev/audio. > >Then, **Evil Laugh** would become a button that would play the sound >when pushed. Nah... no interaction from the user should be required. :) How about hooking into the redisplay hooks like lazy-lock does? When a region is exposed via window-resizing or scrolling, etc, and new earcons are exposed, it plays the sound. -Bill P.