On Jul 21, 2008, at 6:18 PM, David Reitter wrote: > On 21 Jul 2008, at 18:14, David Reitter wrote: >> >> >> the patch below works for me. >> Any comments? Otherwise I'll check this in.
Looks good -- Cocoa even! ;) >> Incidentally, do we need #if MAC_OSX around this? > NSAppleScript is probably not a NextStep API, is it? I don't think it's currently implemented (or stubbed out) in GNUstep. Please use #ifdef NS_IMPL_COCOA (as it's possible to run GNUstep on OS X) around the C function, but leave the lisp function defined and return an error and/or a message on non NS_IMPL_COCOA. Curious though, how slow really is the exec osascript approach? The patch is a lot of code to replace the 3-line lisp that Carsten posted. (Though I think it's nicer to have it "internal".) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emacs-app-dev- mailing list Emacs-app-dev-@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-