From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: [Glenn Morris ] frame-height and make-frame inconsistency Date: 08 Apr 2003 18:18:21 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <5xd6jxynci.fsf@kfs2.cua.dk> References: <5xbrzp96n8.fsf@kfs2.cua.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1049812154 29300 80.91.224.249 (8 Apr 2003 14:29:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 8 Apr 2003 14:29:14 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Apr 08 16:29:11 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 192u63-0007c8-00 for ; Tue, 08 Apr 2003 16:29:11 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 192uA5-0006TW-00 for ; Tue, 08 Apr 2003 16:33:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192u5D-00055Z-06 for emacs-devel@quimby.gnus.org; Tue, 08 Apr 2003 10:28:19 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 192u02-0002fz-00 for emacs-devel@gnu.org; Tue, 08 Apr 2003 10:22:58 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 192txM-0001Sl-00 for emacs-devel@gnu.org; Tue, 08 Apr 2003 10:20:14 -0400 Original-Received: from mail.filanet.dk ([195.215.206.179]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 192twr-0001GL-00; Tue, 08 Apr 2003 10:19:42 -0400 Original-Received: from kfs2.cua.dk.cua.dk (kfs2.local.filanet.dk [192.168.1.182]) by mail.filanet.dk (Postfix) with SMTP id 8C76D7C012; Tue, 8 Apr 2003 16:19:40 +0200 (CEST) Original-To: rms@gnu.org In-Reply-To: Original-Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-cc: gmorris@ast.cam.ac.uk X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:13026 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:13026 Richard Stallman writes: > Maybe the proper fix is to let frame-height return the height excl. > the tool-bar. > > Actually, a superficial skimming through various pieces of lisp code > seem to assume that frame-height doesn't include the tool-bar height, > so maybe it would be more appropriate for frame-parameters to return > the height excl. the tool-bar height. > > To do this consistently would be a good idea, but you may find > several changes are needed to make this consistent. It will not be trivial, but I guess it can be done. > > For instance, it would be important to make sure that turning the tool > bar on and off properly preserves the frame height (which doesn't > count the tool bar). > > Would you like to try to do all this? I'll take a look at it, but no promises :-) -- Kim F. Storm http://www.cua.dk