all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dani Moncayo <dmoncayo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Mario Valencia <mariovalspi@gmail.com>, 18463@debbugs.gnu.org
Subject: bug#18463: play-sound crashes emacs if file does not exist
Date: Mon, 15 Sep 2014 17:23:12 +0200	[thread overview]
Message-ID: <CAH8Pv0hM5S_VO_em5Ni_OKcuwag-6GBTSAmMbO+4qGyKkq60PA@mail.gmail.com> (raw)
In-Reply-To: <83k3565gzg.fsf@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.

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	other threads:[~2014-09-15 15:23 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 [this message]
2014-09-15 15:59                               ` Eli Zaretskii
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

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

  git send-email \
    --in-reply-to=CAH8Pv0hM5S_VO_em5Ni_OKcuwag-6GBTSAmMbO+4qGyKkq60PA@mail.gmail.com \
    --to=dmoncayo@gmail.com \
    --cc=18463@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.