<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6619.9">
<TITLE>Problem installing slime on emacs 22 & windows XP.</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<UL>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">Hello group,</FONT>
</P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">I am in the embarassing situation that I have installed slime succesfully on one XP laptop, but fail to do it on my XP workstation. </FONT></P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">The main symptom on the failing machine is that after emacs opens up an inferior lisp process, it fails to load a lisp file with the following error message:</FONT></P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">LOAD: A file with name /c/lispbox-0.7/slime-20060110/swank-loader.lisp does not exist</FONT>
</P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">Here are some details of my setup:</FONT>
</P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">My procedure for installing slime was to try to copy the setup from lispbox-0.7. This is the "complete clisp+emacs+slime" installation for windows. I looked at lispbox.bat file, from which I gathered that in emacs I need to </FONT></P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">1: define the environment variable LISPBOX_HOME</FONT>
<BR><FONT COLOR="#008080" SIZE=2 FACE="Verdana">2: load lisbox.el and </FONT>
<BR><FONT COLOR="#008080" SIZE=2 FACE="Verdana">3: execute slime.</FONT>
</P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">Well, I managed to do that on the laptop. Initially I had problems because I had installed both lispbox-0.7 directory and the slime-2.0 directory in c:\Program Files (with the space). These two directories are now residing directly under C:. After further work, my .emacs file has the following slime-related code:</FONT></P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">(setq inferior-lisp-program (concat</FONT>
<BR> <FONT COLOR="#008080" SIZE=2 FACE="Verdana"> (local-setting 'cygwin-root)</FONT>
<BR> <FONT COLOR="#008080" SIZE=2 FACE="Verdana"> (local-setting 'cygwin-clisp)))</FONT>
<BR><FONT COLOR="#008080" SIZE=2 FACE="Verdana">(add-to-list 'load-path (local-setting 'slime))</FONT>
<BR><FONT COLOR="#008080" SIZE=2 FACE="Verdana">(load "lispbox"))</FONT>
</P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">Here the (local-setting …) retrieves my cygwin root and my clisp directories, so that emacs can find clisp. I am attaching lispbox.el. At the end of the file, it does some stuff to prep slime (slime-setup).<FONT FACE="Arial" SIZE=2 COLOR="#000000"> <<lispbox.el>> </FONT></FONT></P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">The inferior lisp buffer can interact with clisp (the one that came with cygwin). </FONT>
</P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">Thank you very much for your help,</FONT>
</P>
<P><FONT COLOR="#008080" SIZE=2 FACE="Verdana">Mirko</FONT>
</P>
</UL>
</BODY>
</HTML>