all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: bug-gnu-emacs@gnu.org
Subject: bug#4535: toolkit dependence of frame-height
Date: Wed, 23 Sep 2009 02:57:54 -0400	[thread overview]
Message-ID: <l2k4zqywp9.fsf@fencepost.gnu.org> (raw)


As far as I can tell, the result of (frame-height) on GNU/Linux
depends on the X toolkit on the following way:

gtk        : excludes both tool-bar and menu-bar
motif      : includes tool-bar (height = 2?), excludes menu-bar
lucid      : like motif
no toolkit : includes both tool-bar and menu-bar (height = 1)
-nw        : includes menu-bar

The motif and lucid values seems inconsistent with the Elisp manual:

     These values include the internal borders, and windows' scroll
     bars and fringes (which belong to individual windows, not to the
     frame itself), but do not include menu bars or tool bars (except
     when using X without an X toolkit).

I am happy to update the documentation, if the current behaviour (and
my understanding of it) is correct, or not going to be changed. (It is
rather confusing though.)


Some previous discussion:

http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00103.html

and to some extent bug #25






             reply	other threads:[~2009-09-23  6:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <m0ljji6baq.fsf@fencepost.gnu.org>
2009-09-23  6:57 ` Glenn Morris [this message]
2009-09-23  9:15   ` bug#4535: toolkit dependence of frame-height Jan D.
2009-09-24  3:28     ` Glenn Morris
2009-09-24  7:04       ` martin rudalics
2009-09-24 17:45         ` Glenn Morris
2009-09-25  7:39           ` martin rudalics
2009-10-11  0:15   ` bug#4535: marked as done (toolkit dependence of frame-height) Emacs bug Tracking System

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

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

  git send-email \
    --in-reply-to=l2k4zqywp9.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=4535@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.