You are looking at historical revision 22487 of this page. It may differ significantly from its current revision.

slime

Description

Provides a SWANK server allowing the use of SLIME with Chicken Scheme.

Author

Nick Gasson

Requirements

Documentation

First you must install SLIME using a CVS checkout and make sure it is on your Emacs load-path. For example:

(add-to-list 'load-path "~/.emacs.d/slime")    ; Where you installed SLIME

SLIME can be customised by enabling and disabling various features, the following is a good initial setup:

(require 'slime)
(slime-setup '(slime-fancy slime-banner))

Consult the SLIME manual for more detailed setup instructions.

The Egg provides a wrapper chicken-slime.el package that should be loaded like this:

(add-to-list 'load-path "/usr/local/lib/chicken/5/")   ; Where Eggs are installed
(autoload 'chicken-slime "chicken-slime" "SWANK backend for Chicken" t)

We also want to enable the SLIME minor mode in Scheme files:

(add-hook 'scheme-mode-hook
          (lambda ()
           (slime-mode t)))

If your csi executable is not somewhere on the PATH you must set it explicitly like this:

(setq slime-csi-path "/path/to/bin/csi")

For documentation commands the chicken-doc Egg must be installed and configured. See the chicken-doc-admin page for instructions.

Now you should be able to start a Chicken REPL in SLIME using:

M-x chicken-slime

For detailed SLIME usage you are recommended to read the SLIME manual. Note that not all SLIME commands are supported in the Chicken implementation and some are applicable only to Common Lisp. The next section outlines the features that are implemented.

Supported Commands

License

MIT

Version history

None officially released yet