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 #23 received at 33921 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Markus Triska <triska <at> metalevel.at>
Cc: 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 20:00:51 +0100
>> 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.
>
> (frame-height) yields 29, and (window-total-height) yields 28.

Hmm... then it's not even vague according to Eli.  I'm afraid you have
to use the debugger to find out what goes wrong.  For starters I would
set a breakpoint at the beginning of x_figure_window_size (in frame.c)
and check whether any height setting gets applied.

> When I run (set-frame-height nil 36), then (frame-height) yields 36.
>
> So, it's possible to obtain this frame height, and ideally this should
> also be obtainable with the "-g" option.
>
> I tried all this with the window manager FVWM as shipped with Debian.

If FVWM interferes we will find out soon enough.

martin




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

Previous Next


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