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: Dani Moncayo
Subject: bug#18463: play-sound crashes emacs if file does not exist
Date: Mon, 15 Sep 2014 17:23:12 +0200

> 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.

I've been unable to make the test with the latest version from the
emacs-24 brach, because it failed to build (reported to emacs-devel).

HTH.

----- Footnotes ----

[1] The open mciSendString command failed to open the specified sound file.
  Error: Cannot find the specified file.  Make sure the path and
filename are correct.


-- 
Dani Moncayo





reply via email to

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