From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 12406@debbugs.gnu.org
Subject: bug#12406: 24.2.50; frame parameter `menu-bar-lines' and `menu-bar-mode'
Date: Mon, 10 Sep 2012 16:39:44 -0400 [thread overview]
Message-ID: <jwvd31ty5sc.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <54FF7233AE2E4AF39FEC5B688D67341E@us.oracle.com> (Drew Adams's message of "Mon, 10 Sep 2012 10:59:22 -0700")
> emacs -Q
> (setq special-display-frame-alist '((menu-bar-lines . 1))
> special-display-regexps '("[ ]?[*][^*]+[*]"))
> (menu-bar-mode 0)
> (describe-variable 'menu-bar-mode)
> You will see that:
> * Buffer *Help* is displayed in its own frame.
> * It says that menu-bar-mode is nil (which it is).
> * The frame has a menu bar.
The core of the problem is that menu-bar-mode is global, whereas the
presence/absence of a menu-bar is actually a frame property (and it's
important to me that it be so, because I have some frames with
a menu-bar and some without).
So `menu-bar-mode' is a lie. One possible fix is to make menu-bar-mode
into a frame-local mode, so calling menu-bar-mode would only affect the
current frame (and maybe also the future frames) but not the other
existing frames.
Stefan
next prev parent reply other threads:[~2012-09-10 20:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-10 17:59 bug#12406: 24.2.50; frame parameter `menu-bar-lines' and `menu-bar-mode' Drew Adams
2012-09-10 20:39 ` Stefan Monnier [this message]
2012-09-10 21:41 ` Drew Adams
2012-09-12 8:09 ` martin rudalics
2012-09-12 14:13 ` Drew Adams
2012-09-12 15:08 ` martin rudalics
2012-09-12 15:33 ` Drew Adams
2012-09-12 16:48 ` martin rudalics
2012-09-12 17:42 ` Drew Adams
2012-09-12 17:53 ` martin rudalics
2012-09-12 18:02 ` Drew Adams
2012-09-13 3:17 ` Stefan Monnier
2012-09-13 4:05 ` Drew Adams
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=jwvd31ty5sc.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=12406@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.