From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.bugs Subject: 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 Message-ID: <87zjxvz5u7.fsf@engster.org> References: <20130321193736.1518f8e2@ustudio-Satellite-C870-BJK> <878v5f27pt.fsf@engster.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1363974451 17024 80.91.229.3 (22 Mar 2013 17:47:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Mar 2013 17:47:31 +0000 (UTC) Cc: 14021@debbugs.gnu.org To: Nikita Zlobin Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 22 18:47:57 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UJ64I-0004gu-0W for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Mar 2013 18:47:54 +0100 Original-Received: from localhost ([::1]:40123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ63u-0002Di-Km for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Mar 2013 13:47:30 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:44805) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ62Z-0000Wz-JF for bug-gnu-emacs@gnu.org; Fri, 22 Mar 2013 13:46:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJ62Y-0003RL-9T for bug-gnu-emacs@gnu.org; Fri, 22 Mar 2013 13:46:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37068) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJ62X-0003Qw-Ja for bug-gnu-emacs@gnu.org; Fri, 22 Mar 2013 13:46:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UJ64Q-0007Q3-H3 for bug-gnu-emacs@gnu.org; Fri, 22 Mar 2013 13:48:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David Engster Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Mar 2013 17:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14021 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14021-submit@debbugs.gnu.org id=B14021.136397444428470 (code B ref 14021); Fri, 22 Mar 2013 17:48:02 +0000 Original-Received: (at 14021) by debbugs.gnu.org; 22 Mar 2013 17:47:24 +0000 Original-Received: from localhost ([127.0.0.1]:41177 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJ63o-0007P8-BB for submit@debbugs.gnu.org; Fri, 22 Mar 2013 13:47:24 -0400 Original-Received: from randomsample.de ([83.169.19.17]:41645) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJ63m-0007Ob-2t for 14021@debbugs.gnu.org; Fri, 22 Mar 2013 13:47:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=randomsample.de; s=a; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=SE8C+4m6nCN5KN0ERhVN4D0SHLNb6lIunlApcg+liNU=; b=tNQIH5NOOX/8i1NKiEj4BvIjb7dMXs1aQBRJxLgZiCxHvEUPlOnE5J6Ol2f6WMRFgbMYUR5VjqjwGnRV8guPNGi7OmIwfg/6qNhbZ8kPLirmo+N3qsrF7YuwiRon2xUr; Original-Received: from dslc-082-083-045-077.pools.arcor-ip.net ([82.83.45.77] helo=spaten) by randomsample.de with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1UJ61q-0001Q6-84; Fri, 22 Mar 2013 18:45:22 +0100 In-Reply-To: <878v5f27pt.fsf@engster.org> (David Engster's message of "Fri, 22 Mar 2013 08:51:10 +0100") User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux) Mail-Copies-To: never X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72797 Archived-At: 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