From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: window-body-height vs window-text-height Date: Tue, 28 Oct 2008 13:37:02 +0100 Message-ID: <4907076E.60101@gmx.at> References: <4906E78C.7050207@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225197789 24021 80.91.229.12 (28 Oct 2008 12:43:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2008 12:43:09 +0000 (UTC) Cc: emacs-devel To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 28 13:44:11 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kunvd-0008Gr-3x for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 13:44:09 +0100 Original-Received: from localhost ([127.0.0.1]:60854 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KunuW-0007XH-1t for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 08:43:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kunps-0005Yj-DQ for emacs-devel@gnu.org; Tue, 28 Oct 2008 08:38:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kunpq-0005Xp-Oq for emacs-devel@gnu.org; Tue, 28 Oct 2008 08:38:12 -0400 Original-Received: from [199.232.76.173] (port=38681 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kunpq-0005XY-DO for emacs-devel@gnu.org; Tue, 28 Oct 2008 08:38:10 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:56945) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kunpp-0005Ov-HO for emacs-devel@gnu.org; Tue, 28 Oct 2008 08:38:10 -0400 Original-Received: (qmail invoked by alias); 28 Oct 2008 12:38:07 -0000 Original-Received: from 62-47-38-126.adsl.highway.telekom.at (EHLO [62.47.38.126]) [62.47.38.126] by mail.gmx.net (mp052) with SMTP; 28 Oct 2008 13:38:07 +0100 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18Ub/RKmhoUs8poTXICcll5zgeTWz09qB4Pq0S8Kr PouKWMko1JXGCv User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.85 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:105068 Archived-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. martin