Slime

From ArchWiki
Revision as of 00:22, 4 November 2010 by Nalbyuites (Talk | contribs) (Configuration: Changed 1)require 'slime to require 'slime-autoloads. It changes *inferior-lisp* buffer to *slime-repl clisp*. 2)slime-fancy for some useful contrib modules 3)slime-banner)

Jump to: navigation, search

Introduction

SLIME (Superior Lisp Interaction Mode for Emacs) provides a development environment for SBCL (detailed in this article), CMUCL, CLISP and other Lisp implementations.

The components required are:

  • emacs
  • sbcl
  • slime

Installation

# pacman -S emacs sbcl slime-cvs
Note: It is also possible to install slime from the AUR, though the -cvs package is recommended by the upstream developers.

Configuration

From the .INSTALL file.

To make use of slime, add the following lines to your init file:

(setq inferior-lisp-program "/path/to/lisp-executable")
(add-to-list 'load-path "/usr/share/emacs/site-lisp/slime/")
(require 'slime-autoloads)
(slime-setup '(slime-fancy slime-banner))

Then run M-x slime from within emacs.

Resources