[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to play sound from string correctly?
From: |
Pavel Janík |
Subject: |
Re: How to play sound from string correctly? |
Date: |
Sun, 06 Jan 2002 11:24:04 +0100 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1.50 (i386-suse-linux-gnu) |
From: Richard Stallman <address@hidden>
Date: Sat, 5 Jan 2002 17:36:26 -0700 (MST)
> It is the correct way to read it and delete it.
> (I am surprised you want to delete it.)
> You might want to kill the buffer afterward;
> you might want to use with-temp-buffer.
Of course, this was only quick workaround of bug in sound.c which I fixed,
but I would like to know Gerd opinion before installing it. It may be also
relevant to RC branch.
> Try comparing the temporary file using cmp with the original file.
> If they are different, then encoding has changed the contents.
> But I expect you'll find that no multibyte encoding or decoding occurs
> and the contents are unchanged.
>
> I would suspect there is a bug in play-sound in the handling of :data.
Yes, it was.
--
Pavel Janík
Well, after spending a lot of time hacking on Emacs you develop
a particular intimacy with point. A sort of friendship which
doesn't allow for "the" to appear in front of "point" any more.
-- Stefan Monnier in comp.emacs