From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Emacs Mac port Date: Mon, 03 Nov 2014 21:56:41 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1415019850 21948 80.91.229.3 (3 Nov 2014 13:04:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 13:04:10 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 03 14:04:05 2014 Return-path: Envelope-to: ged-emacs-devel@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 1XlHIg-0006ha-FK for ged-emacs-devel@m.gmane.org; Mon, 03 Nov 2014 14:04:02 +0100 Original-Received: from localhost ([::1]:34433 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlHIg-0006S8-10 for ged-emacs-devel@m.gmane.org; Mon, 03 Nov 2014 08:04:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlHBk-0002BC-0O for emacs-devel@gnu.org; Mon, 03 Nov 2014 07:56:57 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlHBe-0003zv-Ok for emacs-devel@gnu.org; Mon, 03 Nov 2014 07:56:51 -0500 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:53147) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlHBe-0003tu-8V for emacs-devel@gnu.org; Mon, 03 Nov 2014 07:56:46 -0500 Original-Received: from fermat1.math.s.chiba-u.ac.jp (fermat [192.168.32.10]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 25687C055D for ; Mon, 3 Nov 2014 21:56:42 +0900 (JST) In-Reply-To: User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 133.82.132.2 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:176264 Archived-At: >>>>> On Mon, 03 Nov 2014 16:08:01 +0900, YAMAMOTO Mitsuharu said: > The first update of Emacs 24.4 Mac port 5.x is available from > ftp://ftp.math.s.chiba-u.ac.jp/emacs/emacs-24.4-mac-5.1.tar.gz > *** New experimental functions `mac-osa-language-list' and > `mac-osa-script'. The latter is like `do-applescript', but can > execute JavaScript as well as AppleScript on OS X 10.10. I found a ridiculous mistake in the processing of handler args in `mac-osa-script'. It is not serious for normal use, but if you want to play with this new function, please apply the patch below. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp === modified file 'src/macappkit.m' *** src/macappkit.m 2014-11-03 07:13:33 +0000 --- src/macappkit.m 2014-11-03 12:34:50 +0000 *************** *** 10998,11004 **** NSString *handlerName; for (i = 0; i < nargs; i++) ! mac_ae_put_lisp (¶m_list, i, args[i]); target = [NSAppleEventDescriptor nullDescriptor]; result = [NSAppleEventDescriptor --- 10998,11004 ---- NSString *handlerName; for (i = 0; i < nargs; i++) ! mac_ae_put_lisp (¶m_list, 0, args[i]); target = [NSAppleEventDescriptor nullDescriptor]; result = [NSAppleEventDescriptor