From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Eli Barzilay <eli@barzilay.org>
Cc: 5711@debbugs.gnu.org
Subject: bug#5711: 23.1; Customizing the bell
Date: Fri, 12 Mar 2010 13:05:29 -0500 [thread overview]
Message-ID: <jwvhbol8lhy.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <E1Nq7CL-0004fD-7X@barzilay.org> (Eli Barzilay's message of "Fri, 12 Mar 2010 10:54:49 -0500")
> (setq ring-bell-function
> (lambda ()
> (if (foo)
> (call-process "aplay" nil 0 nil "foo.wav")
> (let ((visible-bell (bar))) (real-ding)))))
Doesn't
(setq ring-bell-function
(lambda ()
(if (foo)
(call-process "aplay" nil 0 nil "foo.wav")
(let ((visible-bell (bar)) (ring-bell-function nil)) (ding)))))
do the trick?
Stefan
next prev parent reply other threads:[~2010-03-12 18:05 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-12 15:54 bug#5711: 23.1; Customizing the bell Eli Barzilay
2010-03-12 17:14 ` Drew Adams
2010-03-12 18:05 ` Stefan Monnier [this message]
2010-03-12 19:20 ` Eli Barzilay
2010-03-15 19:39 ` Glenn Morris
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvhbol8lhy.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=5711@debbugs.gnu.org \
--cc=eli@barzilay.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.