Subject: Re: bug#4843: creating menus

From: Daniel Carvalho <[email-masked]>
Date: Sun, 1 Nov 2009 12:58:37 +0000

2009/11/1 Jan Djärv <[email-masked]>:
> Daniel Carvalho skrev:
>>
>> hi
>> when I recently upgraded to Ubuntu 9.10 the elisp code to create menus
>> stop working.
>>
>> Consider example in http://xahlee.org/emacs/elisp_menu.html
>> It creates the menu "MyMenu", but the menu itens inside it don't show!
>>
>> The emacs version didn't change: GNU Emacs 22.2.1
>>
>> Anyone else had this problem? how to solve it?
>
> It can be because you are now using a newer Gtk+ version.  Please use
> report-emacs-bug so we can see that at once instead of having to ask.
>

Please see full report (without setting GDK_NATIVE_WINDOWS=1) at end of message

> If indeed you are using Gtk+, it is due to the introduction of native
> windows.
> To see if this is the case, start emacs with
> % GDK_NATIVE_WINDOWS=1 emacs
> and try again.
>

If I do it that way, the problem is solved!
thanks

--

To: [email-masked]
Subject: creating menus
--text follows this line--

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list,
and to the gnu.emacs.bug news group.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/22.2/etc/DEBUG for instructions.

In GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.18.2)
 of 2009-10-15 on rothera, modified by Ubuntu
Windowing system distributor `The X.Org Foundation', version 11.0.10604000
configured using `configure  '--build=i486-linux-gnu'
'--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib'
'--libexecdir=/usr/lib' '--localstatedir=/var'
'--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs22:/etc/emacs:/usr/local/share/emacs/22.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/22.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/22.2/leim'
'--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=i486-linux-gnu'
'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN
-DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed'
'CPPFLAGS=''

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: pt_PT.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  show-paren-mode: t
  delete-selection-mode: t
  pc-selection-mode: t
  auto-image-file-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
M-x r e p o t <backspace> r t - e m a c a <tab> <backspace>
<tab> <return>

Recent messages:
Loading delsel...done
Loading paren...done
Loading saveplace...done
Loading /home/daniel/comp/elisp/system-type--gnu-linux.el (source)...done
fim ponto_emacs
Loading /home/daniel/comp/elisp/ponto_emacs.el (source)...done
Loading places from /home/daniel/.emacs-places...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Loading emacsbug...done
call-interactively: End of buffer