Subject: Re: bug#18720: 25.0.50; `set-frame-size' reduces height instead of increases it, when set to larger value

From: martin rudalics <[email-masked]>
Date: Tue, 21 Oct 2014 09:35:52 +0200

> emacs -Q
 >
 > Resize the frame using the mouse, so that the menu bar extends (is
 > wrapped) to be 3 lines.
 >
 > (frame-height) ; ==> call it N
 >
 > (set-frame-height nil (1+ N))
 >
 > The frame height is *reduced* by one, not increased by one.

Should be fixed with revision 118172 on trunk.

 > If the menu bar is wrapped to only 2 lines then the bug does not occur.

With a two lines menu bar here the frame height was reduced by one as
well.

 > It does not matter what value option `frame-resize-pixelwise' has.
 > (And it should not matter - frame resizing should work regardless of its
 > value, with the only difference being the granularity - not the
 > direction - of resizing).

This option is completely unrelated to the problem at hand.

Thanks, martin