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

From: Eli Zaretskii <[email-masked]>
Date: Mon, 15 Sep 2014 18:59:48 +0300

> Date: Mon, 15 Sep 2014 17:23:12 +0200
> From: Dani Moncayo <[email-masked]>
> Cc: Mario Valencia <[email-masked]>, [email-masked]
> 
> > 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.