unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Markus Triska <triska@metalevel.at>
Cc: 33921@debbugs.gnu.org
Subject: bug#33921: 27.0.50; Default height is inconsistently - and apparently also incorrectly - documented
Date: Sun, 30 Dec 2018 20:00:51 +0100	[thread overview]
Message-ID: <5C2915E3.1070305@gmx.at> (raw)
In-Reply-To: <87zhsmq2ir.fsf@metalevel.at>

 >> 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





      reply	other threads:[~2018-12-30 19:00 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-30  9:57 bug#33921: 27.0.50; Default height is inconsistently - and apparently also incorrectly - documented Markus Triska
2018-12-30 14:57 ` martin rudalics
2018-12-30 15:25   ` Eli Zaretskii
2018-12-30 17:47     ` martin rudalics
2018-12-30 18:52       ` Eli Zaretskii
2018-12-30 19:01         ` martin rudalics
2019-10-12 22:49     ` Lars Ingebrigtsen
2018-12-30 18:43   ` Markus Triska
2018-12-30 19:00     ` martin rudalics [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5C2915E3.1070305@gmx.at \
    --to=rudalics@gmx.at \
    --cc=33921@debbugs.gnu.org \
    --cc=triska@metalevel.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).