Subject: bug#4843: closed (Re: bug#6499: 23.1; Emacs gets stuck waiting for menu input)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 16 Jul 2010 12:49:03 +0000

Your bug report

#6499: creating menus

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

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

Subject: Re: bug#6499: 23.1; Emacs gets stuck waiting for menu input
From: Jan Djärv <[email-masked]>
To: Tobias Bading <[email-masked]>
Cc: [email-masked], [email-masked], Marius Kjeldahl <[email-masked]>
Date: Fri, 16 Jul 2010 14:48:36 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

Subject: creating menus
From: Daniel Carvalho <[email-masked]>
To: [email-masked]
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])