help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do I get the window height in lines, taking in account line-spac


From: Dmitry
Subject: Re: How do I get the window height in lines, taking in account line-spacing?
Date: Tue, 05 Aug 2014 05:42:17 +0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)

Dmitry <address@hidden> writes:
> Michael Heerdegen <address@hidden> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]