[CM] stuck on cm in emacs, w/ xp

James Hearon j_hearon@hotmail.com
Thu, 21 Sep 2006 05:14:45 +0000


Hi,
Newbie trying to start cm in emacs under xp.  Unsure about .el or .emacs 
file, and where it belongs.

I'm using: Win XP, w/command-prompt

lisp is clisp in
lispbox-0.7
which includes
emacs-21.3
slime-2005-12-27
Clisp-2.37

Have
CM 2.9.1 and working cm.bat in CM

run Lispbox.bat in command-prompt which starts emacs:

CLIPS Port:1288 Pid: 3822
; SLIME 2005-12-27
CL-USER>

But when i type M-x cm, i get no value.


directories under Lispbox-0.7:
Clisp-2.37
emacs-21.3
portableaserve-20051204.214932
practical-1.0.3
slime-20060110

I have tried placing init.el, and/or naming it init.emacs, and placing it in 
emacs-21.3 subdirectories including bin, etc, lisp, site-lisp

--------------------------------
(defvar cm-directory "C:/utah/opt/cm")

(defvar cm-startfile "cm.bat")

(let* ((els (concat cm-directory "C:/utah/opt/cm/xemacs"))
       (bin (concat cm-directory "C:/utah/opt/cm/bin/"
                    cm-startfile))
       (load-path (cons els load-path)))
  (load "listener")
  (load "cm")
  (setq inferior-lisp-program bin))