Many thanks for this.
I want to use /sw/bin/emacs - and have found I can do that
by altering XEmacs Wrapper.app/Contents/Resources/script so
the line
cmd="xemacs"
reads
cmd="/sw/bin/emacs"
XEmacs Wrapper
wrapper to allow XEmacs to run from the Finder
Version: 1.05
You're welcome! - hypert3000
You shouldn't have needed to edit the script, though, since /sw/bin is explicitly added to the search path. Therefore, when the "cmd" (xemacs) is run, the shell will find the first occurence of xemacs on your search path ($PATH).Did it really not work for you "as is"? Do you have an xemacs in other directories? The only other places the script should look is /usr/bin, /bin, /usr/sbin, /sbin, and /usr/local/bin.
If I need to re-arrange the $PATH order for more users, I certainly can. Please let me know using the email link on my webpage.
Reply to This
Thursday, June 09 2005 @ 09:06 AM PDT