SE701:SetupLabSlime
Note
I thought I had it -> but it appears that things are still not perfect, and by following these steps, you will be able to start up slime, but it will have an error on startup, and none of the cool slime features will be available
- This appears to be because there is a failure in compiling some files for slime. These are compiled the first time you run slime? Anyway, there is a compilation error so the file /.slime/fasl/2006-04-20/sbcl-0.8.18-linux-ppc/swank-sbcl.fasl is not available to the slime environment
First time
Emacs
- Start -> programs -> utilities -> XWin32 -> XWin32
- Session -> Add ->
- Connection method: StarNetSSH
- Session name: Emacs
- Host name: login.cs.auckland.ac.nz
- Login: your upi
- Command: emacs
- Password: your netaccount password
- Click save
- Click "Emacs" under Sessions, then "Launch" on the right hand side
- You should then get an emacs window appear
- c-x c-c is the command to quit :)
Slime
- Download slime and unzip to your H: drive (it should extract into a folder called slime-2.0 if using winzip)
- Open emacs, in the prompt, type c-x c-f .emacs
- hit enter
- This should give you a new file.
- Type the following:
(setq inferior-lisp-program "sbcl") (add-to-list 'load-path "/afs/ec.auckland.ac.nz/users/<your first name initial>/<the first letter of your last name>/<your upi>/echome/slime-2.0") (require 'slime) (slime-setup)
- c-x c-s to save the file
- c-x c-c to exit emacs
- open emacs again(by clicking the blue "X" in the taskbar, and selecting Emacs), and type m-x slime to get slime running
Future times
- Run emacs as before, and type m-x slime (no need to recreate your .emacs file)