Fork me on GitHub
#emacs
<
2020-09-09
>
plexus08:09:20

We could use some help improving the timestamp printing/parsing in parseedn.el https://github.com/clojure-emacs/parseedn/issues/8

mkvlr11:09:18

I have an issue in my emacs (27.1 from https://github.com/railwaycat/homebrew-emacsmacport) where emacs sometimes hangs when I want to undo a change. I see a spinning beachball for ~20 seconds or more. It sometimes recovers, sometimes it doesn’t and I need to kill it. Anybody have any tips or useful resources for how to debug this?

plexus11:09:18

Are you using undo-tree?

mkvlr11:09:28

should I try getting rid of it? I also read about sending emacs SIGUSR2 but it stayed frozen…

plexus11:09:20

undo-tree seems to be pretty buggy, I've experienced the same thing you're seeing, with it completely locking up and the only option being to kill emacs. I switched to undo-fu instead. It's much more basic and there are times where it seems to forget a lot of the undo history and only allow you to go back a few steps, but at least it doesn't hang.

plexus11:09:06

in spacemacs you can't get rid of undo-tree completely, but you can disable it

(global-undo-tree-mode -1)
  (define-key evil-normal-state-map "u" #'undo-fu-only-undo)
  (define-key evil-normal-state-map "\C-r" #'undo-fu-only-redo)

plexus11:09:22

and add undo-fu to dotspacemacs-additional-packages

👍 9
mkvlr12:09:58

@plexus will give it a try, thank you!