Subject: bug#6385: A slightly less aggressive fit-window-to-buffer

From: Stefan Monnier <[email-masked]>
Date: Sun, 13 Jun 2010 16:04:57 -0400

>   "Allow deleting windows less than this tall....
>    Emacs honors settings of this variable when enlarging
>    or shrinking windows vertically."
[...]
>> If you have a one line window and an nine lines window in a ten 
>> lines frame and you want to enlarge the nine lines window by one
>> line Emacs 23 will probably delete the one line window.

> That sounds like a bug - it contradicts the doc.  Why shouldn't
> enlargement be prevented instead, in that case?

If you read the above docstring carefully, you'll see that it doesn't
say "don't make windows smaller than that" but just that if a window
gets smaller it'll be deleted.

I do think it's a misfeature, but it's not one that's trivial to fix.
IIUC Martin has worked on a fix, but he hasn't submitted it yet, so
I guess it's not quite ready for prime time.

        Stefan