From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#25113: 25.1.90; Stale menu items after switching to a different major mode (or visiting a buffer) Date: Mon, 05 Dec 2016 17:41:24 +0200 Message-ID: <834m2il6xn.fsf@gnu.org> References: <86849cdb-fb70-6870-3eaa-2682d6f81f27@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1480952533 2230 195.159.176.226 (5 Dec 2016 15:42:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Dec 2016 15:42:13 +0000 (UTC) Cc: 25113@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 05 16:42:07 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDvP5-0008K6-E2 for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Dec 2016 16:42:07 +0100 Original-Received: from localhost ([::1]:42697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDvP9-0001Iq-Cs for geb-bug-gnu-emacs@m.gmane.org; Mon, 05 Dec 2016 10:42:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40900) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDvP3-0001Hx-Mb for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2016 10:42:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDvOz-0001as-RJ for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2016 10:42:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41692) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cDvOz-0001ak-ON for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2016 10:42:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cDvOz-00020E-Ik for bug-gnu-emacs@gnu.org; Mon, 05 Dec 2016 10:42:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 05 Dec 2016 15:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25113 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25113-submit@debbugs.gnu.org id=B25113.14809524797640 (code B ref 25113); Mon, 05 Dec 2016 15:42:01 +0000 Original-Received: (at 25113) by debbugs.gnu.org; 5 Dec 2016 15:41:19 +0000 Original-Received: from localhost ([127.0.0.1]:57091 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDvOI-0001z9-PR for submit@debbugs.gnu.org; Mon, 05 Dec 2016 10:41:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cDvOI-0001yx-3V for 25113@debbugs.gnu.org; Mon, 05 Dec 2016 10:41:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cDvO7-0000wy-88 for 25113@debbugs.gnu.org; Mon, 05 Dec 2016 10:41:12 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cDvO7-0000wf-53; Mon, 05 Dec 2016 10:41:07 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3213 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cDvO6-0002He-F9; Mon, 05 Dec 2016 10:41:06 -0500 In-reply-to: <86849cdb-fb70-6870-3eaa-2682d6f81f27@yandex.ru> (message from Dmitry Gutov on Mon, 5 Dec 2016 00:45:52 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:126501 Archived-At: > From: Dmitry Gutov > Date: Mon, 5 Dec 2016 00:45:52 +0200 > > 1. Start 'emacs -Q', and > > - In *scratch*, M-x ruby-mode (or python-mode, or probably many others) > > OR > > - C-x C-f, visit a Ruby file (or, again, probably any other file) > > 2. See the "Lisp Interaction" menu disappear, and "Ruby" manu appear. > > However, the contents of that menu are exactly the same as what was in > "Lisp Interaction". Not reproducible on my system. > Looking at older versions, the problem is present as far back as 24.3 > (with python-mode; ruby-mode didn't have a menu then). > > So this is probably caused by a library change, like the GTK version I > have installed. Most probably. Can you tell which updates did you do lately? When you turn on python-mode or ruby-mode, and click on the problematic menu item ("Ruby" etc.) on the menu bar, do you see x-menu-bar-open-internal called?