From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: *real* number of lines a window can display currently
Date: Tue, 07 Oct 2003 16:19:34 GMT [thread overview]
Message-ID: <jwvvfr12fe0.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca> (raw)
In-Reply-To: usmm52fr5.fsf@sdm.de
> `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
next prev parent reply other threads:[~2003-10-07 16:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-07 16:07 *real* number of lines a window can display currently Klaus Berndl
2003-10-07 16:19 ` Stefan Monnier [this message]
2003-10-14 1:03 ` Alan Wehmann
2003-10-14 6:22 ` Klaus Berndl
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvvfr12fe0.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca \
--to=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).