GNU bug report logs - #4535
toolkit dependence of frame-height

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Wed, 23 Sep 2009 08:20:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (Emacs bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Subject: bug#4535 closed by Glenn Morris <rgm <at> gnu.org> (Re: bug#4535:
 toolkit dependence of frame-height)
Date: Sun, 11 Oct 2009 00:15:06 +0000
[Message part 1 (text/plain, inline)]
This is an automatic notification regarding your bug report
which was filed against the emacs package:

#4535: toolkit dependence of frame-height

It has been closed by Glenn Morris <rgm <at> gnu.org>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Glenn Morris <rgm <at> gnu.org> by
replying to this email.


-- 
4535: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4535
Emacs Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 4535-done <at> debbugs.gnu.org
Subject: Re: bug#4535: toolkit dependence of frame-height
Date: Sat, 10 Oct 2009 20:09:49 -0400
I have tried to document this as well as I can (though I don't feel I
understand it all).
[Message part 3 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: toolkit dependence of frame-height
Date: Wed, 23 Sep 2009 02:57:54 -0400
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



This bug report was last modified 15 years and 232 days ago.

Previous Next


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