emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
plexus 2020-09-09T08:00:20.043500Z

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

mkvlr 2020-09-09T11:26:18.045400Z

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?

plexus 2020-09-09T11:30:18.045900Z

Are you using undo-tree?

mkvlr 2020-09-09T11:40:44.046Z

yes

mkvlr 2020-09-09T11:41:28.046900Z

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

plexus 2020-09-09T11:50:20.048600Z

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.

plexus 2020-09-09T11:51:06.049300Z

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)

plexus 2020-09-09T11:51:22.049600Z

and add undo-fu to dotspacemacs-additional-packages

👍 3
mkvlr 2020-09-09T12:15:58.050Z

@plexus will give it a try, thank you!