From: Alex <agrambot@gmail.com>
To: eliz@gnu.org
Cc: 14793@debbugs.gnu.org, regularclockwork@gmail.com,
npostavs@users.sourceforge.net
Subject: bug#14793: 23.4; Cannot bind a function to a sequence of two mouse keys
Date: Sat, 30 Sep 2017 21:05:05 -0600 [thread overview]
Message-ID: <878tgvy3dq.fsf@gmail.com> (raw)
In-Reply-To: <878twa94c5.fsf@users.sourceforge.net> (npostavs's message of "Fri, 05 Aug 2016 19:35:38 -0400")
Eli, do you know how to solve this?
Try this:
(define-prefix-command 'test)
(global-set-key (kbd "C-t") #'test)
(global-set-key [mouse-3] #'test)
(global-set-key (kbd "C-t <mouse-2>") #'backward-word)
(global-set-key [mouse-3 mouse-2] #'backward-word)
Hitting C-t mouse-2 calls `backward-word' as intended, but hitting
mouse-3 mouse-2 displays an "Empty menu" error as in the original
report.
The error is thrown from Fx_popup_menu and is called from
read_char_x_menu_prompt, which is only called in the mouse case. I'm not
sure how to proceed from here.
next prev parent reply other threads:[~2017-10-01 3:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-04 17:14 bug#14793: 23.4; Cannot bind a function to a sequence of two mouse keys Stefano Lodi
2013-07-04 20:12 ` bug#14793: Further important info Stefano Lodi
[not found] ` <878twa94c5.fsf@users.sourceforge.net>
2017-10-01 3:05 ` Alex [this message]
2017-10-01 16:02 ` bug#14793: 23.4; Cannot bind a function to a sequence of two mouse keys Eli Zaretskii
2017-10-01 17:53 ` Alex
2017-10-01 18:26 ` Eli Zaretskii
2017-10-03 3:59 ` Alex
2017-10-03 14:33 ` Eli Zaretskii
2017-10-05 3:58 ` Alex
2017-10-05 7:55 ` Eli Zaretskii
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=878tgvy3dq.fsf@gmail.com \
--to=agrambot@gmail.com \
--cc=14793@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=npostavs@users.sourceforge.net \
--cc=regularclockwork@gmail.com \
/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).