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

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

bug#16565: 24.3.50; x-popup-menu just returns nil


From: Michael Heerdegen
Subject: bug#16565: 24.3.50; x-popup-menu just returns nil
Date: Mon, 27 Jan 2014 04:05:38 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Michael Heerdegen <address@hidden> writes:

> (defun foo (event)
>   (interactive "e")
>   (message "%s" (x-popup-menu event (mouse-menu-bar-map))))
>  
> (global-set-key
>  [(meta control mouse-3)] ;just some free key
>  #'foo)
>
> Now, I hit M-C-mouse-3 somewhere.  The menu appears at the right place.
> I select any item, and FOO messages "nil" instead of a list of events.
> This is the bug.

Let me add two notes:

1.  The problem doesn't happen here if I call `x-popup-menu' with a
(TITLE PANE1 PANE2...) list instead of (mouse-menu-bar-map).

2.  I think the problem exists at least since several weeks.


Michael.





reply via email to

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