From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Wittern Subject: Re: Remove Org and Tbl from menubar for derived mode Date: Sat, 14 Sep 2013 08:36:47 +0900 Message-ID: <5233A18F.6090503@gmail.com> References: <523304D4.90604@gmail.com> <878uz027h7.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKcv5-0005uR-PC for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 19:37:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKcux-0006KJ-BA for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 19:36:59 -0400 Received: from mail-pa0-x233.google.com ([2607:f8b0:400e:c03::233]:63475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKcux-0006KE-2c for emacs-orgmode@gnu.org; Fri, 13 Sep 2013 19:36:51 -0400 Received: by mail-pa0-f51.google.com with SMTP id lf1so3111453pab.38 for ; Fri, 13 Sep 2013 16:36:50 -0700 (PDT) In-Reply-To: <878uz027h7.fsf@gmail.com> 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: emacs-orgmode@gnu.org 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: 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. 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