[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: |
Tue, 28 Jan 2014 04:11:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Michael Heerdegen <michael_heerdegen@web.de> writes:
> Will try to do that today, thanks.
Ok, I tried to do my best to understand the C code and GUD.
If I understand correctly, this is executed for me:
selection = xmenu_show (f, xpos, ypos, for_click,
keymaps, title, &error_name);
In the good case, SELECTION is bound to different integers, in the bad
case, it is always the same integer, which seems to mean "nil".
But there is a difference in the arguments of the xmenu_show call. In
the bad case calling with an event:
(x-popup-menu event (mouse-menu-bar-map))
FOR_CLICK is bound to true. In the good case with
(x-popup-menu t (mouse-menu-bar-map))
FOR_CLICK is bound to false.
That made me wonder what happened when I bind `foo' to a mouse-down
event. Then the bug doesn't happen, `foo' doesn't return nil.
HTH,
Michael.
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/26
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/26
- bug#16565: 24.3.50; x-popup-menu just returns nil, Eli Zaretskii, 2014/01/27
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/27
- bug#16565: 24.3.50; x-popup-menu just returns nil,
Michael Heerdegen <=
- bug#16565: 24.3.50; x-popup-menu just returns nil, Eli Zaretskii, 2014/01/27
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/28
- bug#16565: 24.3.50; x-popup-menu just returns nil, Eli Zaretskii, 2014/01/28
- bug#16565: 24.3.50; x-popup-menu just returns nil, Jan Djärv, 2014/01/29
- bug#16565: 24.3.50; x-popup-menu just returns nil, Michael Heerdegen, 2014/01/29