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#25: frame parameter menu-bar-lines changes height of frame Date: Wed, 31 Dec 2014 19:36:36 +0100 Message-ID: <54A44234.2020305@gmx.at> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1420051050 31649 80.91.229.3 (31 Dec 2014 18:37:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2014 18:37:30 +0000 (UTC) To: drew.adams@oracle.com, 25-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 31 19:37:22 2014 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 1Y6O92-0006su-3J for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Dec 2014 19:37:20 +0100 Original-Received: from localhost ([::1]:41085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6O91-0008E8-Ie for geb-bug-gnu-emacs@m.gmane.org; Wed, 31 Dec 2014 13:37:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33878) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6O8r-0008Bh-Co for bug-gnu-emacs@gnu.org; Wed, 31 Dec 2014 13:37:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6O8l-0001Gd-VF for bug-gnu-emacs@gnu.org; Wed, 31 Dec 2014 13:37:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:52814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6O8l-0001GZ-T6 for bug-gnu-emacs@gnu.org; Wed, 31 Dec 2014 13:37:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y6O8l-0002zx-Nz for bug-gnu-emacs@gnu.org; Wed, 31 Dec 2014 13:37:03 -0500 In-Reply-To: Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 31 Dec 2014 18:37:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 25 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 25@debbugs.gnu.org, rudalics@gmx.at, drew.adams@oracle.com Original-Received: via spool by 25-done@debbugs.gnu.org id=D25.142005100911473 (code D ref 25); Wed, 31 Dec 2014 18:37:03 +0000 Original-Received: (at 25-done) by debbugs.gnu.org; 31 Dec 2014 18:36:49 +0000 Original-Received: from localhost ([127.0.0.1]:33940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6O8W-0002yz-K2 for submit@debbugs.gnu.org; Wed, 31 Dec 2014 13:36:48 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:60667) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y6O8V-0002yp-7O for 25-done@debbugs.gnu.org; Wed, 31 Dec 2014 13:36:47 -0500 Original-Received: from [62.47.141.15] ([62.47.141.15]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LgqEs-1XSQs02Cu6-00oJPT; Wed, 31 Dec 2014 19:36:42 +0100 Original-References: BDEIJAFNGDOAGCJIPKPBEEPECFAA.drew.adams@oracle.com X-Provags-ID: V03:K0:bEIE/nTfhiVIoKFTlqr9kGkn9pBSn1VU62FKMv+DugRtIlFrKLa DokACltkqr1Qiv9Nt4iyeynZXkWU6YVCMpHK5Fq3RQO4FOt9iF7Zo6tDjJKfzmFJ71z8Gft 77NviMi9HS4UrbQVIqbxGPvTM6+kGPDYUF3xpAE/JzqVhn4L9X/a6mrw1K4sukhHF5spM4Z U6sfD6QRrnVYieMJukfxA== X-UI-Out-Filterresults: notjunk:1; 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:97899 Archived-At: > > emacs -Q > > > > (make-frame '((width . 70)(height . 50))) > > (modify-frame-parameters (selected-frame) '((menu-bar-lines . 0))) > > (frame-parameters) > > (modify-frame-parameters (selected-frame) '((menu-bar-lines . 1))) > > (frame-parameters) > > > > Adding and removing a menu-bar line changes the visible height of the > > frame (incorrect), but it does not change the `height' frame > > parameter. The correct behavior is that observed for `tool-bar-lines': > > neither the visible frame height nor the `height' parameter is > > changed. > > Use (assq 'height (frame-parameters)) to see that the `height' > parameter does not change. This can now be handled on trunk/master by adding 'menu-bar-lines' to `frame-inhibit-implied-resize'. Bug closed. Thanks, martin