emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Mac port


From: YAMAMOTO Mitsuharu
Subject: Re: Emacs Mac port
Date: Mon, 03 Nov 2014 21:56:41 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/22.3 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Mon, 03 Nov 2014 16:08:01 +0900, YAMAMOTO Mitsuharu <address@hidden> 
>>>>> 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
                                address@hidden

=== 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 (&param_list, i, args[i]);
  
          target = [NSAppleEventDescriptor nullDescriptor];
          result = [NSAppleEventDescriptor
--- 10998,11004 ----
          NSString *handlerName;
  
          for (i = 0; i < nargs; i++)
!           mac_ae_put_lisp (&param_list, 0, args[i]);
  
          target = [NSAppleEventDescriptor nullDescriptor];
          result = [NSAppleEventDescriptor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]