stop freezes: disable global undo-tree
Table of Contents
global-undo-tree-mode
Dramatic freezes on routine “undo”
I was experiencing freezes of sometimes up to 30 seconds about 3/4 of the the time when I used my muscle memory to hit undo
(C-/
), which I do as part of my regular “kill-line undo” combo (C-k C-/
). Something must have changed recently because I started to have show-stopping freezes of my emacs thread when I tried a routine “undo.” I finally managed to squeeze a toggle-debug-on-quit
and, with a bit of patience, got a C-g
in during the freeze. The culprit in the resulting stack trace was my global undo-tree mode, which in combination with my other settings must have started failing. I turned it off by removing the line in my init.el and also running global-undo-tree-mode
to toggle the mode and so far no more funny freezes on undo. There are occasions when the undo tree is great and useful, but not at the cost of sometimes completely being a show stopper. Perhaps my SDD isn’t failing already.
Posted at: