emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Christian Wittern <cwittern@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: Remove Org and Tbl from menubar for derived mode
Date: Sat, 14 Sep 2013 10:12:35 +0530	[thread overview]
Message-ID: <87ob7wj9ok.fsf@gmail.com> (raw)
In-Reply-To: <523304D4.90604@gmail.com> (Christian Wittern's message of "Fri, 13 Sep 2013 21:28:04 +0900")

Christian Wittern <cwittern@gmail.com> writes:

> I am developing a mode derived from org for special editing and
> browsing purposes.  I will add my own menu to the menubar and would
> like to remove the menus added by org, "Org" and "Tbl", in order not
> to confuse my users

Try this

    (add-hook 'org-mode-hook
              (lambda nil
                (local-unset-key [menu-bar Org])))

  parent reply	other threads:[~2013-09-14  4:40 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
2013-09-14  4:42 ` Nick Dokos
2013-09-14  4:42 ` Jambunathan K [this message]
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=87ob7wj9ok.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=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).