[CM] CM Clisp 2.46 Cygwin shell start and bat file Vista 32

Heinrich Taube taube at uiuc.edu
Fri Mar 20 08:01:05 PDT 2009


did you see my post a few days ago on running cm in emacs? ive  
included it at the bottom of this message

if you use that then your students just have to type
	m-x: cm
it works witht he latest emacs and cm2 on my windwos box
if you can get that to work, and it doestn work with cm 2.10 then I  
can fix that im sure. but i dont want to do that unless you get it  
working at all.

On Mar 20, 2009, at 9:07 AM, Sean Reed wrote:

> Although I can get it to work by loading everything separately  
> (either through xemacs-slime or bash-shell clisp then load cm.lisp),  
> an environment where the students can just type "cm" would be much  
> easier on their command-line-challenged brains.
>



Hi there were some changes in recent slimes that caused things to not  
work but ive made fixes to cm/etc/emacs/cm.el and checked them into  
svn. I just reinstalled cm2 + clisp + emacs +  slime from scratch on  
my windows box and I dont have any problems now. So rather than try to  
fix you problem Ill just tell you what I did.  its basically a two  
step proccess; (1) installing lisp and (2) configureing emacs

Install clisp and cm on my local machine ( c: /Software/cm2 and c:/ 
Sofware/clisp-2.47)

1 svn'ed the lastest cm2 from today ( REV 1688 / cm 2.11.3)  into my  
C:/Software folder:
	svn co https://commonmusic.svn.sf.net/svnroot/commonmusic/branches/cm2
2 dowloaded and installed the latest clisp (clisp-2.47-win32-mingw- 
big.zip) into c:/Software/clisp-2.47
3 double-clicked C:/Software/clisp-2.47/install.bat to install clisp  
and typed 'y' to add a GNU-CLISP desktop icon to start clisp
4 double-clicked the GNU-CLISP icon on my desktop to start clisp
5 Loaded cm.lisp to build the system and to save cm2/bin/cm-clisp.bat :
       (load "/Software/cm2/src/cm.lisp")
6 Quit Clisp

At this point CM is compiled and it saved a CM startup script in cm2/ 
bin:

	C:/Software/cm2/bin/cm-clisp.bat

Configuring Emacs

1. downloaded the latest cvs snapshot of Slime into c:/Software/ 
slime-2009-03-16
2. Started Emacs and edited my Emacs init file:   ~/.emacs
3. Added the following to the top of my .emacs file. you have to  
change the directories for your machine:

(add-to-list 'load-path "/Software/slime-2009-03-16/")
(require 'slime)
(slime-setup '(slime-repl))
(setq cm-program "/Software/cm2/bin/cm-clisp.bat")
(add-to-list 'load-path "/Software/cm2/")
(load "etc/emacs/cm.el")
(enable-cm-commands)


4. saved .emacs file, the quit and restarted Emacs to make the changes  
to .emacs take effect.

3. Started CM by typeing
	M-x:  cm

Cm starts up in a slime repl window.  I can eval stuff from a .lisp  
buffer without problems.




On Mar 15, 2009, at 5:17 PM, Adam wrote:

_______________________________________________
Cmdist mailing list
Cmdist at ccrma.stanford.edu
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist



More information about the Cmdist mailing list