[slime-devel] Current way to use multiple lisp implementations?

Helmut Eller heller at common-lisp.net
Tue Oct 25 10:33:16 UTC 2005

* Bill Clementson [2005-10-25 00:32+0200] writes:

> This more recent message explains the current 'right' way:
> http://common-lisp.net/pipermail/slime-devel/2005-October/004148.html

It changed again a little since then.  I renamed the variable to
slime-lisp-implementations and if that variable is non-nil then the
first entry is used for `M-x slime'.  If slime-lisp-implementations is
nil, inferior-lisp-program is used as default.

`M-- M-x slime' can be used to select another entry from
slime-lisp-implementations. `C-u M-x slime' can still be used to
interactively specify the command.

For example:

(setq slime-lisp-implementations
      '((cmucl ("/opt/cmucl/bin/lisp"))
	(acl-mule ("acl7") :coding-system emacs-mule-unix)
	(clisp ("clisp" "-q"))
	(xclisp ("clisp" "-q" "-M" "/tmp/x.mem")
		:init (lambda (file _) 
			(format "(swank:start-server %S)\n\n" file)))))

and cmucl will be used as default.

More information about the slime-devel mailing list