为什么emacs里有些命令敲了一半用C-g取消不掉?
专栏:ExASIC Sept. 16, 2025, noon 6 阅读
确实有一种编辑状态“递归编辑”,用C-g可能无法取消

save_image (1).png

1、C-g:大部分情况下用C-g是可以的,取消当前输入了一半的命令,或者取消当前命令的执行。

2、C-]:某些命令在执行时需要在minibuffer里再次编辑,也叫“递归编辑”。这种情况C-g可能取消不掉,需要用C-]退出递归编辑。

Recursive Editing Levels
A recursive edit is a situation in which you are using Emacs commands to perform arbitrary editing while in the middle of another Emacs command.

感谢阅读,更多文章点击这里:【专栏:ExASIC】
最新20篇 开设专栏