unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: mariovalspi@gmail.com, 18463@debbugs.gnu.org
Subject: bug#18463: play-sound crashes emacs if file does not exist
Date: Mon, 15 Sep 2014 18:59:48 +0300	[thread overview]
Message-ID: <838ulk6fij.fsf@gnu.org> (raw)
In-Reply-To: <CAH8Pv0hM5S_VO_em5Ni_OKcuwag-6GBTSAmMbO+4qGyKkq60PA@mail.gmail.com>

> 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	other threads:[~2014-09-15 15:59 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-12 16:54 bug#18463: play-sound crashes emacs if file does not exist Mario Valencia
2014-09-12 20:10 ` Eli Zaretskii
2014-09-13  4:15   ` Mario Valencia
2014-09-13  6:41     ` Eli Zaretskii
2014-09-13  7:35       ` Mario Valencia
2014-09-13  7:45         ` Mario Valencia
2014-09-13  8:36           ` Eli Zaretskii
2014-09-13  8:31         ` Eli Zaretskii
2014-09-13  8:39           ` Eli Zaretskii
2014-09-13  8:41             ` Mario Valencia
2014-09-13  8:50               ` Eli Zaretskii
2014-09-13  8:59                 ` Mario Valencia
2014-09-13  9:50                   ` Eli Zaretskii
     [not found]                     ` <CA+3HrJVO4Ka5943-3m_tTNq2=2HvvV5QYOeAh3H_csRYg1EOEQ@mail.gmail.com>
2014-09-13  9:56                       ` bug#18463: Fwd: " Mario Valencia
2014-09-13 12:21                       ` Eli Zaretskii
2014-09-13 12:27                         ` Mario Valencia
2014-09-13 13:19                           ` Eli Zaretskii
2014-09-14 16:01                           ` Eli Zaretskii
2014-09-15 15:23                             ` Dani Moncayo
2014-09-15 15:59                               ` Eli Zaretskii [this message]
2014-09-15 16:22                                 ` Dani Moncayo
2014-09-15 17:00                                   ` Eli Zaretskii
2014-09-13  8:29   ` Eli Zaretskii
2016-06-02 17:20 ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=838ulk6fij.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=18463@debbugs.gnu.org \
    --cc=dmoncayo@gmail.com \
    --cc=mariovalspi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).