SE701:EmacsSlimeLispAtHome
Jump to navigation
Jump to search
Windows
Please help expand upon this. Its currently incomplete.
- Install SBCL
- Install Emacs
- Unzip Slime
- create a %HOME% env variable (Right click my computer -> properties -> Advanced system settings)
- Create a .emacs file (in your %HOME% dir) you might need to create a text file and use dos to rename it to .emacs (as windows does not recognise .emacs as a valid file name, type rename "New Text Document.txt" .emacs in a dos prompt, at the location of the new text file)
- add this code ...soon to come...
...
To run your programs
- Start emacs
- control-l to get a fresh document
- alt-x to run a command
- type "lisp-mode" enter
- alt-x
- type "slime" enter
...
OSX
- Install MacPorts
- Edit your ~/.profile to include the following lines, if MacPorts didn't already add them:
export PATH=/opt/local/bin:/opt/local/sbin:$PATH export MANPATH=/opt/local/share/man:$MANPATH
- Run "sudo port install slime emacs sbcl"
- Add the following to your ~/.emacs
(setq inferior-lisp-program "/opt/local/bin/sbcl --noinform") (require 'slime) (slime-setup)
You should now be able to fire up emacs, and M-x slime!