From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#7004: 23.2; In fullscreen mode, the echo area takes too much vertical space Date: Fri, 17 Sep 2010 07:25:26 +0200 Message-ID: <4C92FBC6.4080905@swipnet.se> References: <4C89F3E3.6080804@swipnet.se> <4C8A3D5F.10502@swipnet.se> <4C8AC907.80102@harpegolden.net> <4C8B34C6.5060906@swipnet.se> <83r5gx4y6e.fsf@gnu.org> <4C8E748F.5040107@swipnet.se> <83aanl4fm3.fsf@gnu.org> <4C8E8E3B.7010305@swipnet.se> <831v8x49p3.fsf@gnu.org> <4C8F1E31.8030904@gmx.at> <83vd682puw.fsf@gnu.org> <4C906F09.2030809@gmx.at> <83fwxa3iug.fsf@gnu.org> <4C91C5E8.50508@gmx.at> <4C91F87D.4070306@swipnet.se> <4C920919.500@gmx.at> <4C921CCE.2000805@swipnet.se> <4C92430E.8080907@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1284702268 22486 80.91.229.12 (17 Sep 2010 05:44:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 17 Sep 2010 05:44:28 +0000 (UTC) Cc: 7004@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 17 07:44:26 2010 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.69) (envelope-from ) id 1OwTkI-0005JP-1N for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Sep 2010 07:44:26 +0200 Original-Received: from localhost ([127.0.0.1]:34921 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwTkH-0001bz-4m for geb-bug-gnu-emacs@m.gmane.org; Fri, 17 Sep 2010 01:44:25 -0400 Original-Received: from [140.186.70.92] (port=58823 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OwTk8-0001aQ-Sj for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 01:44:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OwTk7-0007MX-LH for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 01:44:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59999) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwTk7-0007MO-J9 for bug-gnu-emacs@gnu.org; Fri, 17 Sep 2010 01:44:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OwTQY-0005W6-J3; Fri, 17 Sep 2010 01:24:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Sep 2010 05:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7004 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7004-submit@debbugs.gnu.org id=B7004.128470099021195 (code B ref 7004); Fri, 17 Sep 2010 05:24:02 +0000 Original-Received: (at 7004) by debbugs.gnu.org; 17 Sep 2010 05:23:10 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwTPh-0005Vo-OZ for submit@debbugs.gnu.org; Fri, 17 Sep 2010 01:23:09 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OwTPe-0005VR-Q0 for 7004@debbugs.gnu.org; Fri, 17 Sep 2010 01:23:07 -0400 Original-Received: from ipb2.telenor.se (ipb2.telenor.se [195.54.127.165]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id 54694E9540 for <7004@debbugs.gnu.org>; Fri, 17 Sep 2010 07:25:27 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AkA0AE+YkkxV4S0jPGdsb2JhbACHbZolDAEBAQE1LcMphUEEjS0 X-IronPort-AV: E=Sophos;i="4.56,380,1280700000"; d="scan'208";a="130602469" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb2.telenor.se with ESMTP; 17 Sep 2010 07:25:26 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 1AEC57FA05A; Fri, 17 Sep 2010 07:25:26 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 In-Reply-To: <4C92430E.8080907@gmx.at> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 17 Sep 2010 01:24:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:40235 Archived-At: martin rudalics skrev 2010-09-16 18.17: > - The height of any such bar is indicated in lines. In this case we > subtract their heights as multiples of canonical line heights. This is the case for the native menu bar and the native tool bar. > > - The height of such a bar cannot be calculated in canonical line > heights. In this case we must have subtracted their height from > the total frame height and rounded the remainder in terms of > canonical line heights _before_ calling change_frame_size so we > have case (1) again. This is the case for toolkit menu/tool bar. > > In any case the value for the frame root window/minibuffer window > heights is specified by subtracting > > #define FRAME_TOP_MARGIN(F) \ > (FRAME_MENU_BAR_LINES (F) + FRAME_TOOL_BAR_LINES (F)) > > from the line numbers value passed to change_frame_size. At the time we > do that, the lines of the bar must either not have been reflected in the > argument for change_frame_size or be specified as numbers of lines. > These values are zero for toolkit menu/tool bar. They are not the same as the frame parameter with similar name. This is quite obvious when reading the source. Notice that change_frame_size takes lines/columns as arguments, not pixels, so windows can only be sized in those increments. Jan D.