Difference between revisions of "Slime"

From ArchWiki
Jump to: navigation, search
(Slime-cvs is no longer in the repos.)
(use https for links to archlinux.org)
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Out of date}}
 
{{Out of date}}
[[Category:Development_(English)]]
+
[[Category:Development]]
 
== Introduction ==
 
== Introduction ==
  
Line 12: Line 12:
  
 
== Installation ==
 
== Installation ==
 
+
[[Pacman|Install]] {{Pkg|emacs}} and {{Pkg|sbcl}} from the [[official repositories]] and {{AUR|slime-cvs}} from the [[AUR]].
# 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 ==
 
== Configuration ==
  
''From the [http://repos.archlinux.org/wsvn/community/slime-cvs/repos/community-any/slime.install .INSTALL] file.''
+
''From the [https://repos.archlinux.org/wsvn/community/slime-cvs/repos/community-any/slime.install .INSTALL] file.''
  
 
To make use of slime, add the following lines to your [[Emacs#Customization|init file]]:
 
To make use of slime, add the following lines to your [[Emacs#Customization|init file]]:

Revision as of 00:38, 6 December 2012

Tango-view-refresh-red.pngThis article or section is out of date.Tango-view-refresh-red.png

Reason: please use the first argument of the template to provide a brief explanation. (Discuss in Talk:Slime#)

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

Install emacs and sbcl from the official repositories and slime-cvsAUR from the AUR.

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)
(slime-setup)

Then run M-x slime from within emacs.

Alternatively, for a fancier slime setup, you can change the above lines to:

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

Resources