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

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

Re: *real* number of lines a window can display currently


From: Stefan Monnier
Subject: Re: *real* number of lines a window can display currently
Date: Tue, 07 Oct 2003 16:19:34 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> `window-displayed-height' is a built-in function
> (window-displayed-height &optional WINDOW)
[...]
> This is what i search for GNU Emacs 21.X... Does something like this exist or
> is there another way to reach my goal?

I don't think such a thing exists or can be coded in elisp (the
count-screen-lines function fails in several cases other the one you
mention).  But coding it in C shouldn't be too difficult: just look at the
number of rows in the glyph matrix [he said, pretending he known what he's
talking about].

I'm curious to know what you need it for,


        Stefan


reply via email to

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