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: Michael Heerdegen
Subject: Re: How do I get the window height in lines, taking in account line-spacing?
Date: Mon, 04 Aug 2014 16:17:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.92 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

> Is there a better way?

There's `window-screen-lines', but it's also not reliable when the
window displays different fonts or images etc.

You maybe want to use `window-end' combined with
`pos-visible-in-window-p'.

What's the problem you want to solve, btw?


Michael.




reply via email to

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