Instead of installing a lisp, gnuplot, graphviz and Babel2 on your windows machine it might be more
convenient to opt for the Virtual Machine instructions[cached version].
This will give you a virtual linux installation with everything pre-installed. You can then simply ignore the following instructions.
If you would like to have a version running natively under Windows then the following instruction are for you.
- Download and install EmacsW32.
Choose "Download latest EmacsW32+Emacs patched"
- Download Clozure Common Lisp (CCL).
Unpack the archive and then move the ccl folder somewhere where you want to keep it,
for example to C:\Program Files\.
Download and install Gnuplot.
You should twice go into a subfolder until you see a file called gpxxx-win32-setup.exe.
Download and install Graphviz.
Download the .msi file for the stable release.
Download the latest version of Slime (use ”cvs snapshot in tarfile format”).
Unpack it. Depending on the Zip program that you use, you might have to unpack the folder in two steps (first the .tgz file and then the .tar file inside).
If you don’t have a program to unpack .tgz files, try 7-Zip.
Rename the unpacked folder from slime-xxxx-xx-xx to slime and move it somewhere else (e.g. to c:\Program Files\).
Set your Path system environment variable so that the installed programs can find each other.
Go to Start Menu (→ Settings) → Control Panel → System → Advanced (System Settings) → Environment Variables... (button at the bottom of tab Advanced) → System Variables
and then edit the value for the variable Path (which is in the list of System variables)
by appending the directories of ccl, gnuplot and graphviz binaries. For example:
C:\Program Files (x86)\Graphviz2.32\bin;C:\Program Files (x86)\ccl;C:\Program Files (x86)\gnuplot\bin
Make sure these paths are indeed correct. If you have your programs somewhere else, use those directories. The Program Files folder might also not be exactly the same on all windows versions (the x86 is usually not there on XP),
and also the Graphviz version has probably changed.
Changing your path on Windows 7 should look something like this.
For configuring your Emacs, use a text editor to create a plain text file called ‘_emacs' (without extension but with underscore)
in your “Application Data” folder. The location of this folder depends on your Windows version, but for example
on Windows 7 the folder might be called C:/Users/YourName/AppData/Roaming.
For finding out where your “Application Data” folder is, open the Windows command prompt (from the start menu) and type
Add the following lines to this .emacs file and adapt the path to your Slime folder.
'(cua-mode t nil (cua-base))
(setq inferior-lisp-program "wx86cl64.exe")
;;; use this in 32Bit Windows
;;(setq inferior-lisp-program "wx86cl.exe")
(add-to-list 'load-path "c:/Program Files/slime")
(slime-setup '(slime-repl slime-autodoc slime-fancy-inspector))
;;; this automatically starts the lisp
Done! When you start Emacs it hopefully automatically starts a Lisp and looks like this
- If not, then something in the steps above went wrong, try again.
If you are still using Internet Explorer (really?) then please install either Chrome or Firefox
as these two browsers work well with the Babel2 web interface..
- Time to install Babel 2.