Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
由于无限循环而陷入死锁时,如何退出 cider-repl?
发生这种情况时,我必须终止 emacs,甚至重新启动计算机以终止 cider-repl。有没有更好的方法来解决这个问题?
组合键C-c C-c将从 cider repl 顶层的循环中断,同时保持 emacs 和 repl 运行。
C-c C-c
在常规终端 repl 中,等价于C-c.
C-c
当您正在编辑文件并“插入”苹果酒 repl 时,默认情况下键入C-c C-cruns cider-eval-defun-at-point,但键入C-c C-bruns cider-interrupt,这会取消正在评估的任何内容。
cider-eval-defun-at-point
C-c C-b
cider-interrupt