GNU bug report logs -
#18463
play-sound crashes emacs if file does not exist
Previous Next
Reported by: Mario Valencia <mariovalspi <at> gmail.com>
Date: Fri, 12 Sep 2014 16:55:01 UTC
Severity: normal
Tags: unreproducible
Done: Noam Postavsky <npostavs <at> users.sourceforge.net>
Bug is archived. No further changes may be made.
Full log
Message #65 received at 18463 <at> debbugs.gnu.org (full text, mbox):
> Date: Mon, 15 Sep 2014 17:23:12 +0200
> From: Dani Moncayo <dmoncayo <at> gmail.com>
> Cc: Mario Valencia <mariovalspi <at> gmail.com>, 18463 <at> 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.
This bug report was last modified 9 years and 50 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.