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, 10 Sep 2010 11:01:23 +0200 Message-ID: <4C89F3E3.6080804@swipnet.se> References: 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 1284109843 4022 80.91.229.12 (10 Sep 2010 09:10:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Sep 2010 09:10:43 +0000 (UTC) Cc: 7004-done@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 10 11:10:41 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 1Otzd3-0004Rz-6D for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Sep 2010 11:10:41 +0200 Original-Received: from localhost ([127.0.0.1]:53546 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Otzd2-0004ka-0J for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Sep 2010 05:10:40 -0400 Original-Received: from [140.186.70.92] (port=33920 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Otzct-0004kV-8r for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2010 05:10:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Otzco-00050j-82 for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2010 05:10:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37438) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Otzco-00050f-6i for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2010 05:10:26 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OtzSl-0005BG-Tt for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2010 05:00:03 -0400 Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Sep 2010 09:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7004 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 7004@debbugs.gnu.org, jan.h.d@swipnet.se Original-Received: via spool by 7004-done@debbugs.gnu.org id=D7004.128410916519864 (code D ref 7004); Fri, 10 Sep 2010 09:00:03 +0000 Original-Received: (at 7004-done) by debbugs.gnu.org; 10 Sep 2010 08:59:25 +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 1OtzS9-0005AL-A1 for submit@debbugs.gnu.org; Fri, 10 Sep 2010 04:59:25 -0400 Original-Received: from smtprelay-h31.telenor.se ([213.150.131.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtzS6-0005AE-T2 for 7004-done@debbugs.gnu.org; Fri, 10 Sep 2010 04:59:23 -0400 Original-Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-h31.telenor.se (Postfix) with ESMTP id B7074C96B for <7004-done@debbugs.gnu.org>; Fri, 10 Sep 2010 11:01:25 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQxADOQiUxV4S0jPGdsb2JhbACHa5lWDAEBAQE1Lb08hT0EjRw X-IronPort-AV: E=Sophos;i="4.56,345,1280700000"; d="scan'208";a="128945308" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb1.telenor.se with ESMTP; 10 Sep 2010 11:01:24 +0200 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id B31727FA05A; Fri, 10 Sep 2010 11:01:23 +0200 (CEST) User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.11) Gecko/20100713 Thunderbird/3.0.6 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 10 Sep 2010 05:00:03 -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:40061 Archived-At: Please do not post in html. From your picture: The height of tool bar + menu bar is 73 pixels. Your font height is 17 pixels. (1024 - 73)/17 = 55.94117 The remnant (0.94117) is just wasted space, no whole line can be made to fit in to it so it shows up at the botton as unused space. Any window height that isn't an integral of the font height will show like this. There is no bug here, Jan D. 2010-09-09 17:14, Dani Moncayo skrev: > > When I put Emacs in fullscreen mode, it seems to me that the last line > (echo area/minibuffer) takes too much, unnecessary vertical space. > > Test conditions: > - emacs-version => "GNU Emacs 23.2.1 (i686-pc-linux-gnu, GTK+ Version > 2.20.1) of 2010-07-31 on jesus-desktop". > - OS: Ubuntu 10.04 (32 bits CPU). > > To reproduce the bug: > 1.- Start Emacs in fullscreen: "emacs -Q -fs" (see "fullscreen.png"). > Here you will see the echo area too high. > 2.- Now, to compare, start Emacs in normal window: "emacs -Q" (see > "normal-window.png"). Here you will see the echo area properly dimensioned. > > > Another (i think easier) way to reproduce the bug: switch from normal > window to fullscreen mode, by using the following Elisp function: > > (defun toggle-fullscreen () > (interactive) > (let ((current-value (frame-parameter nil 'fullscreen))) > (set-frame-parameter nil 'fullscreen > (if (equal current-value 'fullboth) > (if (boundp 'old-fullscreen) old-fullscreen nil) > (progn (setq old-fullscreen current-value) > 'fullboth))))) > > ; optional shortcut > (global-set-key [f11] 'toggle-fullscreen) > > > > > > > >