Subject: bug#4125 closed by Jan Djärv <[email-masked]> (Re: bug#4122)

From: [email-masked] (Emacs bug Tracking System)
Date: Wed, 02 Sep 2009 17:10:11 +0000

This is an automatic notification regarding your bug report
which was filed against the emacs package:

#4122: 23.1; GTK menu contents don't change

It has been closed by Jan Djärv <[email-masked]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Jan Djärv <[email-masked]> by
replying to this email.

-- 
4122: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=4122
Emacs Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#4122
From: Jan Djärv <[email-masked]>
To: era eriksson <[email-masked]>, [email-masked]
Cc: [email-masked]
Date: Wed, 02 Sep 2009 19:04:46 +0200

Fix checked in.

	Jan D.

Subject: 23.1; GTK menu contents don't change
From: Robin Green <[email-masked]>
To: [email-masked]
Date: Tue, 11 Aug 2009 16:54:45 +0100

After opening a file, the contents of the Buffer menu do not change - the menu still begins with *scratch* and *messages*. However, if you actually click with the mouse on the *messages* menu item, you do NOT get sent to the *messages* buffer - you get sent to some other buffer. Likewise, in a new major mode, each menu displays either the old contents of the menu that was in that position in the menubar in the previous major mode, or nothing (an empty menu). Likewise, if you select some text with the mouse, the "Cut" and "Copy" items in the Edit menu do not become enabled, as they should.

All of this evidence suggests that, after the original menubar is created, new menus can be added or removed, but any alterations to menus do not take effect on the display. However, as shown by the example of clicking on the *messages* menu item in the Buffers menu, emacs appears to be reacting AS IF the altered version of the menu was being displayed, even though it isn't.

I am running on Fedora Linux rawhide (i.e. the development version, pre-Fedora-12), with the following gtk2 package:
gtk2-2.17.6-4.fc12.i686

In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.17.6)
 of 2009-08-11 on fedora
Windowing system distributor `The X.Org Foundation', version 11.0.10402000
configured using `configure  '--with-x-toolkit=gtk' '--without-makeinfo' '--with-x''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> C-x C-f <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> m i <tab> <return> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <menu-bar> <help-menu> <about-emacs> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <menu-bar> <help-menu> 
<send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading /home/greenrd/opened/haskell-mode/haskell-site-file.el (source)...done
Loading /home/greenrd/.cabal/share/Agda-2.2.4/emacs-mode/agda2.el (source)...done
For information about GNU Emacs and the GNU system, type C-h C-a.