On 2013-09-14 13:42 , Jambunathan K wrote:
(add-hook 'org-mode-hook
(lambda nil
(local-unset-key [menu-bar Org])))
Thanks, if I do this for my derived mode, it does exactly what I need!
Christian
--
Christian Wittern, Kyoto
Christian Wittern 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
Christian Wittern writes:
> 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 i
> On Sep 13, 2013, at 2:28 PM, Christian Wittern wrote:
> >
> > (define-key org-mode-map [menu-bar Org] nil)
Oops, Christian already tried that! I guess it's time for me to go to
bed :-p.
--
Suvayu
Open source is the future. It sets us free.
Hi,
On Fri, Sep 13, 2013 at 02:44:31PM +0200, Carsten Dominik wrote:
> On Sep 13, 2013, at 2:28 PM, Christian Wittern wrote:
>
> > 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
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.
Christian Wittern writes:
> I wonder if anybody here has any advice?
Not really an advice, just a hint: doesn't org-mode itself use easy-menu
to remove outline from the menu bar?
,---
| 9 matches for "easy-menu" in buffer: org.el
|
On Sep 13, 2013, at 2:28 PM, Christian Wittern 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 user
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 thin