[CM] Xemacs/CM error

James Baker cycle.code.media@gmail.com
Tue, 27 Mar 2007 02:20:04 +1000


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!
>