[CM] clm on os x
Joseph Anderson
J.Anderson at hull.ac.uk
Tue Oct 17 07:07:09 PDT 2006
Hell Rick,
Adding .emacs as you suggest below, I get:
An error has occurred while loading `/Users/josephla/.emacs':
File error: Cannot open load file, slime
The complete text in the *Messages* window is as below:
(/Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs --eval (setq inhibit-startup-message t) --directory /Applications/Sound/CommonMusic/CM.app/Contents/Resources/slime -l /Applications/Sound/CommonMusic/CM.app/Contents/Resources/cm/etc/xemacs/cm.el --eval (progn (if (member (quote aquamacs) features) (make-frame)) (enable-cm-commands) (cm "/Applications/Sound/CommonMusic/CM.app/Contents/Resources/cm/bin/cm.sh -l /Applications/Sound/CommonMusic/CM.app/Contents/Resources/ccl/dppccl")))
Loading prestart plugin files ...
... done.
Aquamacs Mule installed.
Loading cl-macs...done
Defining fontset: monaco
Defining fontset: lucida
Defining fontset: lucida_typewriter
Defining fontset: lucida_console
Defining fontset: courier
Defining fontset: vera_mono
Loading fringe...done
Loading easy-mmode...done
Loading encoded-kb...done
Loading edmacro...done
Loading /Users/josephla/Library/Preferences/Aquamacs Emacs/Recent Files.el (source)...done
Cleaning up the recentf list...done (0 removed)
Loading cus-edit...
Loading jka-compr...done
uncompressing cus-edit.elc.gz...done
Loading cus-edit...done
Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/tex-site.el (source)...done
Loading edit-modes/nxml/rng-auto (source)...done
Loading plugins ...
Loading /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/site-start (source)...done
... done.
An error has occurred while loading `/Users/josephla/.emacs':
File error: Cannot open load file, slime
To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the `--debug-init' option to view a complete error backtrace.
Loading cl-seq...done
Loading derived...done
Loading cl-extra...done
Polling "/tmp/slime.3622".. (Abort with `M-x slime-abort-connection'.) [37 times]
Connecting to Swank on port 55843..
Process bridge is installed
Loading animate...done
Connected. Your hacking starts... NOW!
Mark set [4 times]
-----Original Message-----
From: cmdist-admin at ccrma.Stanford.EDU on behalf of Rick Taube
Sent: Tue 10/17/2006 2:42 PM
To: Joseph Anderson
Cc: Common Muisc List
Subject: Re: [CM] clm on os x
now sure whats up with indentation.
try adding this to a ~/.emacs file:
(require 'slime)
(define-key slime-mode-map (kbd "TAB") 'slime-indent-anything)
(defun slime-indent-anything ()
"Do line indentation/symbol completion; indent region if
selected; indent whole defun if prefixed."
(interactive)
(if current-prefix-arg
(slime-reindent-defun )
(if (and (and mark-active (not (null (mark))))
(> (count-lines (region-beginning) (region-end)) 1))
(lisp-indent-region (region-beginning) (region-end))
(slime-indent-and-complete-symbol))))
_______________________________________________
Cmdist mailing list
Cmdist at ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: not available
URL: <https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20061017/65760715/attachment.ksh>
More information about the Cmdist
mailing list