- No REPL by default: Slime no longer gives you a REPL by default, as you can use slime without a REPL. To specify that you want one (see file "NEWS" in the slime cvs download):
(defun cliki:start-slime () (unless (slime-connected-p) (save-excursion (slime)))) (add-hook 'slime-mode-hook 'cliki:start-slime)
C-u M-x slimeyou are given the option of starting additional Lisp processes and connecting to them, resulting in multiple REPL buffers. The
lisp-modebuffers will use the most recently opened connection, unless you cycle to another with
C-u M-x slime) as "
clisp -K full" to include the
fulllinking set. The default
baselinking set does not include the
REGEXPmodule, upon which SLIME depends. Failure to use a linking set including the
REGEXPmodule causes SLIME to complain about the missing
Alternatively, you can set
.emacsfile to the correct executable and args:
(setq inferior-lisp-program "clisp -K full")
FAIRLY-STABLECVS tag. The CVS incantation is:
cvs update -r FAIRLY-STABLE .Generally speaking the FAIRLY-STABLE tag is set immediately before some dangerous changes are being made. Thus during periods of general stability it may be quite out-of-date and less featureful than the current version.
...A file with name /c/cygwin/usr/share/emacs/site-lisp/slime/swank-loader does not exist...One easy fix is to mount the Windows volume under the Cygwin root:
mkdir /c touch /c/NOT_MOUNTED mount C:\\ /c
(add-hook 'lisp-mode-hook (defun my-lisp-mode-hook () (set (make-local-variable 'lisp-indent-function) 'common-lisp-indent-function)))
Alternatively, try adding the following in your ~/.emacs:
`M-x customize-group slime-debugger'to make the debugger pretty.
(set-language-environment "UTF-8") (setq slime-net-coding-system 'utf-8-unix)
(This is taken from a blog entry, where he goes on to say: A Unicode aware Lisp implementation such as Clisp or SBCL and Emacs version 21.4 or greater. I won't go into setting those up here, but in Gentoo you'll need to be sure SBCL is emerged with the "unicode" USE flag, and Emacs with the "leim" use flag and some tweaking to the ebuild.)
Can anyone say whether it's possible to use SLIME in conjunction with attachtty? In particular, I'm wanting to connect to a Linux box running CMUCL/detachtty from my Mac running OS X. attachtty from the command line works fine, but that's not terribly useful. :-) Trying to use SLIME just specifying
inferior-lisp-modeas the attachtty command line results in numerous errors which appear to be from SLIME trying to load its files (locally in /Users/me/whatever) on the Linux box (obviously they aren't there).
Actually, you don't even need detachtty. But still I prefer to use it, so that I can attach back to it if something breaks even the swank server (e.g. entering the debugger). You have to add something like the following to your application:
(swank:create-server)Then you can use SLIME's slime-connect command.