Fork me on GitHub
#spacemacs
<
2022-04-25
>
jumar04:04:03

I've upgraded from emacs 27.2 to 28.1 and suddenly see a lot of files like ...~undo-tree~ in my project. It seems that it's pretty normal: https://emacs.stackexchange.com/questions/51410/saving-undo-tree-to-restore-in-next-session And I have added the pattern to my global gitignore. But I'm wondering what has changed and if the previous version had a configuration that stored this files elsewhere?

practicalli-johnny09:04:25

Undo-tree defaults have changed. To write these files to the cache directory instead, add the following to dotspacemacs/user-config in the Spacemacs configuration file

(setq undo-tree-history-directory-alist '(("." . "~/.emacs.d./.cache")))
Background discuss https://github.com/syl20bnr/spacemacs/issues/15426

practicalli-johnny15:04:12

I updated Spacemacs today and its writing files to ~/.emacs.d/.cache/undo-tree-history/ directory, so the above configuration should not be needed

jumar18:04:46

Great, thanks John!

otwieracz21:04:14

Hey - do you know how to make spacemacs/jump-to-defintiion-other-window (and other stuff like that) split vertically (new window on the right) rather than horizontally?