From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Emacs audio problem
Date: Fri, 01 Feb 2013 12:08:21 -0500 [thread overview]
Message-ID: <icehh0m06y.fsf@home.home> (raw)
In-Reply-To: 1b535d32-a49d-49a2-a82d-c3851fed1b35@googlegroups.com
Jason Rumney <jasonrumney@gmail.com> writes:
> On Friday, 1 February 2013 02:32:05 UTC+8, Dan Espen wrote:
>>
>> (setq ring-bell-function (lambda ()
>>
>> (play-sound-file "/home/me/audio/tap2.au")))
>>
>> This works, but has an undesirable side effect.
>>
>> It looks like keystrokes are ignored until after the sound plays.
>>
>> Anyone have a suggestion?
>
> Use start-process to have an external program play the sound.
That's an idea.
I tried to follow Emacs code to see if it does something different
for :data vs. :file for the volume issue,
but so far the logic remains hidden from me.
I don't give up easy, so I'll try again.
I'll report back about start-process when I get a chance to try it.
--
Dan Espen
next prev parent reply other threads:[~2013-02-01 17:08 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-31 18:32 Emacs audio problem Dan Espen
2013-02-01 13:38 ` Jason Rumney
2013-02-01 17:08 ` Dan Espen [this message]
2013-02-02 3:08 ` Dan Espen
2013-02-02 11:59 ` Adam Jiang
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=icehh0m06y.fsf@home.home \
--to=despen@verizon.net \
--cc=help-gnu-emacs@gnu.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.