From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#4543: window-full-height-p Date: Fri, 25 Sep 2009 09:40:11 +0200 Message-ID: <4ABC73DB.1060308@gmx.at> References: <4ABB19F5.50908@gmx.at> Reply-To: martin rudalics , 4543@emacsbugs.donarmstrong.com 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 1253866067 17911 80.91.229.12 (25 Sep 2009 08:07:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 25 Sep 2009 08:07:47 +0000 (UTC) Cc: 4543@emacsbugs.donarmstrong.com To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 25 10:07:39 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mr5q7-0005my-5C for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 10:07:39 +0200 Original-Received: from localhost ([127.0.0.1]:42065 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr5q6-0000Hc-M6 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Sep 2009 04:07:38 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mr5ph-0008NS-T7 for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 04:07:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mr5pc-0008GS-EL for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 04:07:12 -0400 Original-Received: from [199.232.76.173] (port=33314 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mr5pc-0008G6-56 for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 04:07:08 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40703) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mr5pb-0003Tb-Ap for bug-gnu-emacs@gnu.org; Fri, 25 Sep 2009 04:07:07 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8P874of004895; Fri, 25 Sep 2009 01:07:05 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8P7o6b2001024; Fri, 25 Sep 2009 00:50:06 -0700 Resent-Date: Fri, 25 Sep 2009 00:50:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: martin rudalics Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 25 Sep 2009 07:50:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4543 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4543-submit@emacsbugs.donarmstrong.com id=B4543.125386442032042 (code B ref 4543); Fri, 25 Sep 2009 07:50:06 +0000 Original-Received: (at 4543) by emacsbugs.donarmstrong.com; 25 Sep 2009 07:40:20 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n8P7eIBd031926 for <4543@emacsbugs.donarmstrong.com>; Fri, 25 Sep 2009 00:40:19 -0700 Original-Received: (qmail invoked by alias); 25 Sep 2009 07:40:12 -0000 Original-Received: from 62-47-44-18.adsl.highway.telekom.at (EHLO [62.47.44.18]) [62.47.44.18] by mail.gmx.net (mp054) with SMTP; 25 Sep 2009 09:40:12 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/DRShba6LDdQKavGDf6Yg+u/UG1mx1TVuJFZjx/K VpORNCfahwA79A User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: X-Y-GMX-Trusted: 0 X-FuHaFi: 0.6899999999999999 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 25 Sep 2009 04:07:12 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31493 Archived-At: > window-full-width-p has a simple C > implementation, `window-full-width-p' is based on the definition /* Total width of frame F, in columns (characters), including the width used by scroll bars if any. */ #define FRAME_TOTAL_COLS(f) ((f)->total_cols) from frame.h whose semantics I don't understand. Not really simple. > but perhaps the same thing is not possible for height? Hardly. Also I suppose you don't want the return value include the minibuffer height. At least the comment in (if (not (= (1+ (window-height)) (frame-height))) ;not horizontally split seems to suggest that (it confuses horizontally and vertically, BTW). martin