Emacs shell mode 下光标在单引号后卡顿的问题
zuoshifan opened this issue · 1 comments
zuoshifan commented
M-x shell 进入 shell-mode 后,可以正常地输入和执行 shell 命令,但是经常遇到的一个问题是当光标移动到一个单引号(')之后的时候 Emacs 就会卡住,CPU 使用率也会急剧升高,有时通过多次 C-g 可以将 Emacs 从卡顿中挽救回来,有时候却不行,Emacs 完全卡死,无法进行任何操作,只能强制退出。不知道这是什么原因导致的,有没有其他人遇到同样的问题?
redguardtoo commented
See https://ianyepan.github.io/posts/emacs-profiling/
Try M-x profile-start
to ping down the problem.