Up: SLIME Mode   [Index]


F.3.4.1 SLIME Installation

Install SLIME using Emacs’ package manager.

Define a default Lisp program using the variable ‘inferior-lisp-program’.

(setq inferior-lisp-program "/opt/sbcl/bin/sbcl")

SLIME can be run using the command ‘slime’.

[C-u] M-x slime

This command runs the command ‘inferior-lisp’, which starts ‘inferior-lisp-mode’ and starts an inferior lisp process; and then starts the lisp server "Swank"; and establishes a socket connection between Emacs and Lisp; and starts a REPL buffer where you can enter Lisp expressions for evaluation.

With a prefix argument, Emacs will prompt for the program.