Difference between revisions of "Slime"

From ArchWiki
Jump to: navigation, search
(use https for links to archlinux.org)
(flagged broken section links (interactive))
(Tag: wiki-scripts)
 
(6 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Out of date}}
 
 
[[Category:Development]]
 
[[Category:Development]]
 +
[[ja:Slime]]
 
== Introduction ==
 
== Introduction ==
  
[http://www.common-lisp.net/project/slime/ SLIME] (Superior Lisp Interaction Mode for [[Emacs]]) provides a development environment for [http://www.sbcl.org SBCL] (detailed in this article), [http://www.cons.org/cmucl/ CMUCL], [http://clisp.cons.org/ CLISP] and other [http://en.wikipedia.org/wiki/Lisp_(programming_language) Lisp] implementations.
+
[http://www.common-lisp.net/project/slime/ SLIME] (Superior Lisp Interaction Mode for [[Emacs]]) provides a development environment for [http://www.sbcl.org SBCL] (detailed in this article), [http://www.cons.org/cmucl/ CMUCL], [http://clisp.cons.org/ CLISP] and other [[wikipedia:Lisp_(programming_language)|Lisp]] implementations.
  
 
The components required are:
 
The components required are:
Line 12: Line 12:
  
 
== Installation ==
 
== Installation ==
[[Pacman|Install]] {{Pkg|emacs}} and {{Pkg|sbcl}} from the [[official repositories]] and {{AUR|slime-cvs}} from the [[AUR]].
+
[[Install]] {{Pkg|emacs}} and {{Pkg|sbcl}} from the [[official repositories]] and {{AUR|slime-git}} from the [[AUR]]. Alternatively, slime can be installed with [https://www.quicklisp.org/beta/ quicklisp].
  
 
== Configuration ==
 
== Configuration ==
  
''From the [https://repos.archlinux.org/wsvn/community/slime-cvs/repos/community-any/slime.install .INSTALL] file.''
+
''From the [http://pkgbuild.com/git/aur-mirror.git/plain/slime-cvs/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]]{{Broken section link}}:
 
    
 
    
 
  (setq inferior-lisp-program "/path/to/lisp-executable")
 
  (setq inferior-lisp-program "/path/to/lisp-executable")

Latest revision as of 10:54, 7 August 2016

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-gitAUR from the AUR. Alternatively, slime can be installed with quicklisp.

Configuration

From the .INSTALL file.

To make use of slime, add the following lines to your init file[broken link: invalid section]:

(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