bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#4843: marked as done (creating menus)


From: Emacs bug Tracking System
Subject: bug#4843: marked as done (creating menus)
Date: Mon, 02 Nov 2009 08:15:09 +0000

Your message dated Mon, 02 Nov 2009 09:08:02 +0100
with message-id <4AEE9362.2050407@swipnet.se>
and subject line Re: bug#4843: creating menus
has caused the Emacs bug report #4843,
regarding creating menus
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4843: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4843
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message --- Subject: creating menus Date: Sat, 31 Oct 2009 22:29:52 +0000
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?



;; Creating a new menu pane in the menu bar to the right of “Tools” menu
(define-key-after
  global-map
  [menu-bar mymenu]
  (cons "MyMenu" (make-sparse-keymap "hoot hoot"))
  'tools )

;; Creating a menu item, under the menu by the id “[menu-bar mymenu]”
(define-key
  global-map
  [menu-bar mymenu nl]
  '("Next Line" . next-line))

;; creating another menu item
(define-key
  global-map
  [menu-bar mymenu pl]
  '("Previous Line" . previous-line))

;; code to remove the whole menu panel
;; (global-unset-key [menu-bar mymenu])



--- End Message ---
--- Begin Message --- Subject: Re: bug#4843: creating menus Date: Mon, 02 Nov 2009 09:08:02 +0100 User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.4pre) Gecko/20090915 Thunderbird/3.0b4
On 2009-11-01 13:58, Daniel Carvalho wrote:
2009/11/1 Jan Djärv<jan.h.d@swipnet.se>:

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

Closing this report as I don't think there will be a new release in the 22 branch. The 23 branch have a fix for this, and the next released 23 will handle this fine.

For Emacs 22, the workaround is to set GDK_NATIVE_WINDOWS=1 in the environment.

        Jan D.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]