all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: drew.adams@oracle.com, 25-done@debbugs.gnu.org
Subject: bug#25: frame parameter menu-bar-lines changes height of frame
Date: Wed, 31 Dec 2014 19:36:36 +0100	[thread overview]
Message-ID: <54A44234.2020305@gmx.at> (raw)
In-Reply-To: <BDEIJAFNGDOAGCJIPKPBEEPECFAA.drew.adams@oracle.com>

 > > 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





  parent reply	other threads:[~2014-12-31 18:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-24  4:28 frame parameter menu-bar-lines changes height of frame Drew Adams
     [not found] ` <handler.25.B.12042761599705.ack@emacsbugs.donarmstrong.com>
2008-02-29 15:21   ` bug#25: Acknowledgement (frame parameter menu-bar-lines changes height of frame) Drew Adams
2008-02-29 15:45     ` Jason Rumney
2008-02-29 16:06       ` Drew Adams
2008-03-01  0:23         ` Don Armstrong
2008-03-01  0:02     ` Don Armstrong
2008-03-02  5:29     ` Stefan Monnier
2008-03-02 21:31       ` Eli Zaretskii
2008-03-02 23:06         ` Don Armstrong
2014-12-31 18:36 ` martin rudalics [this message]
2014-12-31 18:53   ` bug#25: frame parameter menu-bar-lines changes height of frame Drew Adams
2015-01-01 10:25     ` martin rudalics
  -- strict thread matches above, loose matches on Subject: below --
2008-06-10 19:06 Stefan Monnier
2008-06-10 19:42 ` Drew Adams
2008-06-10 20:32   ` Jason Rumney
2008-06-10 20:52     ` Drew Adams
2008-06-10 21:20       ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=54A44234.2020305@gmx.at \
    --to=rudalics@gmx.at \
    --cc=25-done@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.