emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@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: Fri, 13 Sep 2013 14:44:31 +0200	[thread overview]
Message-ID: <764BD900-0C97-4180-824B-3CF58D6B21CC@gmail.com> (raw)
In-Reply-To: <523304D4.90604@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]


On Sep 13, 2013, at 2:28 PM, Christian Wittern <cwittern@gmail.com> wrote:

> Hi there,
> 
> 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, who will be Emacs newbies in most cases.
> I tried several things like
> 
> (define-key org-mode-map [menu-bar Org] nil)
> or
> (define-key global-map [menu-bar Org] nil)
> and some other combinations of this line of thought, but nothing succeeded in removing the stuff.
> 
> I wonder if anybody here has any advice?

Interesting question, and I do not know the answer.  Only that you certainly should not change the org-mode-map, because such changes would have effects in all Org mode buffers.

- Carsten

> 
> All the best and thanks in advance,
> 
> Christian
> 
> -- 
> Christian Wittern, Kyoto
> 
> 


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

  reply	other threads:[~2013-09-13 12:44 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 [this message]
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
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=764BD900-0C97-4180-824B-3CF58D6B21CC@gmail.com \
    --to=carsten.dominik@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).