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

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

bug#15174: 24.3.50; frame shrinks vertically when enlarge or shrink it h


From: martin rudalics
Subject: bug#15174: 24.3.50; frame shrinks vertically when enlarge or shrink it horizontally
Date: Tue, 21 Oct 2014 09:35:14 +0200

> emacs -Q
>
> Just to make it easier:
>
> (defun enlarge-frame-horizontally (&optional increment frame)
>    "Increase the width of FRAME (default: selected-frame) by INCREMENT.
> INCREMENT is in columns (characters).
> Interactively, it is given by the prefix argument."
>    (interactive "p")
>    (set-frame-width frame (+ (frame-width frame) increment)))
>
> (global-set-key [(control meta right)] 'enlarge-frame-horizontally)
>
> Choose any frame that is showing a menu bar.  Doesn't matter whether it
> is also showing a tool bar.
>
> Use the mouse to make the frame narrow enough that the menu bar wraps to
> a second line.
>
> Now try C-M-<right> one or more times.  The frame widens each time, but
> it also shrinks vertically (the bug).
>
> The same thing happens if you shrink the frame horizontally - same
> uncalled-for vertical shrinking.

Should be fixed now with revision 118172 on trunk.

Thanks, martin





reply via email to

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