[CM] osx-package/emacs

Rick Taube taube@uiuc.edu
Mon, 8 Sep 2003 08:39:16 -0500


 > Coming closer: The line open -a emacs  
"/Applications/CommonMusic.app/Contents/MacOS/cm.el" in the cm.sh  
script makes >the click on the CM-icon work, then, though, I  
explicitely have to evaluate the buffer and CM is there!

If you cant get the 'emacs' shell command to start Emacs.app wth --load  
cm.el then you can always start the Emacs.app program by hand using the  
application bundle's own executable. Here is a cm.sh that should do it:
--------------------------cm.sh
#!/bin/sh
/Applications/Emacs.app/Contents/MacOS/Emacs --load  
/Applications/CommonMusic.app/Contents/MacOS/cm.el  $@
--------------------------

But when I installed Emacs.app it it set up the 'emacs' command to do  
exactly this.  Here is a URL to the Emacs.app download I used that  
works on 10.2 and 10.1 and sets up the 'emacs' command to launch  
Emacs.app:

http://www.porkrind.org/emacs/offsite-mirror2/EmacsInstaller-21.3.50- 
2002-11-26.dmg.gz