From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Wittern Subject: Remove Org and Tbl from menubar for derived mode Date: Fri, 13 Sep 2013 21:28:04 +0900 Message-ID: <523304D4.90604@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKSTx-0007pi-RZ for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 08:28:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKSTp-0005ZK-F7 for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 08:28:17 -0400 Received: from mail-pd0-x22e.google.com ([2607:f8b0:400e:c02::22e]:51504) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKSTp-0005Z5-8C for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 08:28:09 -0400 Received: by mail-pd0-f174.google.com with SMTP id y13so1183824pdi.5 for ; Fri, 13 Sep 2013 05:28:07 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Mailing List 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? All the best and thanks in advance, Christian -- Christian Wittern, Kyoto