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#14795: height parameter inconsistent in new vs existing frames when tool-bar is enabled Date: Fri, 05 Jul 2013 09:45:31 +0200 Message-ID: <51D6799B.4000303@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1373010373 21909 80.91.229.3 (5 Jul 2013 07:46:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 5 Jul 2013 07:46:13 +0000 (UTC) Cc: 14795@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 05 09:46:13 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Uv0iZ-00059R-PY for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 09:46:11 +0200 Original-Received: from localhost ([::1]:51413 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv0iZ-0004ds-Ff for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Jul 2013 03:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv0iS-0004Wb-Ek for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2013 03:46:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uv0iR-0008Tb-MR for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2013 03:46:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36420) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uv0iR-0008TV-Ig for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2013 03:46:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Uv0iR-0007pJ-2R for bug-gnu-emacs@gnu.org; Fri, 05 Jul 2013 03:46:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Jul 2013 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14795-submit@debbugs.gnu.org id=B14795.137301034330002 (code B ref 14795); Fri, 05 Jul 2013 07:46:02 +0000 Original-Received: (at 14795) by debbugs.gnu.org; 5 Jul 2013 07:45:43 +0000 Original-Received: from localhost ([127.0.0.1]:58965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uv0i7-0007no-1b for submit@debbugs.gnu.org; Fri, 05 Jul 2013 03:45:43 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:54358) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uv0i4-0007nT-BT for 14795@debbugs.gnu.org; Fri, 05 Jul 2013 03:45:40 -0400 Original-Received: from [62.47.47.33] ([62.47.47.33]) by mail.gmx.com (mrgmx101) with ESMTPA (Nemesis) id 0M50aI-1U0Pfk0h0o-00zGxY; Fri, 05 Jul 2013 09:45:34 +0200 In-Reply-To: X-Provags-ID: V03:K0:FVy/8yfdtaEdKWoBK8kQNv0cvZY+RKSCE9ZFrCeXIOat1RN+ncs 86sEv6fW059VFqHpWHn7pGsBozrv7fiyKcPy6yn1R2QetMl6PMt/gpOLKrXsbttqO0qJilN XyB/2aGOOlSkzFFA+Eb6p3Cf3GZ3co44KPVC/A00ujM1oWVeQgRRAnJBWtumEA62Tsu0CCw fAEFMQKt/Pbr9s/A04GhQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75932 Archived-At: > /* Add the tool-bar height to the initial frame height so that the > user gets a text display area of the size he specified with -g or > via .Xdefaults. Later changes of the tool-bar height don't > change the frame size. This is done so that users can create > tall Emacs frames without having to guess how tall the tool-bar > will get. */ > if (toolbar_p && FRAME_TOOL_BAR_LINES (f)) > > I remain unconvinced. That's mixing apples and oranges. If UI commands > (like -g) and UI settings (like X resources) should interpret the > frame height as meaning the client area, so be it. But then we should > decouple these from the `height' frame parameter, because it doesn't > really make sense to say that `height' means client area height when > creating a frame, but total frame height when modifying it. What did you expect? It's impossible to tell what a frame's height or width is :-( martin