all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'martin rudalics'" <rudalics@gmx.at>, "'Miles Bader'" <miles@gnu.org>
Cc: 'emacs-devel' <emacs-devel@gnu.org>
Subject: RE: window-body-height vs window-text-height
Date: Tue, 28 Oct 2008 08:11:47 -0700	[thread overview]
Message-ID: <002301c9390f$7f228070$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <4907076E.60101@gmx.at>

>  > If there is a partial line at the bottom of the window,
>  > window-text-height rounds down, and window-body-height rounds up.
>  > If there are no fractional lines, both return the same value.
>  >
>  > [In both cases, the number of lines assumes the default 
>  > face -- neither measures what's actually displayed.]
> 
> Aha.  Thanks for this information.

Just wondering: Why not just one function, with an additional arg to indicate
the difference?





  reply	other threads:[~2008-10-28 15:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-28 10:21 window-body-height vs window-text-height martin rudalics
2008-10-28 11:11 ` Miles Bader
2008-10-28 12:37   ` martin rudalics
2008-10-28 15:11     ` Drew Adams [this message]
2008-10-28 14:12   ` Stefan Monnier
2008-10-28 15:22     ` Miles Bader

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='002301c9390f$7f228070$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@gnu.org \
    --cc=rudalics@gmx.at \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.