From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#4535: toolkit dependence of frame-height Date: Wed, 23 Sep 2009 02:57:54 -0400 Message-ID: Reply-To: Glenn Morris , 4535@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1253694446 947 80.91.229.12 (23 Sep 2009 08:27:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Sep 2009 08:27:26 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 23 10:27:19 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MqNC2-0004CX-9t for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2009 10:27:19 +0200 Original-Received: from localhost ([127.0.0.1]:43267 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqNC1-0007cc-Dr for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Sep 2009 04:27:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqNBv-0007cD-S9 for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 04:27:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqNBr-0007bh-11 for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 04:27:10 -0400 Original-Received: from [199.232.76.173] (port=37960 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqNBq-0007be-O6 for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 04:27:06 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:41845) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MqNBp-00059L-Ig for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 04:27:06 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8N8R3ep019350; Wed, 23 Sep 2009 01:27:03 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8N8K34t018363; Wed, 23 Sep 2009 01:20:03 -0700 Resent-Date: Wed, 23 Sep 2009 01:20:03 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Wed, 23 Sep 2009 08:20:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4535 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125369368917657 (code B ref -1); Wed, 23 Sep 2009 08:20:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 Sep 2009 08:14:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8N8El5J017654 for ; Wed, 23 Sep 2009 01:14:48 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqMzu-0002HZ-E0 for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 04:14:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqMzo-0002Ce-FF for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 04:14:45 -0400 Original-Received: from [199.232.76.173] (port=47858 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqMzn-0002Bu-WE for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 04:14:40 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:52927) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqMzn-00032X-9f for bug-gnu-emacs@gnu.org; Wed, 23 Sep 2009 04:14:39 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MqLnW-0005IS-E9; Wed, 23 Sep 2009 02:57:54 -0400 X-Spook: MDA government SAPO Treasury fissionable TELINT KGB X-Ran: 8H)V'0Q@]xf*+S"]mkc*/jN0v>}t\s_vWC(&ft{C/Q)6oC[}~NnanDd5rJ X-Hue: magenta X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 23 Sep 2009 04:27:10 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31396 Archived-At: 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