--- 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#6499: 23.1; Emacs gets stuck waiting for menu input |
Date: |
Fri, 16 Jul 2010 14:48:36 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 |
Tobias Bading skrev 2010-07-16 12.05:
Hi,
could someone please reopen bug #6499? IMHO this hasn't been fixed yet. I just
tried trunk r100830 and Jan's patch from the emacs-23 branch has made it into
the trunk, causing the following side-effect:
The patch is not in trunk, 100830 fixed 6645. It is not in trunk 100831 either.
Please learn to use bzr log. It tells you which bugs have been fixed.
Jan D.
--- End Message ---