From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: window-body-height vs window-text-height Date: Tue, 28 Oct 2008 08:11:47 -0700 Message-ID: <002301c9390f$7f228070$0200a8c0@us.oracle.com> References: <4906E78C.7050207@gmx.at> <4907076E.60101@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1225206876 27015 80.91.229.12 (28 Oct 2008 15:14:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Oct 2008 15:14:36 +0000 (UTC) Cc: 'emacs-devel' To: "'martin rudalics'" , "'Miles Bader'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 28 16:15:35 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 1KuqHw-0006qY-Oh for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 16:15:21 +0100 Original-Received: from localhost ([127.0.0.1]:47036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuqGq-0005Cg-0o for ged-emacs-devel@m.gmane.org; Tue, 28 Oct 2008 11:14:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KuqEr-0004lH-Ch for emacs-devel@gnu.org; Tue, 28 Oct 2008 11:12:09 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KuqEp-0004kS-Rs for emacs-devel@gnu.org; Tue, 28 Oct 2008 11:12:09 -0400 Original-Received: from [199.232.76.173] (port=55876 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KuqEp-0004kL-GP for emacs-devel@gnu.org; Tue, 28 Oct 2008 11:12:07 -0400 Original-Received: from rgminet01.oracle.com ([148.87.113.118]:47718) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KuqEn-0000SM-P9; Tue, 28 Oct 2008 11:12:05 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m9SFBqCj008085; Tue, 28 Oct 2008 09:11:52 -0600 Original-Received: from acsmt701.oracle.com (acsmt701.oracle.com [141.146.40.71]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m9SFBm3C014759; Tue, 28 Oct 2008 09:11:51 -0600 Original-Received: from dradamslap1 (/24.23.165.218) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 28 Oct 2008 15:11:46 +0000 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4907076E.60101@gmx.at> Thread-Index: Ack4+sEiALyYvCcqTqSBSqTIqahvsgAFDJ4A X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:105077 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. Just wondering: Why not just one function, with an additional arg to indicate the difference?