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

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

bug#33921: 27.0.50; Default height is inconsistently - and apparently al


From: martin rudalics
Subject: bug#33921: 27.0.50; Default height is inconsistently - and apparently also incorrectly - documented
Date: Sun, 30 Dec 2018 15:57:47 +0100

> In the Emacs man page, we find for the "-g" (--geometry) option:
>
>      The width and height are specified in characters; the default is
>      80 by 24.

This must be a very old entry.

> In the Emacs info page ("C.8 Options for Window Size and Position"), we
> find a different default height:
>
>     The default frame width is 80 characters and the default height is
>     40 lines.

The default height was changed from 40 to 35 by Chong and from 35 to
36 by Eli.  I now updated the value given by the manual of the release
branch.

> However, when I start Emacs via "$ emacs -Q", I actually get a height
> that is neither 24 nor 40, no matter how I count it: On a recent Debian
> install with X toolkit, I get an initial window that comprises exactly
> 28 lines,

28 lines is strange indeed.

> and if I include the mode line and echo area, then the frame
> height is 30, excluding the tool bar, menu bar and title bar.

Evaluating (frame-height) with emacs -Q should yield 36.  What does it
give for you?  And what is your value of (window-total-height) for the
initial window?  It's 35 here.

martin





reply via email to

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