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

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

Re: Behaviour of `compilation-window-height'


From: martin rudalics
Subject: Re: Behaviour of `compilation-window-height'
Date: Mon, 20 Feb 2017 18:45:28 +0100

> I was a bit surprised to see that `compilation-window-height' is only
> applied when the compilation window is full-width. I think I'd rather it
> be honoured also if that is not the case. Can somebody explain the
> rationale here?

Conceptually we don't change its height when the window is "horizontally
combined" because that would also change the height of its left or right
sibling.  However, when the window is "vertically combined" I see no
reason not to change its height.  Could you submit a patch (ideally,
replacing the two forms below

         (window-full-width-p window)
         ;; If window is alone in its frame, aside from a minibuffer,
         ;; don't change its height.
         (not (eq window (frame-root-window (window-frame window))))

with one)?

Thanks, martin



reply via email to

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