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

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

bug#3759: window-height wrong with changed font-size


From: Lars Magne Ingebrigtsen
Subject: bug#3759: window-height wrong with changed font-size
Date: Sat, 17 Sep 2011 08:34:09 +0200
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

grischka <address@hidden> writes:

> $ src/emacs -Q README
>
> M-: (window-height)
>   33 (#o41, #x21)
>
> shift-left-click on window, choose "Decrease Font Size"
>
> M-: (window-height)
>   33 (#o41, #x21)
>
> But the window now has 38 lines.

This may be confusing, but I don't think it's a bug.  The menu item
(which has been renamed in Emacs 24 to be slightly less confusing) just
changes the font size in the current buffer, but `window-height' says
what the height is versus the default window font.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/





reply via email to

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