From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7004: 23.2; In fullscreen mode, the echo area takes too much vertical space Date: Mon, 13 Sep 2010 14:37:13 +0200 Message-ID: <83r5gx4y6e.fsf@gnu.org> References: <4C89F3E3.6080804@swipnet.se> <4C8A3D5F.10502@swipnet.se> <4C8AC907.80102@harpegolden.net> <4C8B34C6.5060906@swipnet.se> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1284381645 16147 80.91.229.12 (13 Sep 2010 12:40:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 13 Sep 2010 12:40:45 +0000 (UTC) Cc: 7004@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 13 14:40:43 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 1Ov8Kx-0007Sd-9P for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Sep 2010 14:40:43 +0200 Original-Received: from localhost ([127.0.0.1]:50643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ov8Kw-0007zY-Fg for geb-bug-gnu-emacs@m.gmane.org; Mon, 13 Sep 2010 08:40:42 -0400 Original-Received: from [140.186.70.92] (port=54711 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ov8Kn-0007zC-Ml for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2010 08:40:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ov8Kh-0003yz-9J for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2010 08:40:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41047) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov8Kh-0003yv-7u for bug-gnu-emacs@gnu.org; Mon, 13 Sep 2010 08:40:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ov8GQ-0003jb-7g; Mon, 13 Sep 2010 08:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 13 Sep 2010 12:36: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.128438130814344 (code B ref 7004); Mon, 13 Sep 2010 12:36:02 +0000 Original-Received: (at 7004) by debbugs.gnu.org; 13 Sep 2010 12:35:08 +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 1Ov8FY-0003jJ-4H for submit@debbugs.gnu.org; Mon, 13 Sep 2010 08:35:08 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ov8FV-0003iw-3f for 7004@debbugs.gnu.org; Mon, 13 Sep 2010 08:35:06 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L8O00800OUD2P00@a-mtaout22.012.net.il> for 7004@debbugs.gnu.org; Mon, 13 Sep 2010 14:37:15 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.81.53]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L8O007ATR20EQE0@a-mtaout22.012.net.il>; Mon, 13 Sep 2010 14:37:14 +0200 (IST) In-reply-to: <4C8B34C6.5060906@swipnet.se> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 13 Sep 2010 08:36: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:40127 Archived-At: > Date: Sat, 11 Sep 2010 09:50:30 +0200 > From: Jan Dj=C3=A4rv > Cc: "7004@debbugs.gnu.org" <7004@debbugs.gnu.org> >=20 > David De La Harpe Golden skrev 2010-09-11 02.10: >=20 > > has support for displaying only part of a character line, at leas= t at the > > bottom edge of a pane [emacs: window] (not sure about the top). I= t also > > supports partial character display at the right/left edge of the = pane. That's right: Emacs does know how to display a partial line at the bottom of a window (not at the top, though, IIRC). The question is why doesn't it happen in the OP's case. Perhaps that is some unintended side effect of how a frame is maximized on X (I cannot reproduce the problem on MS-Windows). What happens if the frame is enlarged (e.g., by the mouse) instead? > Windows use code like this all over the place: >=20 > /* Return the frame y-position before which window W ends. > This includes a mode line, if any. */ >=20 > #define WINDOW_BOTTOM_EDGE_Y(W) \ > (((WINDOW_MENU_BAR_P (W) || WINDOW_TOOL_BAR_P (W)) \ > ? 0 : FRAME_INTERNAL_BORDER_WIDTH (WINDOW_XFRAME (W))) \ > + WINDOW_BOTTOM_EDGE_LINE (W) * WINDOW_FRAME_LINE_HEIGHT (W)) >=20 >=20 > i.e. pixels =3D lines * font height. No, your conclusion is incorrect. See the comment above this macro: this is the Y pixel coordinate _before_ which the window ends. If th= e last line is only partially visible, the this macro will return a value that is beyond the actual window display area. IOW, the fact that Emacs counts pixels in increments of the frame's default font size does not contradict the ability of displaying partially visible lines at the window bottom. When I maximize a fram= e on Windows, that is what I get: the last line is only partially visible. Why doesn't this happen for the OP on X?