GNU bug report logs - #33921
27.0.50; Default height is inconsistently - and apparently also incorrectly - documented

Previous Next

Package: emacs;

Reported by: Markus Triska <triska <at> metalevel.at>

Date: Sun, 30 Dec 2018 09:58:01 UTC

Severity: minor

Tags: confirmed, fixed

Found in version 27.0.50

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 33921 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Markus Triska <triska <at> metalevel.at>, 33921 <at> debbugs.gnu.org
Subject: Re: 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




This bug report was last modified 5 years and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.