>> My previous change (i.e. using `(or menu-updating-frame (selected-frame))')
>> assumes that if `menu-updating-frame' is nil, this means that the menu
>> frame is the same as the selected frame.
>
> I'm not sure this is the right assumption. I will think about this
> problem some more and try to
> From: Juri Linkov <[EMAIL PROTECTED]>
> Cc: emacs-pretest-bug@gnu.org
> Date: Thu, 10 Nov 2005 12:08:05 +0200
>
> > Does the following patch give good results?
> >
> > Index: src/xmenu.c
> > ===
> > RCS file: /cvsroot/emacs/emacs/sr
> Does the following patch give good results?
>
> Index: src/xmenu.c
> ===
> RCS file: /cvsroot/emacs/emacs/src/xmenu.c,v
> retrieving revision 1.295
> diff -u -r1.295 xmenu.c
> --- src/xmenu.c 7 Aug 2005 12:33:19 - 1.2
> From: Juri Linkov <[EMAIL PROTECTED]>
> Cc: emacs-pretest-bug@gnu.org
> Date: Wed, 09 Nov 2005 11:38:34 +0200
>
> > In xmenu.c the function set_frame_menubar binds menu-updating-frame to
> > the frame passed to it as argument. Could you please look and see why
> > this isn't working as intended
> In xmenu.c the function set_frame_menubar binds menu-updating-frame to
> the frame passed to it as argument. Could you please look and see why
> this isn't working as intended?
The non-toolkit version of Emacs doesn't call it at all, because
`USE_X_TOOLKIT' and `USE_GTK' are not defined. In th
> From: Juri Linkov <[EMAIL PROTECTED]>
> Cc: emacs-pretest-bug@gnu.org
> Date: Tue, 08 Nov 2005 14:43:43 +0200
>
> >> In Emacs configured with '--with-x-toolkit=no' on i686-pc-linux-gnu
> >> and run with `emacs -Q', `menu-updating-frame' is nil. This causes
> >> some menu items to be permanently
>> In Emacs configured with '--with-x-toolkit=no' on i686-pc-linux-gnu
>> and run with `emacs -Q', `menu-updating-frame' is nil. This causes
>> some menu items to be permanently disabled due to the condition in
>> `menu-bar-menu-frame-live-and-visible-p' where `(display-multi-frame-p)'
>> returns
> From: Juri Linkov <[EMAIL PROTECTED]>
> Date: Mon, 07 Nov 2005 16:31:31 +0200
>
> In Emacs configured with '--with-x-toolkit=no' on i686-pc-linux-gnu
> and run with `emacs -Q', `menu-updating-frame' is nil. This causes
> some menu items to be permanently disabled due to the condition in
> `menu
In Emacs configured with '--with-x-toolkit=no' on i686-pc-linux-gnu
and run with `emacs -Q', `menu-updating-frame' is nil. This causes
some menu items to be permanently disabled due to the condition in
`menu-bar-menu-frame-live-and-visible-p' where `(display-multi-frame-p)'
returns `t'.
--
Juri