Passing SBCL options to slime?

85 Views Asked by At

How do I increase the stack size in a slime session.

I can do it in the terminal with:

$> sbcl --control-stack-size 5

How do I do this in slime?

1

There are 1 best solutions below

3
ad absurdum On BEST ANSWER

In your emacs init.el or .emacs file you can include program arguments in the settings of slime-lisp-implementations. For example:

;; Set available Lisp implementations
(setq slime-lisp-implementations
      '((sbcl ("/usr/local/bin/sbcl" "--control-stack-size" "5"))
        (cmucl ("lisp"))
        (ccl ("ccl64"))
        (clisp ("clisp"))))