Slime

SLIME (Superior Lisp Interaction Mode for Emacs) provides a development environment for Common Lisp in Emacs. This article assumes that SBCL will be used. It can be replaced with other implementations, e.g. CMUCL, ECL, CLISP.

Installation

Install emacs-slime and your preferred Common Lisp implementation. Alternatively, SLIME can be installed via quicklisp.

Configuration

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

gollark: It's totally possible to draw borders using a verifiable deterministic algorithm anyone interested can rerun.
gollark: Under *negative* utilitarianism yes, but bad.
gollark: These are all somewhat arbitrary, but something something is-ought problem.
gollark: Utilitarian-ly speaking, most people would prefer not to die and/or this reduces total and average happiness. Rights-based ethical systems would say that you do not have a right to kill people.
gollark: And some technological things have an outsized impact compared to other things.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.