From: Eli Zaretskii <eliz@gnu.org>
To: Alex <agrambot@gmail.com>
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: Sun, 01 Oct 2017 19:02:11 +0300 [thread overview]
Message-ID: <83tvzi3lh8.fsf@gnu.org> (raw)
In-Reply-To: <878tgvy3dq.fsf@gmail.com> (message from Alex on Sat, 30 Sep 2017 21:05:05 -0600)
> From: Alex <agrambot@gmail.com>
> Cc: 14793@debbugs.gnu.org, npostavs@users.sourceforge.net, regularclockwork@gmail.com
> Date: Sat, 30 Sep 2017 21:05:05 -0600
>
> (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.
Who said a mouse click could be a prefix key?
next prev parent reply other threads:[~2017-10-01 16:02 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 ` bug#14793: 23.4; Cannot bind a function to a sequence of two mouse keys Alex
2017-10-01 16:02 ` Eli Zaretskii [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83tvzi3lh8.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=14793@debbugs.gnu.org \
--cc=agrambot@gmail.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.