bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18463: play-sound crashes emacs if file does not exist


From: Eli Zaretskii
Subject: bug#18463: play-sound crashes emacs if file does not exist
Date: Mon, 15 Sep 2014 18:59:48 +0300

> Date: Mon, 15 Sep 2014 17:23:12 +0200
> From: Dani Moncayo <dmoncayo@gmail.com>
> Cc: Mario Valencia <mariovalspi@gmail.com>, 18463@debbugs.gnu.org
> 
> > Can someone who is equipped to run Emacs under a debugger please try
> > reproducing this on Windows 8, and report the results?  TIA.
> 
> On Windows 8, with the current trunk,
>   emacs -Q
>   Eval: (play-sound '(sound :file "c:/path/foo.wav"))
> 
> gives this if the file does not exist:
>  * Return value = nil.
>  * Side effect: Message [1] in the *Messages* buffer.
> 
> and this if the file does exist:
>  * Return value = nil.
>  * Side effect: The sound stored in the file is played as expected.

Thanks, this is the expected behavior.

Can you test with Emacs 24.3, preferably the official binary on the
GNU FTP site?  That was the one the OP complained about.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]