[CM] clm on os x

Joseph Anderson J.Anderson@hull.ac.uk
Tue, 17 Oct 2006 15:07:09 +0100


--MIRAPOINT_PART1_4534e370
content-class: urn:content-classes:message
Content-Type: text/plain;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

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/c=
m.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@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@ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist



--MIRAPOINT_PART1_4534e370
Content-Disposition: inline

*****************************************************************************************
To view the terms under which this email is distributed, please go to http://www.hull.ac.uk/legal/email_disclaimer.html
*****************************************************************************************
--MIRAPOINT_PART1_4534e370--