[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Want old "*compilation*" behavior back!
From: |
martin rudalics |
Subject: |
Want old "*compilation*" behavior back! |
Date: |
Sun, 15 May 2011 09:26:38 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
> In Emacs 21, if I split a window
> vertically and was in the left-hand buffer
... yet another argument to change the current vertical/horizontal
terminology ;-)
Please accept for the moment that splitting a window "vertically"
produces two windows above each other. To get two windows side-by-side
you have to split a window "horizontally".
> and did `M-x compile', the
> *compilation* buffer would appear in the right-hand buffer (unless the
> left-hand
> buffer was already *compilation*, in which case it would be reused). In
> general, it put *compilation* in the "next" buffer unless there was only one
> buffer, in which case it would split the buffer.
In the preceding lines you mean "window" instead of "buffer".
> In Emacs 23, it reuses the *compilation* buffer if that buffer is already
> visible, but otherwise it splits my current buffer instead of using the
> existing
> "next" buffer.
Does it happen with emacs -Q as well? When on my trunk (which is a
couple of weeks old) I do emacs -Q, split the *scratch* window into two
side-by-side windows and do M-x compile, the right window is reused for
the *compilation* buffer.
> I liked the old behavior much better, but I don't see a way to get it back.
> Any
> help?
It depends on whether you want a solution just for the compilation
buffer or a more general solution. In the latter case, changing the
values of `split-height-threshold' or `split-width-threshold' might
help.
martin