如何在Emacs 23底部而不是右侧获得编译缓冲区? [英] How can I get the compilation buffer on the bottom rather than on the right in Emacs 23?

查看:154
本文介绍了如何在Emacs 23底部而不是右侧获得编译缓冲区?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装了Emacs 23,并发现编译缓冲区(使用M-x编译时)出现在与Emacs 22不同的位置。当前打开的缓冲区出现在​​左边,编译缓冲区在右边。如何恢复Emacs 22的行为,使当前缓冲区在顶部打开,编译缓冲区在底部?



(水平分割屏幕也是如此对于缓冲区列表(Mx switch-to-buffer< tab>)缓冲区。)

解决方案

这可能是新的 split-window-preferred-function 变量和 split-window-sensably 函数。 Emacs现在试图找出它是否应该根据窗口大小垂直或水平分割(我假设你有一个宽窗口)。尝试将 split-width-threshold 变量设置为 nil


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.)

解决方案

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.

这篇关于如何在Emacs 23底部而不是右侧获得编译缓冲区?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆