[CM] Xemacs/CM error

Landspeedrecord landspeedrecord@gmail.com
Mon, 26 Mar 2007 15:56:50 -0400


------=_Part_103604_9389635.1174939010677
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks for the help Rick and James!  Turns out that I had moved & renamed my
Clisp folder and the batch file was looking for the old location.  When I
deleted the batch file and re-ran Common Music from plain old Clisp a new
batch file was created and now when I run Common Music from Xemacs it
launches fine.

One question though... I am still getting an error about "gnu-plot".  Is
there a way to force clisp/commonmusic to just skip that part of the load?

This is the error I get:
; Loading "bin\\clisp_2.41_windows-i686\\gnuplot.fas"
*** - FIND-CLASS: GNUPLOT-FILE does not name a class
The following restarts are available:
SKIP           :R1      skip 30 32 (DEFMETHOD CLOSE-IO :AFTER ...)-6
STOP           :R2      stop loading file
C:\cygwin\lisp\cm\bin\clisp_2.41_windows-i686\gnuplot.fas
RETRY          :R3      Retry performing #<ASDF:LOAD-OP NIL #x19C1A43D> on
#<COMMON-LISP-USER::CM-SOURCE-FILE "gnuplot" #x19C18B21>.
ACCEPT         :R4      Continue, treating #<ASDF:LOAD-OP NIL #x19C1A43D> on
#<COMMON-LISP-USER::CM-SOURCE-FILE "gnuplot" #x19C18B21> as having been
successful.
SKIP           :R5      skip (USE-SYSTEM CM)

Etc...


On 3/26/07, Rick Taube <taube@uiuc.edu> wrote:
>
>
> i would take cm OUT of the loop untill you can start slime reliably
> using just a base clisp. once you are certain that clisp is starting
> then
> test your cm.bat file in the dos terminal to make sure its working:
> in their terminal cd to your cm/bin dir then type cm.bat to see if it
> finds your clisp and starts cm.
> if it does then go into your emacs file and add (setq cm-program "/
> path/to/cm/bin/cm.bat")
>
> just looking at all these pathnames gives me a headache :) you might
> consider having one parent dir to hold all your lisp stuff...
>
> > load "c:\\slime2.0\\swank-loader.lisp" :verbose t)
> > (swank:start-server "C:\\DOCUME~1\\LOCALS~1\\Temp\\slime.
> > 596" :external-format :iso-latin-1-unix)
> >
> > The system cannot find the path specified.
> >
> > Process inferior-lisp exited abnormally with code 1
> >
> > Here is the code I am inserting into Xemacs init.el file (maybe
> > this is the source of the problem?):
> >
> >     (add-to-list 'load-path "\\slime2.0\\")
> >     (add-to-list 'load-path "\\cygwin\\lisp\\cm\\")
> >     (setq cm-program "c:/cygwin/lisp/cm/bin/cm.bat")
> >     (load "etc\\xemacs\\cm.el")
> >     (enable-cm-commands)
>

------=_Part_103604_9389635.1174939010677
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Thanks for the help Rick and James!&nbsp; Turns out that I had moved &amp; renamed my Clisp folder and the batch file was looking for the old location.&nbsp; When I deleted the batch file and re-ran Common Music from plain old Clisp a new batch file was created and now when I run Common Music from Xemacs it launches fine.
<br><br>One question though... I am still getting an error about &quot;gnu-plot&quot;.&nbsp; Is there a way to force clisp/commonmusic to just skip that part of the load?<br><br>This is the error I get:<br>; Loading &quot;bin\\clisp_2.41_windows-i686\\gnuplot.fas&quot;
<br>*** - FIND-CLASS: GNUPLOT-FILE does not name a class<br>The following restarts are available:<br>SKIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :R1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; skip 30 32 (DEFMETHOD CLOSE-IO :AFTER ...)-6<br>STOP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :R2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; stop loading file C:\cygwin\lisp\cm\bin\clisp_2.41_windows-i686\gnuplot.fas
<br>RETRY&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :R3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Retry performing #&lt;ASDF:LOAD-OP NIL #x19C1A43D&gt; on #&lt;COMMON-LISP-USER::CM-SOURCE-FILE &quot;gnuplot&quot; #x19C18B21&gt;.<br>ACCEPT&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :R4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Continue, treating #&lt;ASDF:LOAD-OP NIL #x19C1A43D&gt; on #&lt;COMMON-LISP-USER::CM-SOURCE-FILE &quot;gnuplot&quot; #x19C18B21&gt; as having been successful.
<br>SKIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; :R5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; skip (USE-SYSTEM CM)<br><br>Etc...<br><br><br><div><span class="gmail_quote">On 3/26/07, <b class="gmail_sendername">Rick Taube</b> &lt;<a href="mailto:taube@uiuc.edu">taube@uiuc.edu</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>i would take cm OUT of the loop untill you can start slime reliably<br>using just a base clisp. once you are certain that clisp is starting
<br>then<br>test your cm.bat file in the dos terminal to make sure its working:<br>in their terminal cd to your cm/bin dir then type cm.bat to see if it<br>finds your clisp and starts cm.<br>if it does then go into your emacs file and add (setq cm-program &quot;/
<br>path/to/cm/bin/cm.bat&quot;)<br><br>just looking at all these pathnames gives me a headache :) you might<br>consider having one parent dir to hold all your lisp stuff...<br><br>&gt; load &quot;c:\\slime2.0\\swank-loader.lisp
&quot; :verbose t)<br>&gt; (swank:start-server &quot;C:\\DOCUME~1\\LOCALS~1\\Temp\\slime.<br>&gt; 596&quot; :external-format :iso-latin-1-unix)<br>&gt;<br>&gt; The system cannot find the path specified.<br>&gt;<br>&gt; Process inferior-lisp exited abnormally with code 1
<br>&gt;<br>&gt; Here is the code I am inserting into Xemacs init.el file (maybe<br>&gt; this is the source of the problem?):<br>&gt;<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (add-to-list &#39;load-path &quot;\\slime2.0\\&quot;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (add-to-list &#39;load-path &quot;\\cygwin\\lisp\\cm\\&quot;)
<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (setq cm-program &quot;c:/cygwin/lisp/cm/bin/cm.bat&quot;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (load &quot;etc\\xemacs\\cm.el&quot;)<br>&gt;&nbsp;&nbsp;&nbsp;&nbsp; (enable-cm-commands)<br></blockquote></div><br>

------=_Part_103604_9389635.1174939010677--