将SBCL选项传递给slime?

huangapple go评论50阅读模式
英文:

Passing SBCL options to slime?

问题

如何在一个slime会话中增加堆栈大小。

我可以在终端中这样做:

$> sbcl --control-stack-size 5

我如何在slime中做到这一点?

英文:

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

得分: 4

在你的emacs init.el.emacs文件中,你可以在slime-lisp-implementations的设置中包含程序参数。例如:

;; 设置可用的Lisp实现
(setq slime-lisp-implementations
      '((sbcl ("/usr/local/bin/sbcl" "--control-stack-size" "5"))
        (cmucl ("lisp"))
        (ccl ("ccl64"))
        (clisp ("clisp"))))
英文:

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"))))

huangapple
  • 本文由 发表于 2023年7月13日 22:56:37
  • 转载请务必保留本文链接:https://go.coder-hub.com/76680817.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定