GNU bug report logs - #14021
Activation of both Semantic and EDE disables their common submenu in main emacs menu, leaving it available only in visible menu bar

Previous Next

Package: emacs;

Reported by: Nikita Zlobin <nick87720z <at> gmail.com>

Date: Fri, 22 Mar 2013 00:37:03 UTC

Severity: normal

Merged with 14026

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 14021 <at> debbugs.gnu.org (full text, mbox):

From: David Engster <deng <at> randomsample.de>
To: Nikita Zlobin <nick87720z <at> gmail.com>
Cc: 14021 <at> debbugs.gnu.org
Subject: Re: bug#14021: Activation of both Semantic and EDE disables their
	common submenu in main emacs menu,
	leaving it available only in visible menu bar
Date: Fri, 22 Mar 2013 18:45:20 +0100
David Engster writes:
> Since it took me quite some time to understand this, here's a recipe:
>
> * emacs -Q
>
> * M-x menu-bar-mode, so that menu-bar is disabled
>
> * M-x semantic-mode
>
> * M-x global-ede-mode
>
> * Now do C-Mouse 3 to open the "global menu" popup (which I didn't know
>   existed until yesterday...)
>
> Look at the "Development" menu at the bottom. It might be disabled. If
> not, try the recipe again - it seems to be a race condition.

I was wrong here; there's no race condition, but it depends on the order
of mode activation. If you *first* enable global-ede-mode and then
semantic-mode, the Development menu will be disabled. So to be clear:
the above recipe is false; you have to do 'M-x global-ede-mode' first,
and then do 'M-x semantic-mode'.

> It seems however that the "Global Menu" popup displays *either* the
> item from Semantic *or* the one from EDE, but only the latter is
> enabled.

It actually seems that the menu entry that is displayed is the one which
was activated last.

As Nikita already wrote in his initial report, the text-mode menubar
(M-x tmm-menu) has the same problem, though I don't if it uses the same
code as the "Global Menu" popup.

-David




This bug report was last modified 11 years and 104 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.