From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Liu Newsgroups: gmane.emacs.bugs Subject: bug#3351: 23.0.93; OSX sound support Date: Fri, 15 Mar 2013 18:25:25 +0800 Message-ID: References: <9abbd5730905220631w7256450dp41cc4f1e511ea6d0@mail.gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1363343211 17851 80.91.229.3 (15 Mar 2013 10:26:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 15 Mar 2013 10:26:51 +0000 (UTC) Cc: 3351@debbugs.gnu.org To: Alex =?UTF-8?Q?Schr=C3=B6der?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 15 11:27:16 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UGRr0-0000aE-02 for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Mar 2013 11:27:14 +0100 Original-Received: from localhost ([::1]:54693 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRqd-00029o-8Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 15 Mar 2013 06:26:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52831) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRqZ-00029Y-KQ for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:26:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UGRqY-00020M-0C for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:26:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UGRqX-00020B-TK for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:26:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UGRrl-00085c-J0 for bug-gnu-emacs@gnu.org; Fri, 15 Mar 2013 06:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Leo Liu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Mar 2013 10:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 3351 X-GNU-PR-Package: emacs,ns X-GNU-PR-Keywords: Original-Received: via spool by 3351-submit@debbugs.gnu.org id=B3351.136334322531025 (code B ref 3351); Fri, 15 Mar 2013 10:28:01 +0000 Original-Received: (at 3351) by debbugs.gnu.org; 15 Mar 2013 10:27:05 +0000 Original-Received: from localhost ([127.0.0.1]:55503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGRqm-00083z-W8 for submit@debbugs.gnu.org; Fri, 15 Mar 2013 06:27:02 -0400 Original-Received: from mail-pd0-f170.google.com ([209.85.192.170]:63492) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UGRqj-00083l-Nw for 3351@debbugs.gnu.org; Fri, 15 Mar 2013 06:26:59 -0400 Original-Received: by mail-pd0-f170.google.com with SMTP id 4so207663pdd.15 for <3351@debbugs.gnu.org>; Fri, 15 Mar 2013 03:25:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:cc:subject:references:face:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=QnJn/KrNKA3UrMtwPEmYVxwTvmCAnd0eiR/kAmZy+Ow=; b=r33ElcT0A0Lpn0lzJ51QdKBnWpENrZBuw2jYmOhJXe3kevmTYXD/+Q8zc3Xb1R95KI og4z/0W/0OHh2NFrJcv7HKKa4QVeOHgcEAuCNXUrElZHDjCGO6KJ/+x2JpUTm2Kogu36 jFwQEBMY3hp6N7CfX+wZpGQ3idhYLX+SbyjD3lHffuWTOeqilG5qMK+7t5/yiXtlNPes sV+vHS3AwxzFQPTPhWcHK+JMBl14yUcIU3yOklSbNfMlpdALaQWY07uhwaIcRCMXcW5b PepgSZVSdHz+s5R3DYQApNEDjK5qVdP/9mUPRUnlSQ09z0oTz4m/LkAjYscDNJdpLMX6 zvGw== X-Received: by 10.68.242.65 with SMTP id wo1mr14721314pbc.62.1363343135384; Fri, 15 Mar 2013 03:25:35 -0700 (PDT) Original-Received: from localhost ([182.48.109.29]) by mx.google.com with ESMTPS id y13sm8101517pbv.0.2013.03.15.03.25.32 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 15 Mar 2013 03:25:34 -0700 (PDT) Face: iVBORw0KGgoAAAANSUhEUgAAACgAAAAoBAMAAAB+0KVeAAAAG1BMVEUAAAA9Cgm3Hx1WWFWA gn+WmJWsrqv4+vcCAwCRl2MkAAAAAXRSTlMAQObYZgAAAAFiS0dEAIgFHUgAAAAJcEhZcwAAAYoA AAGKATOXMFgAAAAHdElNRQfXAQwDNR+ZJmElAAABIklEQVQoz22SPW+DQAyGWUq65qasd9PNUSX4 AZHK2C1rJy5jpDS4IwRVup9dn7GNafpKIPPgzztXFSujqq1eM2n8h22oMkvxI/i9C97kRfMRUN55 dS3BrsAwBXUtMLAO4lryh8kTjOxKpQNniNxAgZOEe4bZwsDTFhKdqZRLNII4OQNHhEuq/RMkm6Cj TnnEA/fk0BorcYn5qA3oaeAxbaBOLrX+9G48NZ2Fzc2tzDM8Q+tMypEOqYHh8mAWaaK3U/cDMOT5 aMZMABgPXc7zPMs1A8DXO756GFJ/4fMEq47hTsAdn5avoxZ4ywl0c2w4Flu2Ybeyb3S+EqxX2DYA H8veJGEDTnHnrXvRaPyt+2kSfK6rfBZ2tUtfP/mR+pR6sX8BUZ/cDV7tvkoAAAAASUVORK5CYII= In-Reply-To: <9abbd5730905220631w7256450dp41cc4f1e511ea6d0@mail.gmail.com> ("Alex \=\?iso-8859-1\?Q\?Schr\=F6der\=22's\?\= message of "Fri, 22 May 2009 15:31:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.2) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72527 Archived-At: On 2009-05-22 21:31 +0800, Alex Schr=F6der wrote: > In GNU Emacs 23.0.93.2 (i386-apple-darwin8.11.1, NS apple-appkit-824.48) > of 2009-05-22 on Pyrobombus.local > Windowing system distributor `Apple', version 10.3.824 > configured using `configure '--with-ns'' > > I'm using Mac OS 10.4.11 and when I try to (play-sound '(sound :file > "/some/file")) I get the error "This Emacs binary lacks sound > support". > > I think no Emacs is complete without sound support. ;) I am using this small function to give me sound support on OSX: https://raw.github.com/leoliu/play-sound-osx/master/play-sound.el Two conscious abuses (can be fixed): - misuse (signal 'wrong-type-argument (list sound)); it requires the first item of DATA to be a predicate but I decided not to add another function. - async; should probably use call-process to stay close to the C version. BTW, I only remember once in the past years needing the feature. Leo