From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 21 20:36:41 2013 Received: (at submit) by debbugs.gnu.org; 22 Mar 2013 00:36:42 +0000 Received: from localhost ([127.0.0.1]:39573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIpyL-0003QB-6F for submit@debbugs.gnu.org; Thu, 21 Mar 2013 20:36:41 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38852) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIfiZ-0004D0-7E for submit@debbugs.gnu.org; Thu, 21 Mar 2013 09:39:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIfgi-0005ET-UE for submit@debbugs.gnu.org; Thu, 21 Mar 2013 09:37:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIfgi-0005EP-SC for submit@debbugs.gnu.org; Thu, 21 Mar 2013 09:37:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIfgf-0001DK-SR for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2013 09:37:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIfgc-0005DG-Jl for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2013 09:37:45 -0400 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:59775) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIfgc-0005D2-Cy for bug-gnu-emacs@gnu.org; Thu, 21 Mar 2013 09:37:42 -0400 Received: by mail-la0-f47.google.com with SMTP id fj20so5110789lab.20 for ; Thu, 21 Mar 2013 06:37:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:x-mailer:mime-version :content-type:content-transfer-encoding; bh=h+T28vcFQ+G5aJE3Om2DqSky2cfaSKQSjrF3Y4YQGJ0=; b=EJ71jPIWFWV9iS/IjnhpVmU23qOgLvUW64E3yNFbJLCOCG/HWZEoLBwm4QmEGbWX9L vJhGaIgbcN+KC/eolYgP5O55MWHqz8/8CK4Lz8ktF1osKGGvdbWBgOWOEbuY5M3MmWLO pyemCmaKeqRhDoScZwia3+5W8X4mVcPCKUV80sBIPsP/luqi3LolwtC1nste5xhloFEs /TDTI8C2ZFZx32az5qR5R9NR7lA4fnljPBrSgW5iMYk9HsG4eXRi3DB2y2tEKcHNkhVq fQlr+SARlpDjv3J8Jx31EvlprYVSoBUCchZthF3g6pC/f84wjTLu8cJANDADg7CHvElk Wnog== X-Received: by 10.112.68.34 with SMTP id s2mr11397101lbt.111.1363873060577; Thu, 21 Mar 2013 06:37:40 -0700 (PDT) Received: from ustudio-Satellite-C870-BJK (128-75-114-6.broadband.corbina.ru. [128.75.114.6]) by mx.google.com with ESMTPS id i3sm2084836lbn.0.2013.03.21.06.37.39 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 21 Mar 2013 06:37:39 -0700 (PDT) Date: Thu, 21 Mar 2013 19:37:36 +0600 From: Nikita Zlobin To: bug-gnu-emacs@gnu.org Subject: Activation of both Semantic and EDE disables their common submenu in main emacs menu, leaving it available only in visible menu bar Message-ID: <20130321193736.1518f8e2@ustudio-Satellite-C870-BJK> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.10; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 21 Mar 2013 20:36:31 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) VGhpcyBidWcgaGFwcGVuZWQgZm9yIG1lIGluIHR3byBwbGFjZXM6IGluIHRtbSBtZW51LCBvcGVu ZWQgYnkgY29tbWFuZA0KdG1tLW1lbnUgKG5vIG1hdHRlciwgaXMgbWVudWJhciBlbmFibGVkIG9y IG5vdCksIGFuZCBpdHMgcG9wdXAgdmFyaWFudCwNCndoaWNoIG1heSBiZSBvcGVuZWQgYnkgQy1N b3VzZTMgaWYgbWVudWJhciBpcyBkaXNhYmxlZC4NCg0KV2hlbiBvbmx5IG9uZSBvZiB0aGVzZSB0 d28gbW9kZXMgaXMgZW5hYmxlZCAoZWl0aGVyIHNlbWFudGljIG9yIEVERSksDQptZW51IGlzIGF2 YWlsYWJsZSwgYnV0IGFmdGVyIGFjdGl2YXRpb24gb2YgcmVtYWluaW5nIG9uZSBzdWJtZW51IHR1 cm5zDQp0byBpbmFjdGl2ZSB1c3VhbCBtZW51IGl0ZW0uIEJ1dCBkaXNhYmxpbmcgb2Ygb25lIG1v ZGUsIG1ha2VzIHN1Ym1lbnUNCmF2YWlsYWJsZSBhZ2FpbiBpbiBib3RoIHBsYWNlcy4NCg0KVmVy c2lvbnMuDQplbWFjcyAtIDIzLjQgKGJ1aWx0IG1lbnVhbGx5LCBzaW5jZSBpbiByZXBvIGkgaGFk IG9ubHkgMjMuMyksIDI0LjIuMQ0KYW5kIHNuYXBzaG90IGZvciBkZWJpYW4gZnJvbSBjYXNzb3Ug cGVyc29uYWwgcGFja2FnZSBhcmNoaXZlIG9uDQpsYXVuY2hwYWQuDQpjZWRldCAtIGJvdGggYnVp bHRpbiAob3duIGZvciBlYWNoIGVtYWNzIHZlcnNpb24pIGFuZCBzbmFwc2hvdCBmcm9tIGJ6ci4N Cg0KQWxyZWFkeSBkaXNjdXNzZWQgdGhpcyBvbiBjZWRldC1kZXZlbCBtYWlsaW5nIGxpc3QsIGRp c2N1c3Npb24gaXMNCnVuZGVyIGxpbmsgYmVsb3csIHdoZXJlIHNjcmVlbnNob3RzIGFyZSBhdmFp bGFibGU6DQpodHRwOi8vc291cmNlZm9yZ2UubmV0L21haWxhcmNoaXZlL2ZvcnVtLnBocD90aHJl YWRfbmFtZT01MTQ4RjVBQy42MDcwNTAyJTQwc2llZ2UtZW5naW5lLmNvbSZmb3J1bV9uYW1lPWNl ZGV0LWRldmVsDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCk5vdGUsIG9ubHkgZmlyc3QgdHdvIHBvc3RzIGFyZSB2 YWx1YWJsZSBmb3IgbW9tZW50IG9mIHRoaXMgcmVwb3J0LiBUbw0KYmUgYnJpZWYgaW4gdGhhdCBk aXNjdXNzaW9uIOKAlCBpIHJlZmVycmVkIHRvIHBvcHVwIG1lbnUsIGknbSB0YWxraW5nDQphYm91 dCwgYXMgIkdsb2JhbCBNZW51IiAuIFN0cmFuZ2UsIGhvdyBpdCBtYXkgYmUgd3JvbmcsIHdoZW4g bG9va2luZyB0bw0Kc2NyZWVuc2hvdHMgbWFrZXMgaXQgZnVsbHkgY2xlYXIuDQo= From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 22 03:53:18 2013 Received: (at 14021) by debbugs.gnu.org; 22 Mar 2013 07:53:18 +0000 Received: from localhost ([127.0.0.1]:39983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIwmo-0006o2-So for submit@debbugs.gnu.org; Fri, 22 Mar 2013 03:53:17 -0400 Received: from randomsample.de ([83.169.19.17]:54744) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UIwmi-0006no-F1 for 14021@debbugs.gnu.org; Fri, 22 Mar 2013 03:53:13 -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=ZxB0ZAi0K2arFtztbhgcEoQEwV/8H8wBvIjpiasEDTA=; b=Aur3ZAiJIaPrNtEcFXIS31z0sIlpHC2FZMMQ0LWS2xZGpU9eRdY/QaqfZGDBGxmpAzJE9zm7We/PTWDLMz5ixR/+BpeZ+b8zWnia+v3wYKmVAJn/X7hcumYPKU+ytmQr; 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 1UIwkq-00023q-7F; Fri, 22 Mar 2013 08:51:12 +0100 From: David Engster To: Nikita Zlobin 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 In-Reply-To: <20130321193736.1518f8e2@ustudio-Satellite-C870-BJK> (Nikita Zlobin's message of "Thu, 21 Mar 2013 19:37:36 +0600") References: <20130321193736.1518f8e2@ustudio-Satellite-C870-BJK> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux) Mail-Copies-To: never Date: Fri, 22 Mar 2013 08:51:10 +0100 Message-ID: <878v5f27pt.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.7 (-) X-Debbugs-Envelope-To: 14021 Cc: 14021@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) Nikita Zlobin writes: > This bug happened for me in two places: in tmm menu, opened by command > tmm-menu (no matter, is menubar enabled or not), and its popup variant, > which may be opened by C-Mouse3 if menubar is disabled. > > When only one of these two modes is enabled (either semantic or EDE), > menu is available, but after activation of remaining one submenu turns > to inactive usual menu item. But disabling of one mode, makes submenu > available again in both places. 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. If the item is disabled, turn on the menu-bar, and you'll see that the Development menu there is working just fine. The culprit is this: Both minor-modes, semantic and ede, should use the "Development" menu, but you can use one or the other or both together. This hack in semantic.el is used to accomplish this: (define-key map [menu-bar cedet-menu] (list 'menu-item "Development" cedet-menu-map :enable (quote (not (bound-and-true-p global-ede-mode))))) If you remove the :enable clause, the menu-bar displays two "CEDET-menu" items underneath "Development", which is what this hack avoids. (Note however that the "Global menu" popup will display correctly in this case, so there's the first inconsistency between the two). With this hack, the menu-bar works fine. 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. This is also where I guess the race is happening. I hope this information is sufficient to track this down. Otherwise I'll try to come up with an isolated test case. BTW, I managed to workaround this issue in CEDET trunk by using :enable (quote (not (and menu-bar-mode (bound-and-true-p global-ede-mode)))))) -David From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 22 13:47:24 2013 Received: (at 14021) by debbugs.gnu.org; 22 Mar 2013 17:47:24 +0000 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 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; 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 From: David Engster To: Nikita Zlobin 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 In-Reply-To: <878v5f27pt.fsf@engster.org> (David Engster's message of "Fri, 22 Mar 2013 08:51:10 +0100") References: <20130321193736.1518f8e2@ustudio-Satellite-C870-BJK> <878v5f27pt.fsf@engster.org> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (gnu/linux) Mail-Copies-To: never Date: Fri, 22 Mar 2013 18:45:20 +0100 Message-ID: <87zjxvz5u7.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 14021 Cc: 14021@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.4 (----) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 29 20:45:00 2013 Received: (at control) by debbugs.gnu.org; 30 Mar 2013 00:45:00 +0000 Received: from localhost ([127.0.0.1]:51637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULjum-0006J1-Gc for submit@debbugs.gnu.org; Fri, 29 Mar 2013 20:45:00 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40322) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ULjuk-0006Is-J7 for control@debbugs.gnu.org; Fri, 29 Mar 2013 20:44:59 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1ULjsB-0004qS-EN for control@debbugs.gnu.org; Fri, 29 Mar 2013 20:42:19 -0400 Date: Fri, 29 Mar 2013 20:42:19 -0400 Message-Id: Subject: control message for bug 14026 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.5 (-----) forcemerge 14021 14026 From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 16:24:34 2014 Received: (at 14021) by debbugs.gnu.org; 10 Feb 2014 21:24:34 +0000 Received: from localhost ([127.0.0.1]:41876 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCyLB-0006dw-Rm for submit@debbugs.gnu.org; Mon, 10 Feb 2014 16:24:34 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:54253 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCyL7-0006dj-C7 for 14021@debbugs.gnu.org; Mon, 10 Feb 2014 16:24:30 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WCyL6-000179-An; Mon, 10 Feb 2014 16:24:28 -0500 From: Glenn Morris To: David Engster 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 References: <20130321193736.1518f8e2@ustudio-Satellite-C870-BJK> <878v5f27pt.fsf@engster.org> <87zjxvz5u7.fsf@engster.org> X-Spook: fraud Blowpipe mindwar AMW Operation Iraqi Freedom X-Ran: amc:x?mUGPt;QX8~2lbEg1>2]VAG*s0;a80"ANwDB(lUO7>!YFt`Yun(6s]xtka4&&"2t. X-Hue: blue X-Attribution: GM Date: Mon, 10 Feb 2014 16:24:28 -0500 In-Reply-To: <87zjxvz5u7.fsf@engster.org> (David Engster's message of "Fri, 22 Mar 2013 18:45:20 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 14021 Cc: 14021@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) David Engster wrote: >> * 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'. I could not seem to reproduce this. Was it fixed? From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 16:59:58 2014 Received: (at 14021) by debbugs.gnu.org; 10 Feb 2014 21:59:58 +0000 Received: from localhost ([127.0.0.1]:41963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCytS-0001YD-4e for submit@debbugs.gnu.org; Mon, 10 Feb 2014 16:59:58 -0500 Received: from randomsample.de ([5.45.97.173]:51856) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCytO-0001Y3-VP for 14021@debbugs.gnu.org; Mon, 10 Feb 2014 16:59:55 -0500 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=4TK1kyZ/Uit61aN0ObHNcJDi5Pmixpg6C5j2C1pCWKc=; b=cryd8Zt3yHeZ4ImUbiYo54ZSK0UpdvTW/fyjUrkagE3Zw5ccKB4+b0KxJdlsdJLxro/Xy8B3e5GMVx+0WinvWNb5cAhhRHcTR29WkDbhUkbvjbCK/8D3zCt5zTsHlg0n; Received: from dslc-082-083-048-232.pools.arcor-ip.net ([82.83.48.232] helo=spaten) by randomsample.de with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1WCytN-0001ar-0R; Mon, 10 Feb 2014 22:59:53 +0100 From: David Engster To: Glenn Morris 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 In-Reply-To: (Glenn Morris's message of "Mon, 10 Feb 2014 16:24:28 -0500") References: <20130321193736.1518f8e2@ustudio-Satellite-C870-BJK> <878v5f27pt.fsf@engster.org> <87zjxvz5u7.fsf@engster.org> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Date: Mon, 10 Feb 2014 22:59:47 +0100 Message-ID: <87bnyek4rw.fsf@engster.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 14021 Cc: 14021@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.6 (/) Glenn Morris writes: > David Engster wrote: > >>> * 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'. > > I could not seem to reproduce this. Was it fixed? I managed to work around it with this patch, which is also in Emacs: http://cedet.bzr.sourceforge.net/bzr/cedet/code/trunk/revision/8507 I think there is a bug in how the global menu is handling this, but I guess that should be a separate bug report? IOW, I'd have no problem with closing this. -David From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 10 17:03:09 2014 Received: (at 14021-done) by debbugs.gnu.org; 10 Feb 2014 22:03:09 +0000 Received: from localhost ([127.0.0.1]:41973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCywX-0001fM-5h for submit@debbugs.gnu.org; Mon, 10 Feb 2014 17:03:09 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:54992 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCywT-0001fA-Sj for 14021-done@debbugs.gnu.org; Mon, 10 Feb 2014 17:03:06 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WCywT-00069i-0p; Mon, 10 Feb 2014 17:03:05 -0500 From: Glenn Morris 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 References: <20130321193736.1518f8e2@ustudio-Satellite-C870-BJK> <878v5f27pt.fsf@engster.org> <87zjxvz5u7.fsf@engster.org> <87bnyek4rw.fsf@engster.org> to: 14021-done@debbugs.gnu.org X-Spook: RSA spy IDEA smuggle assassinate infowar George W. Bush X-Ran: qRMs-O+2RJR (David Engster's message of "Mon, 10 Feb 2014 22:59:47 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 14021-done Cc: David Engster X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) Version: 24.4 David Engster wrote: > I managed to work around it with this patch, which is also in Emacs: > > http://cedet.bzr.sourceforge.net/bzr/cedet/code/trunk/revision/8507 Hence closing this report. > I think there is a bug in how the global menu is handling this, but I > guess that should be a separate bug report? Yes please, if someone can give a minimal test case that shows the problem. From unknown Sun Jun 22 04:36:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 11 Mar 2014 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator