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: Thu, 24 Sep 2009 13:45:08 -0400 Message-ID: References: <8DD65DD8-2514-4213-B98B-F0D43BCF817E@swipnet.se> <4ABB19E6.1060505@gmx.at> 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 1253815646 19000 80.91.229.12 (24 Sep 2009 18:07:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Sep 2009 18:07:26 +0000 (UTC) Cc: 4535@emacsbugs.donarmstrong.com To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 24 20:07:18 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 1Mqsir-0007PT-Im for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2009 20:07:17 +0200 Original-Received: from localhost ([127.0.0.1]:49725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mqsir-0002pm-4Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Sep 2009 14:07:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mqsim-0002pJ-3e for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 14:07:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mqsih-0002kq-JO for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 14:07:11 -0400 Original-Received: from [199.232.76.173] (port=44908 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mqsih-0002kf-Aw for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 14:07:07 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:60863) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mqsig-0007ZN-OY for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 14:07:07 -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 n8OI746k031651; Thu, 24 Sep 2009 11:07:04 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8OHo39k028636; Thu, 24 Sep 2009 10:50:03 -0700 Resent-Date: Thu, 24 Sep 2009 10:50: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: Thu, 24 Sep 2009 17:50:03 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4535 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4535-submit@emacsbugs.donarmstrong.com id=B4535.125381431128082 (code B ref 4535); Thu, 24 Sep 2009 17:50:03 +0000 Original-Received: (at 4535) by emacsbugs.donarmstrong.com; 24 Sep 2009 17:45:11 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8OHj9mF028031 for <4535@emacsbugs.donarmstrong.com>; Thu, 24 Sep 2009 10:45:10 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MqsNQ-0007U6-2z; Thu, 24 Sep 2009 13:45:08 -0400 X-Spook: diwn CNCIS ASDIC CDMA UFO security Iran Watergate X-Ran: TSyoo%afYYIVeZral([Kd9B,.W8Sjo8&el%mg1''#ll9N7ZkJbq9XdfsJ&"pH6EC[>W)"n X-Hue: yellow 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 (newer, 2) Resent-Date: Thu, 24 Sep 2009 14:07:11 -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:31467 Archived-At: martin rudalics wrote: >> Do the menu bar and tool bar always have height 1 and 2 respectively, >> or are these numbers variable and/or approximate? > > It depends on what "always have height 1 and 2" stand for. Well, I hadn't thought it through, because lines may have a variable height. Duh. And I can increase the buffer font-size many times over without changing the result of frame-height (or -width), so now I don't understand what "number of lines available for display" in the doc of frame-height means. I guess it means number of lines in units of the default face? So I guess that's what my original question meant. > On Windows I can easily make the menubar occupy three "lines" of my > screen estate. And AFAICT such behavior can make frame-size > calculations completely random because Emacs (probably due to > limitations of the Windos API) does not allow me to get the actual > size of my frame in lines. I'm not going to be able to document the Windows behaviour in any case; maybe you'd like to do that?