Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I get the compilation buffer on the bottom rather than on the right in Emacs 23?

I've installed Emacs 23 and have found that the compilation buffer (when using M-x compile) appears in a different position than it did in Emacs 22. The currently open buffer appears on the left and the compilation buffer on the right. How to I revert to the Emacs 22 behavior of having the current buffer open on the top and the compilation buffer on the bottom?

(Splitting the screen horizontally also is the case for the buffer list (M-x switch-to-buffer <tab>) buffer as well.)

like image 808
Jonathon Watney Avatar asked Jun 08 '09 18:06

Jonathon Watney


1 Answers

It's probably the new split-window-preferred-function variable and split-window-sensibly function. Emacs now tries to figure out if it should split vertically or horizontally based on the window size (I assume you have a wide window). Try setting the split-width-threshold variable to nil.

like image 174
scottfrazer Avatar answered Oct 19 '22 05:10

scottfrazer