emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Wittern <cwittern@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Remove Org and Tbl from menubar for derived mode
Date: Sat, 14 Sep 2013 08:36:47 +0900	[thread overview]
Message-ID: <5233A18F.6090503@gmail.com> (raw)
In-Reply-To: <878uz027h7.fsf@gmail.com>

On 2013-09-13 22:09, Thorsten Jolitz wrote:
> 9 matches for "easy-menu" in buffer: org.el
> |    5312:        (easy-menu-remove outline-mode-menu-heading)
> |    5313:        (easy-menu-remove outline-mode-menu-show)
> |    5314:        (easy-menu-remove outline-mode-menu-hide))
Yeah, I have seen that.  The problem is the way easy-menu-remove is defined:

easy-menu-remove is an alias for `ignore' in `easymenu.el'.

And the docstring explains:
<quote>
Remove MENU from the current menu bar.
Contrary to XEmacs, this is a nop on Emacs since menus are automatically
(de)activated when the corresponding keymap is (de)activated.
</quote>

In addition to that, it seems that this is not removing the top-level menu, 
but some of the sub-menu entries (... if I understand this correctly...).

And, as Carsten reminded me, what I do *not* want to do is de-activate 
org-mode's keymap:-)

So still wondering...

Christian

-- 
Christian Wittern, Kyoto

  reply	other threads:[~2013-09-13 23:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-13 12:28 Remove Org and Tbl from menubar for derived mode Christian Wittern
2013-09-13 12:44 ` Carsten Dominik
2013-09-14  0:43   ` Suvayu Ali
2013-09-14  0:44   ` Suvayu Ali
2013-09-13 13:09 ` Thorsten Jolitz
2013-09-13 23:36   ` Christian Wittern [this message]
2013-09-14  4:42 ` Nick Dokos
2013-09-14  4:42 ` Jambunathan K
2013-09-16  1:24   ` Christian Wittern

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=5233A18F.6090503@gmail.com \
    --to=cwittern@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).