Is there any way I can make undo-tree-mode display the visualization in a “horizontal” buffer (ie. C-x 3 vs. C-x 2)?

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
undo-treepackage uses standard Emacs buffer display functions to show the tree window (as opposed to a specific function). To control how Emacs splits windows, you can customize the variablessplit-window-preferred-function,split-height-threshold, andsplit-width-threshold. Also check out the documentation for the functionsplit-window-sensibly.If you are OK with Emacs in general preferring side-by-side windows over top-and-bottom ones, put this code in your init file:
(If you want side-by-side windows only for
undo-tree-visualize, the story is a little more complicated.)