Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there any reason `ns-do-applescript` couldn't be made as an Emacs package? That way it'd be trivial to remove it from Emacs proper and Mac users could still extend the editor as needed.


My understanding from that thread is that there basically is a package way. The 'ns-do-applescript' is a c function, though. Providing potential speed benefits over the lisp based implementations.


Emacs packages can include C code these days. It is loaded dynamically into Emacs then callable from Lisp. See for example the 'vterm' package.


If that is the case, what is the argument to have platform specific functions in the included c code?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: