help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: limit number and types of windows on 'Compile Command` to 2?


From: Ludwig, Mark
Subject: RE: limit number and types of windows on 'Compile Command` to 2?
Date: Sat, 1 Feb 2014 02:06:46 +0000

From: Óscar Fuentes, Friday, January 31, 2014 5:41 PM
> ivowel@gmail.com writes:
> 
> > Depending on the width of the terminal, emacs may split one of the
> > buffers vertically or horizontally when I run a compile (or replace
> > the other window with the compile window).
> >
> > I would like to imitate the "old" behavior, where one could only have
> > two windows (current plus compile), and they were lower and upper
> > windows, not left and right windows. how would I set this?
> 
> See the docstring of variable split-window-preferred-function, although
> possibly the easier route is simply to set split-width-threshold to a
> large value.

The simplest, absolute solution is to set split-width-threshold to
nil.

Per the doc of that variable, no matter the available width of the
screen, it will never split horizontally.

Enjoy,
Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]