unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Alan Wehmann <wehmann@fnal.gov>
Subject: Re: *real* number of lines a window can display currently
Date: 13 Oct 2003 20:03:59 -0500	[thread overview]
Message-ID: <v0xvfqsk4u8.fsf@fsui03.fnal.gov> (raw)
In-Reply-To: jwvvfr12fe0.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca

calc.el could use such a function.  If you want more justification for
this statement I'd have to refresh my memory about the details of how
its stack is displayed & I'd probably refer you to some old posts on
the subject (in comp.emacs).  To get the stack to display correctly in
different situations, I've just empirically altered one of its
functions so that it works.  My situations are Windows 2000 Pro at
work, XEmacs 21.4.8, Windows 98 at home, XEmacs 21.4.8, a Sun platform
at work--accessed via Telnet in console mode & with Xemacs 20.4
(earlier with Emacs 19.34), and Mandrake Linux 9.0 at home, with a
forgotten version of XEmacs and both in console mode and with
X-windows.

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> > `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

-- 
Alan Wehmann
wehmann@fnal.gov

  reply	other threads:[~2003-10-14  1:03 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
2003-10-14  1:03   ` Alan Wehmann [this message]
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=v0xvfqsk4u8.fsf@fsui03.fnal.gov \
    --to=wehmann@fnal.gov \
    /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).