Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Emacs shell mode 下光标在单引号后卡顿的问题 #1001

Open
zuoshifan opened this issue Sep 21, 2022 · 1 comment
Open

Emacs shell mode 下光标在单引号后卡顿的问题 #1001

zuoshifan opened this issue Sep 21, 2022 · 1 comment

Comments

@zuoshifan
Copy link

M-x shell 进入 shell-mode 后,可以正常地输入和执行 shell 命令,但是经常遇到的一个问题是当光标移动到一个单引号(')之后的时候 Emacs 就会卡住,CPU 使用率也会急剧升高,有时通过多次 C-g 可以将 Emacs 从卡顿中挽救回来,有时候却不行,Emacs 完全卡死,无法进行任何操作,只能强制退出。不知道这是什么原因导致的,有没有其他人遇到同样的问题?

@redguardtoo
Copy link
Owner

See https://ianyepan.github.io/posts/emacs-profiling/
Try M-x profile-start to ping down the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants