GNU bug report logs - #5711
23.1; Customizing the bell

Previous Next

Package: emacs;

Reported by: Eli Barzilay <eli <at> barzilay.org>

Date: Fri, 12 Mar 2010 16:18:01 UTC

Severity: wishlist

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: bug-gnu-emacs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: emacs-bug-tracker <at> debbugs.gnu.org
Subject: bug#5711: marked as done (23.1; Customizing the bell)
Date: Mon, 15 Mar 2010 19:40:03 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 15 Mar 2010 15:39:02 -0400
with message-id <kzvdcxtlwp.fsf <at> fencepost.gnu.org>
and subject line Re: bug#5711: 23.1; Customizing the bell
has caused the GNU bug report #5711,
regarding 23.1; Customizing the bell
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact bug-gnu-emacs <at> gnu.org
immediately.)


-- 
5711: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=5711
GNU Bug Tracking System
Contact bug-gnu-emacs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Barzilay <eli <at> barzilay.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; Customizing the bell
Date: Fri, 12 Mar 2010 10:54:49 -0500
I'd like for my Emacs to sometimes ring the bell as usual, sometimes
flash the screen, and sometimes play a sound.  Currently, I can change
it to do one of these things in the usual way, but I cannot write code
that determines what to do dynamically.  What's missing is a primitive
function to the "real" beep.  Something that would allow me to do
this:

  (setq ring-bell-function
        (lambda ()
          (if (foo)
            (call-process "aplay" nil 0 nil "foo.wav")
            (let ((visible-bell (bar))) (real-ding)))))

(I could do this in a bad way, by installing some hook that will set
`ring-bell-function' and `visible-bell' -- for example in an idle
timer, but the above would be much more convenient.)

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!



[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 5711-done <at> debbugs.gnu.org
Subject: Re: bug#5711: 23.1; Customizing the bell
Date: Mon, 15 Mar 2010 15:39:02 -0400
Eli Barzilay wrote:

> Ah, you're right -- sorry.  Fine to close this bug then.


This bug report was last modified 15 years and 72 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.