Skip to main content
81 votes
Accepted

What do I do when Emacs is frozen?

When C-g doesn't work, you can sometimes get control back with: pkill -SIGUSR2 emacs As @Archenoth points out, sending the SIGUSR2 signal to Emacs turns on debug-on-quit. This can be useful, but you'...
Tyler's user avatar
  • 22.4k
5 votes

What do I do when Emacs is frozen?

It also sometimes helps to abort-recursive-edit with C-].
Adobe's user avatar
  • 1,879
5 votes

Debugging a frozen Emacs

None of the other answers work for me. When my emacs hangs, I can only bring it back by killing and restarting it, but then after a while it hangs again. So there has to be a way to find out the ...
Searene's user avatar
  • 499
3 votes

Debugging a frozen Emacs

When nothing else works besides a hard kill of Emacs, I finally developed something that utilizes a little known feature of Emacs, what I call special events callbacks. It works by telling Emacs to ...
Joe's user avatar
  • 571
2 votes

emacs get frozen due to error reading undo-tree history

I had a similar issue, and I figure documenting my diagnostic process here might help people with this sort of problem, as it applies for other emacs issues. I used ctrl-G to stop the save operation, ...
vivicat's user avatar
  • 21
2 votes
Accepted

emacs get frozen due to error reading undo-tree history

You can try to disable undo-in-region. It is buggy and responsible for slowing down. (setq undo-tree-enable-undo-in-region nil)
djangoliv's user avatar
  • 3,199
2 votes
Accepted

Paste very specific Unicode in scratch buffer freezes emacs -Q

I fixed this issue and couple other ones at the same time: it prevented me to use telega and elfeed as Emacs slows down considerably when some fancy Unicode should be rendered. This "bug" or ...
Firmin Martin's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible