[CM] Xemacs/CM error

Landspeedrecord landspeedrecord@gmail.com
Mon, 26 Mar 2007 13:48:05 -0400


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

Thanks!

That seemed to help - now I have a new problem:

The error I get is:

(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)

On 3/26/07, Rick Taube <taube@uiuc.edu> wrote:
>
> yes thanks. for more infor about slime see a note i sent to the list
> earlier today.
>
> i wish i could do something better for windows -- does their new
> Vista have a reasonable shell language or is it still the same dos
> nonsense under the hood?
>
> On Mar 26, 2007, at 11:20 AM, James Baker wrote:
>
> > you need to set cm-program, otherwise emacs attempts to launch a shell
> > script (something windows knows nothing about)
> >
> > add the following to your .emacs (make sure to alter the path to where
> > cm is located on your system)
> >
> > (setq cm-program "c:/path/to/cm/bin/cm.bat")
> >
> > On 3/27/07, Landspeedrecord <landspeedrecord@gmail.com> wrote:
> >> So I switched from CYGWIN/clisp to plain on clisp on XP.  Thanks
> >> to those
> >> who suggested I make the switch.
> >>
> >> I am now trying to get Xemacs/SLIME/Clisp/CM working.  I followed the
> >> "running common music in Emacs" tutorial on the common music
> >> homepage and I
> >> am getting a weird error when I try to launch Common Music in
> >> Xemacs (by
> >> doing M-x cm).
> >>
> >> The error says: Peculiar Error (file-error "error starting" "Exec
> >> format
> >> error" . "c:\\lisp\\cm\\bin\\cm.sh").
> >>
> >> Any ideas what might be going on?
> >>
> >> FWIW I am running several different lisps on my XP machine and I
> >> have no
> >> idea if Xemacs/SLIME is using Clisp or one of the other lisps.
> >> Any tips on
> >> how to determine this?
> >>
> >> Thanks!
> >>
> >
> > _______________________________________________
> > Cmdist mailing list
> > Cmdist@ccrma.stanford.edu
> > http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>
> _______________________________________________
> Cmdist mailing list
> Cmdist@ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist
>

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

Thanks!<br><br>That seemed to help - now I have a new problem:<br><br>The error I get is:<br><br>(load &quot;c:\\slime2.0\\swank-loader.lisp&quot; :verbose t)<br>(swank:start-server &quot;C:\\DOCUME~1\\LOCALS~1\\Temp\\slime.596&quot; :external-format :iso-latin-1-unix)
<br><br>The system cannot find the path specified.<br><br>Process inferior-lisp exited abnormally with code 1<br><br>Here is the code I am inserting into Xemacs init.el file (maybe this is the source of the problem?):<br>
<br>&nbsp;&nbsp;&nbsp; (add-to-list &#39;load-path &quot;\\slime2.0\\&quot;) <br>&nbsp;&nbsp;&nbsp; (add-to-list &#39;load-path &quot;\\cygwin\\lisp\\cm\\&quot;) <br>&nbsp;&nbsp;&nbsp; (setq cm-program &quot;c:/cygwin/lisp/cm/bin/cm.bat&quot;)<br>&nbsp;&nbsp;&nbsp; (load &quot;etc\\xemacs\\cm.el&quot;)
<br>&nbsp;&nbsp;&nbsp; (enable-cm-commands)<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;">
yes thanks. for more infor about slime see a note i sent to the list<br>earlier today.<br><br>i wish i could do something better for windows -- does their new<br>Vista have a reasonable shell language or is it still the same dos
<br>nonsense under the hood?<br><br>On Mar 26, 2007, at 11:20 AM, James Baker wrote:<br><br>&gt; you need to set cm-program, otherwise emacs attempts to launch a shell<br>&gt; script (something windows knows nothing about)
<br>&gt;<br>&gt; add the following to your .emacs (make sure to alter the path to where<br>&gt; cm is located on your system)<br>&gt;<br>&gt; (setq cm-program &quot;c:/path/to/cm/bin/cm.bat&quot;)<br>&gt;<br>&gt; On 3/27/07, Landspeedrecord &lt;
<a href="mailto:landspeedrecord@gmail.com">landspeedrecord@gmail.com</a>&gt; wrote:<br>&gt;&gt; So I switched from CYGWIN/clisp to plain on clisp on XP.&nbsp;&nbsp;Thanks<br>&gt;&gt; to those<br>&gt;&gt; who suggested I make the switch.
<br>&gt;&gt;<br>&gt;&gt; I am now trying to get Xemacs/SLIME/Clisp/CM working.&nbsp;&nbsp;I followed the<br>&gt;&gt; &quot;running common music in Emacs&quot; tutorial on the common music<br>&gt;&gt; homepage and I<br>&gt;&gt; am getting a weird error when I try to launch Common Music in
<br>&gt;&gt; Xemacs (by<br>&gt;&gt; doing M-x cm).<br>&gt;&gt;<br>&gt;&gt; The error says: Peculiar Error (file-error &quot;error starting&quot; &quot;Exec<br>&gt;&gt; format<br>&gt;&gt; error&quot; . &quot;c:\\lisp\\cm\\bin\\cm.sh&quot;).
<br>&gt;&gt;<br>&gt;&gt; Any ideas what might be going on?<br>&gt;&gt;<br>&gt;&gt; FWIW I am running several different lisps on my XP machine and I<br>&gt;&gt; have no<br>&gt;&gt; idea if Xemacs/SLIME is using Clisp or one of the other lisps.
<br>&gt;&gt; Any tips on<br>&gt;&gt; how to determine this?<br>&gt;&gt;<br>&gt;&gt; Thanks!<br>&gt;&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Cmdist mailing list<br>&gt; <a href="mailto:Cmdist@ccrma.stanford.edu">
Cmdist@ccrma.stanford.edu</a><br>&gt; <a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist">http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br><br>_______________________________________________<br>Cmdist mailing list
<br><a href="mailto:Cmdist@ccrma.stanford.edu">Cmdist@ccrma.stanford.edu</a><br><a href="http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist">http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist</a><br></blockquote></div>
<br>

------=_Part_98598_27140074.1174931285159--