emacs cocoa stuff, set-path launch agent, as_user function.