|Subject:||Re: Emacs audio problem|
|Date:||Sat, 2 Feb 2013 20:59:03 +0900|
You're right. Thanks.Jason Rumney <address@hidden> 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.
This is working for me:
(setq ring-bell-function (lambda ()
(start-process "ding" nil "play" "/home/me/audio/tap2.au")))
Odd that invoking an external program and reading a file
over and over works better but it does.
|[Prev in Thread]||Current Thread||[Next in Thread]|