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#18195: 24.3.92; window-screen-lines is not accurate Date: Tue, 05 Aug 2014 16:35:45 +0300 Message-ID: <834mxrqcsu.fsf@gnu.org> References: <86tx5r7l1j.fsf@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1407245794 18928 80.91.229.3 (5 Aug 2014 13:36:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Aug 2014 13:36:34 +0000 (UTC) Cc: 18195-done@debbugs.gnu.org To: Dmitry Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 05 15:36:27 2014 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 1XEeua-0006Uo-7U for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Aug 2014 15:36:20 +0200 Original-Received: from localhost ([::1]:59512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEeuZ-0000cZ-OE for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Aug 2014 09:36:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEeuP-0000ab-I3 for bug-gnu-emacs@gnu.org; Tue, 05 Aug 2014 09:36:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEeuJ-0004dY-8i for bug-gnu-emacs@gnu.org; Tue, 05 Aug 2014 09:36:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEeuJ-0004dR-5N for bug-gnu-emacs@gnu.org; Tue, 05 Aug 2014 09:36:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XEeuI-0001B0-S0 for bug-gnu-emacs@gnu.org; Tue, 05 Aug 2014 09:36:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Aug 2014 13:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 18195 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 18195@debbugs.gnu.org, eliz@gnu.org, dgutov@yandex.ru Original-Received: via spool by 18195-done@debbugs.gnu.org id=D18195.14072457484492 (code D ref 18195); Tue, 05 Aug 2014 13:36:01 +0000 Original-Received: (at 18195-done) by debbugs.gnu.org; 5 Aug 2014 13:35:48 +0000 Original-Received: from localhost ([127.0.0.1]:58344 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEeu3-0001AN-40 for submit@debbugs.gnu.org; Tue, 05 Aug 2014 09:35:47 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:44312) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XEety-0001A1-5c for 18195-done@debbugs.gnu.org; Tue, 05 Aug 2014 09:35:43 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0N9U00O005RAJ600@mtaout29.012.net.il> for 18195-done@debbugs.gnu.org; Tue, 05 Aug 2014 16:35:37 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9U00NT25RDS600@mtaout29.012.net.il>; Tue, 05 Aug 2014 16:35:37 +0300 (IDT) In-reply-to: <86tx5r7l1j.fsf@yandex.ru> 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:92131 Archived-At: > From: Dmitry > Date: Tue, 05 Aug 2014 06:00:24 +0400 > > If I have line-spacing set, the value the above function returns is > smaller than the actuall number of screen lines the window can contain. > > For example, when I have the current Emacs frame maximized and > line-spacing set to 0.2, (window-screen-lines) returns 46.66(6), whereas > there are 48 fully-visible lines in the given window and one > partially-visible one. Fixed in revision 117425 on the emacs-24 branch.