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#15886: 24.3.50; Incorrect window-text-height with non-zero line-spacing Date: Wed, 13 Nov 2013 22:32:28 +0200 Message-ID: <83a9h811r7.fsf@gnu.org> References: <8D614196-65E4-4F20-AAFE-CCFDC32D9898@robertdallasgray.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1384374797 29699 80.91.229.3 (13 Nov 2013 20:33:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Nov 2013 20:33:17 +0000 (UTC) Cc: 15886@debbugs.gnu.org To: Robert Dallas Gray Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 13 21:33:21 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vgh7n-0005Lm-81 for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2013 21:33:19 +0100 Original-Received: from localhost ([::1]:50684 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgh7m-0001NJ-SD for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Nov 2013 15:33:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53391) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgh7e-0001MG-Jl for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 15:33:16 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vgh7W-0003xa-LK for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 15:33:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vgh7W-0003xW-I2 for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 15:33:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vgh7V-00019d-RK for bug-gnu-emacs@gnu.org; Wed, 13 Nov 2013 15:33:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Nov 2013 20:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15886 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15886-submit@debbugs.gnu.org id=B15886.13843747634409 (code B ref 15886); Wed, 13 Nov 2013 20:33:01 +0000 Original-Received: (at 15886) by debbugs.gnu.org; 13 Nov 2013 20:32:43 +0000 Original-Received: from localhost ([127.0.0.1]:50572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vgh7C-000192-W7 for submit@debbugs.gnu.org; Wed, 13 Nov 2013 15:32:43 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:37907) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vgh7B-00018o-5Y for 15886@debbugs.gnu.org; Wed, 13 Nov 2013 15:32:42 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MW700D00YCO5N00@a-mtaout20.012.net.il> for 15886@debbugs.gnu.org; Wed, 13 Nov 2013 22:32:34 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MW700D5EYEA5B10@a-mtaout20.012.net.il>; Wed, 13 Nov 2013 22:32:34 +0200 (IST) In-reply-to: <8D614196-65E4-4F20-AAFE-CCFDC32D9898@robertdallasgray.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:80378 Archived-At: > From: Robert Dallas Gray > Date: Wed, 13 Nov 2013 19:23:19 +0000 > > On a graphical display, when `line-spacing' is non-zero, > `window-text-height' reports an incorrect number; equally, > `set-window-text-height' can't be used properly. This impacts on > libraries which use `set-window-text-height' e.g. to attempt to size a > window accurately. Those libraries should use 'window-screen-lines' instead. I think 'window-text-height' should continue doing what it does, as many packages, and Emacs itself, depend on its current behavior.