在 Emacs 23 中如何让编译缓冲区位于底部而不是右侧?
我安装了 Emacs 23,发现编译缓冲区(使用 Mx 编译时)出现在与 Emacs 22 中不同的位置。当前打开的缓冲区出现在左侧,编译缓冲区出现在右侧。 如何恢复到 Emacs 22 的行为,即当前缓冲区在顶部打开,编译缓冲区在底部打开?
(水平分割屏幕也是缓冲区列表(Mx switch-to-buffer
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.)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
它可能是新的
split-window-preferred-function
变量和split-window-sensible
函数。 Emacs 现在尝试确定它是否应该根据窗口大小垂直或水平分割(我假设您有一个宽窗口)。 尝试将split-width-threshold
变量设置为nil
。It's probably the new
split-window-preferred-function
variable andsplit-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 thesplit-width-threshold
variable tonil
.以下对我最有效:
The following worked best for me:
这在 Linux 上的 emacs 23 中对我有用:
This works for me in emacs 23 on linux :