[CM] MCL and OSX

Rick Taube taube@uiuc.edu
Sat, 3 Jan 2004 17:01:40 -0600


> Problem in MCL 5.0 is that it doesn't have a (shell ...) directive!!!!
> (what were/are they thinking?)

Considering that they dont support osx/unix pathnames or unix eols except
via a hack it shouldn't be suprising! Long term openmcl is the way to go --
its free, has native threads and its complier is better.
Really, at this point OpenMCL + aqua Emacs + listener.el is about as easy to
work with as MCL.  Do this:

1    install openmcl 0.14:
http://openmcl.clozure.com/Distributions/index.html
2    install an Aqua Emacs: http://www.mindlube.com/products/emacs/
3   download cm-2.4.1 from CVS
4   get a shell, cd to your cm install dir and do
    % bin/cm.sh -l openmcl -e Emacs

thats it. Cm will compile/load and startup in its own window under emacs.
and if you want it to behave exactly like Fred/MCL add these to you .emacs
file:

  (setq mac-command-key-is-meta nil)
  (global-set-key [(alt a)] 'mark-whole-buffer)
  (global-set-key [(alt v)] 'yank)
  (global-set-key [(alt c)] 'kill-ring-save)
  (global-set-key [(alt x)] 'kill-region)
  (global-set-key [(alt s)] 'save-buffer)
  (global-set-key [(alt l)] 'goto-line)
  (global-set-key [(alt o)] 'find-file)
  (global-set-key [(alt f)] 'isearch-forward)
  (global-set-key [(alt g)] 'isearch-repeat-forward)
  (global-set-key [(alt w)]
                  (lambda () (interactive) (kill-buffer (current-buffer))))
  (global-set-key [(alt .)] 'keyboard-quit)
  (global-set-key [(alt z)] 'undo))


once I have the tarball of cm-2.4.1 (monday at the latest) ill make an OSX
binary release complete with its own dockable icon