From: Michael Heerdegen <michael_heerdegen@web.de>
To: 16565@debbugs.gnu.org
Subject: bug#16565: 24.3.50; x-popup-menu just returns nil
Date: Wed, 29 Jan 2014 20:26:04 +0100 [thread overview]
Message-ID: <87txcm1tf7.fsf@web.de> (raw)
In-Reply-To: <52E8BB6C.9070109@swipnet.se> ("Jan \=\?utf-8\?Q\?Dj\=C3\=A4rv\=22's\?\= message of "Wed, 29 Jan 2014 09:27:24 +0100")
Jan Djärv <jan.h.d@swipnet.se> writes:
> The Gtk+ assumtion is that popup is done on key down, not key up, i.e.:
>
> (global-set-key
> [(meta control down mouse-3)] ;just some free key
> #'foo)
>
> It is very strange to popup a menu on key up.
Generally I agree. My use case is not that trivial. I use mouse3 from
Drew, that pops up a menu after the second mouse click, but only when
it was not double click (it depends on the time between). He does that
by redefining `mouse-save-then-kill', which makes sense. So when we pop
up the menu, the up event has already happened.
> From the Gtk+ point of view, that corresponds to popping up without a
> mouse click, hence the error.
Makes sense, in general.
> I have checked in a fix in trunk.
Great. That fixes the problem in general, as well as for mouse3.
Thanks!
Regards,
Michael.
prev parent reply other threads:[~2014-01-29 19:26 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-27 2:50 bug#16565: 24.3.50; x-popup-menu just returns nil Michael Heerdegen
2014-01-27 3:05 ` Michael Heerdegen
2014-01-27 16:10 ` Eli Zaretskii
2014-01-27 19:02 ` Michael Heerdegen
2014-01-28 3:11 ` Michael Heerdegen
2014-01-28 3:47 ` Eli Zaretskii
2014-01-28 5:39 ` Michael Heerdegen
2014-01-28 16:31 ` Eli Zaretskii
2014-01-29 8:27 ` Jan Djärv
2014-01-29 19:26 ` Michael Heerdegen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87txcm1tf7.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=16565@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).