From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#7004: 23.2; In fullscreen mode, the echo area takes too much vertical space Date: Thu, 17 Mar 2011 13:08:59 +0100 Message-ID: <87aagueyp0.fsf@member.fsf.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1300365465 11465 80.91.229.12 (17 Mar 2011 12:37:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 17 Mar 2011 12:37:45 +0000 (UTC) Cc: 7004@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 17 13:37:41 2011 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 1Q0CSN-0000ps-L4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Mar 2011 13:37:38 +0100 Original-Received: from localhost ([127.0.0.1]:44677 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0CSK-0001lV-CF for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Mar 2011 08:37:32 -0400 Original-Received: from [140.186.70.92] (port=50816 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0CRv-0001cL-Js for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2011 08:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0CRu-0000Jx-7I for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2011 08:37:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59685) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0CRu-0000Js-4a for bug-gnu-emacs@gnu.org; Thu, 17 Mar 2011 08:37:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q0C1i-00073F-SM; Thu, 17 Mar 2011 08:10:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Mar 2011 12:10: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.130036374927044 (code B ref 7004); Thu, 17 Mar 2011 12:10:02 +0000 Original-Received: (at 7004) by debbugs.gnu.org; 17 Mar 2011 12:09:09 +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 1Q0C0q-000728-Ff for submit@debbugs.gnu.org; Thu, 17 Mar 2011 08:09:08 -0400 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q0C0o-00071e-09 for 7004@debbugs.gnu.org; Thu, 17 Mar 2011 08:09:06 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 18C0E7816F5C; Thu, 17 Mar 2011 13:09:00 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10897-04; Thu, 17 Mar 2011 13:08:59 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Original-Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 676B17816F73; Thu, 17 Mar 2011 13:08:59 +0100 (CET) In-Reply-To: (Dani Moncayo's message of "Thu, 9 Sep 2010 17:14:34 +0200") User-Agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 17 Mar 2011 08:10:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 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:45095 Archived-At: Dani Moncayo writes: Hi Dani, > When I put Emacs in fullscreen mode, it seems to me that the last line > (echo area/minibuffer) takes too much, unnecessary vertical space. What would you expect instead? I think, this is not an emacs problem, but it has something to do with window managers. I'm no expert in Emacs' frame stuff or window managers, but I think, it is something along this. Emacs issues size hints to the window manager, which tells it the width and height of how emacs wants to be painted. These sizes are exactly divisible by the number of lines/columns emacs should display, which depends on font size and stuff like that. If the window manager honores these hints, then is it likely that a fully maximized emacs frame (or a fullscreen frame) does not fill the whole screen, but there is a gap of at most one line/column size in pixels minus one pixel. Because that somehow looks ugly, many window managers decide not to honor hints at least for fullscreen/maximized windows. They stretch the window to the exact display size, and then you have the effect you describe. So you don't see one unnecessary line, but only some percent of a unnecessary line. Even if it is 99%, it's still no full line. IMHO, that's much better than a gap. I know that at least there was or is a problem with emacs built with GTK in conjunction with the KDE window manager. There, maximizing emacs did honor the hints, and you got the gaps. But the real problem was that the window manager would not recognize emacs as a maximized window in that case. Bye, Tassilo