<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>RE: [CM] SBCL/CM + SLIME = [Error  ]  No executable found.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->
<BR>

<P><FONT SIZE=2>Hi Rick,<BR>
<BR>
Thanks, good to hear the SLIME is now built into Aquamacs. I was able to get this working with some tweaks -- for some reason Aquamacs wasn't finding SBCL when calling cm-program, even though I have the path in my .cshrc, so I had to provide full path:<BR>
<BR>
<BR>
(require 'slime)<BR>
(slime-setup)<BR>
(add-to-list 'load-path &quot;/Applicatons/lisp/cm/etc/xemacs&quot;)<BR>
(setq cm-program &quot;/Applications/lisp/cm/bin/cm.sh -l /usr/local/bin/sbcl&quot;)<BR>
(load &quot;/Applications/lisp/cm/etc/xemacs/cm.el&quot;)<BR>
(enable-cm-commands)<BR>
<BR>
Now I am well on my way to having my PICACS (Bézier spline modeling software) running again...<BR>
<BR>
-=B<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Heinrich Taube [<A HREF="mailto:taube@uiuc.edu">mailto:taube@uiuc.edu</A>]<BR>
Sent: Sun 3/23/2008 8:20 PM<BR>
To: Bret Battey<BR>
Cc: Common Muisc List<BR>
Subject: Re: [CM] SBCL/CM + SLIME = [Error&nbsp; ]&nbsp; No executable found.<BR>
<BR>
not sure whats going wrong&nbsp; but it may be several things. first,&nbsp; for&nbsp;<BR>
more recent cm's (current in svn is 2.11.3) the pathname to cm.el is&nbsp;<BR>
cm/etc/emacs/cm.el not cm/xemacs/cm.el<BR>
<BR>
this is what i have in my emacs file that works fine on osx/aquamacs:<BR>
<BR>
(require 'slime)<BR>
(slime-setup)<BR>
(add-to-list 'load-path &quot;/Lisp/cm/etc/emacs/&quot;)<BR>
(setq cm-program &quot;/Lisp/cm/bin/cm.sh -l sbcl&quot;)<BR>
(load &quot;cm.el&quot;)<BR>
;(load &quot;sal-mode.el&quot;)<BR>
(enable-cm-commands)<BR>
<BR>
<BR>
then M-x cm should work.<BR>
<BR>
you can also download the GraceCL app, its editor is quite emacs like,&nbsp;<BR>
then only gotcha is that opening large files takes a long time due to&nbsp;<BR>
the horrible way i have to implement syntax highlighting in juce.<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
&gt; I'm currently trying to get SBCL working with CM running with Slime/<BR>
&gt; Aquamacs.<BR>
&gt; Mac OS 10.4<BR>
&gt;<BR>
&gt; Following Rick's instructions in the html pages in the CM package,&nbsp;<BR>
&gt; excepting that I'm putting cm, clm, slime etc in /Applications/lisp/&nbsp;<BR>
&gt; rather than /usr etc.<BR>
&gt;<BR>
&gt; I've added the following to my .emacs file<BR>
&gt;<BR>
&gt; (add-to-list 'load-path &quot;/Applications/lisp/slime-2.0/&quot;)<BR>
&gt; (add-to-list 'load-path &quot;/Applications/lisp/cm/&quot;)<BR>
&gt; (load &quot;etc/xemacs/cm.el&quot;)<BR>
&gt; (enable-cm-commands)<BR>
&gt;<BR>
&gt; and restarted Aquamacs<BR>
&gt;<BR>
&gt; M-x cm<BR>
&gt;<BR>
&gt; results in:<BR>
&gt; (load &quot;/Applications/lisp/slime-2.0/swank-loader.lisp&quot; :verbose t)<BR>
&gt; (swank:start-server &quot;/tmp/slime.775&quot; :external-format :iso-latin-1-<BR>
&gt; unix)<BR>
&gt;<BR>
&gt; [Error&nbsp; ]&nbsp; No executable found.<BR>
&gt; Aborting.<BR>
&gt;<BR>
&gt; Process inferior-lisp exited abnormally with code 1<BR>
&gt;<BR>
&gt;<BR>
<BR>
<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>