|
From: | Dmitry |
Subject: | Re: How do I get the window height in lines, taking in account line-spacing? |
Date: | Tue, 05 Aug 2014 05:41:54 +0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux) |
Dmitry <dgutov@yandex.ru> writes: > Michael Heerdegen <michael_heerdegen@web.de> writes: >> You maybe want to use `window-end' combined with >> `pos-visible-in-window-p'. > > Yep, this seems to be the most accurate approach, although probably the > slowest one. Thanks. Looks like this isn't good enough either: if the window is longer than the buffer, the value we get this way only reflects the number of lines in the buffer.
[Prev in Thread] | Current Thread | [Next in Thread] |