From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: How do I get the window height in lines, taking in account line-spacing? Date: Wed, 06 Aug 2014 17:47:45 +0300 Message-ID: <83egwtptda.fsf@gnu.org> References: <53DF7885.8000907@yandex.ru> <87oaw08hlj.fsf@web.de> <86d2cg3y3x.fsf@yandex.ru> <86wqank8zq.fsf@yandex.ru> <877g2nw3qd.fsf@web.de> <86k36nb0ge.fsf@yandex.ru> <87vbq7unx1.fsf@web.de> <86vbq5yb4t.fsf@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1407336491 994 80.91.229.3 (6 Aug 2014 14:48:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Aug 2014 14:48:11 +0000 (UTC) Cc: michael_heerdegen@web.de, help-gnu-emacs@gnu.org To: Dmitry Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 06 16:48:03 2014 Return-path: Envelope-to: geh-help-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 1XF2VR-0000dv-6e for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Aug 2014 16:47:57 +0200 Original-Received: from localhost ([::1]:39453 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF2VQ-0000t9-Qz for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Aug 2014 10:47:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35962) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF2VA-0000t1-QA for help-gnu-emacs@gnu.org; Wed, 06 Aug 2014 10:47:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XF2V5-0006dh-BU for help-gnu-emacs@gnu.org; Wed, 06 Aug 2014 10:47:40 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XF2V5-0006dX-2y for help-gnu-emacs@gnu.org; Wed, 06 Aug 2014 10:47:35 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N9W005003MELM00@a-mtaout22.012.net.il> for help-gnu-emacs@gnu.org; Wed, 06 Aug 2014 17:47:33 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N9W005K33R8FB40@a-mtaout22.012.net.il>; Wed, 06 Aug 2014 17:47:33 +0300 (IDT) In-reply-to: <86vbq5yb4t.fsf@yandex.ru> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.172 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99098 Archived-At: > From: Dmitry > Date: Wed, 06 Aug 2014 17:56:50 +0400 > Cc: help-gnu-emacs@gnu.org > > Michael Heerdegen writes: > > > `line-pixel-height'? > > Hmm, guess I could use that. It only works on lines that show text. You sometimes need to know how much space is available at the window bottom even if there's no text there (i.e. beyond EOB).