= Windows = 1. Download and install [http://ourcomments.org/Emacs/EmacsW32.html EmacsW32] (click on “Download latest EmacsW32 + binaries for Emacs” and then on “Download latest EmacsW32+Emacs patched”). 2. Download the Windows version of [http://trac.clozure.com/openmcl Clozure Common Lisp]. Unpack the .zip file and move the ccl folder somewhere, e.g. to {{{c:\Program Files\}}}. 3. Download [http://www.gnuplot.info/ Gnuplot] from [http://sourceforge.net/projects/gnuplot/files/ here] (scroll down to the latest version and then download the {{{gpXXXwin32.zip}}} file). Unpack the .zip file and manually move the {{{gnuplot}}} folder somewhere, for example to {{{c:\Program Files\}}}. 4. Download and install [http://www.graphviz.org/ Graphviz] from [http://www.graphviz.org/Download_windows.php here]. 5. Download the latest version of [http://common-lisp.net/project/slime/ 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 [http://www.7-zip.org/ 7-Zip]. Rename the unpacked folder from {{{slime-xxxx-xx-xx}}} to {{{slime}}} and move it somewhere else (e.g. to {{{c:\Program Files\}}}). 6. Set your Path system environment variable so that the installed programs can find each other. Go to Start Menu → Settings → Control Panel → System → Advanced → Environment Variables → System Variables and then edit the value for the variable {{{Path}}}.\\ [[Image(https://ai.vub.ac.be/tracbabel2/BabelInstallation/windows-path-settings1.png)]]\\ Append the directories of the ccl, gnuplot and graphviz binaries, for example {{{ C:\Program Files\Graphviz2.24\bin;C:\Program Files\ccl;C:\Program Files\gnuplot\bin }}} (This is an example. Replace the directories with the folders where you installed these tools.) 7. For configuring your Emacs, use a text editor to create a plain text file called ‘{{{_emacs}}}' (without extension) in your “Application Data” folder. The location of this folder depends on your Windows version, but for example on my Windows XP the folder is called {{{!c:/Documents and Settings/Your Name/Application Data/}. For finding out where your “Application Data” folder is, open the Windows command prompt (from the start menu) and type {{{ echo %APPDATA% and then ENTER. }}} Note this folder is “hidden”, so it might be that you will have to [http://www.microsoft.com/windowsxp/using/helpandsupport/learnmore/tips/hiddenfiles.mspx activate that hidden files are shown]. Add these lines to your _emacs file (adapt the path to your slime folder): {{{ (custom-set-variables '(cua-mode t nil (cua-base)) '(emacsw32-style-frame-title t) '(show-paren-mode t) '(column-number-mode t) '(indent-tabs-mode nil) '(make-backup-files nil)) (setq inferior-lisp-program "wx86cl64") ;;; use this in 32Bit Windows ;;(setq inferior-lisp-program "wx86cl") (add-to-list 'load-path "c:/Program Files/slime") (require 'slime) (slime-setup '(slime-repl slime-autodoc slime-fancy-inspector)) ;;; this automatically starts the lisp (command-execute 'slime) }}} 8. Done! When you run Emacs now it should automatically start the lisp and look somehow like this:\\ [[Image(http://ai.vub.ac.be/tracbabel2/BabelInstallation/emacs-on-windows.png)]]\\ If not, then something went wrong with the steps above (try again). 9. Note that in ccl (version 1.3, August 2009) on Windows, there might be an occasional “Fault during read of memory address” message. Just ignore that message, close the message buffer and continue. 10. Finally, install either [http://www.google.com/chrome Google Chrome] (recommended) or [http://www.mozilla.com/firefox Firefox] (Internet Explorer doesn’t work with the web interface of Babel2). 11. Take 30 minutes to read [wiki:UsingEmacs how to use Emacs together with Lisp] and then follow the instructions for [wiki:RunningBabel2 setting up Babel2].