在spacemacs中,我可以用cider-jack-in开始一杯苹果酒:它写着“已连接”。后面跟着一个引号,不出所料。但是,cider-switch-to-repl-buffer不会打开repl缓冲区,而只是生成以下消息:
Invalid function: (repl (or the-repl a-repl))
在谷歌上搜索'cider‘invalid function repl’‘只能得到一个与nim模式(https://github.com/clojure-emacs/cider/issues/1712)相关的苹果酒问题,这不是我安装的配置层之一。
我可以使用lein repl从终端运行repl,没有问题。
发布于 2017-12-17 06:52:38
在尝试调试此问题时,我遇到了以下“解决方案”。我不知道为什么它会工作,它也不是很令人满意,但它似乎确实解决了问题。
在spacemacs中,使用SPC t D
SPC m s s
(repl (or the-repl a-repl))上敲击ENTER打开cider-mode.el。cider-mode.el进行任何编辑并保存。完成此操作后,SPC m ' (cider-jack-in)和SPC m s s (cider-switch-to-repl-buffer)将根据需要打开repl缓冲区。
https://stackoverflow.com/questions/47847980
复制相似问题