From: Drew Adams <drew.adams@oracle.com>
To: 20157@debbugs.gnu.org
Subject: bug#20157: 25.0.50; `describe-key-briefly' shows byte-code for <mouse-movement>
Date: Sat, 21 Mar 2015 11:43:21 -0700 (PDT) [thread overview]
Message-ID: <df31ba66-a4ca-4ca7-b14b-0ef4bc923788@default> (raw)
I cannot easily give a recipe to repro this. But using
`describe-key-briefly' with non-nil INSERT arg and clicking mouse-1
in some contexts gives me this:
<down-mouse-1> at that spot runs the command mouse-drag-region
<mouse-movement> runs the command #[257 "..." [(down-mouse-1
(#<window 26 on throw-show-key.el> 5007 (577 . 198) 152173811 nil
5007 (82 . 16) nil (3 . 6) (0 . 12))) (5007)
#<window 26 on throw-show-key.el> 0 44 0 nil event-end posn-point
mouse-movement integer-or-marker-p mouse--drag-set-mark-and-point
mouse-position mouse-scroll-subr nil auto-hscroll-mode] 9 "
(fn EVENT)" "e"]
where the "..." after the #[257 is really byte-code.
So far, I have not seen byte code for other key descriptions.
I say in some contexts because if I just put this in a buffer and use
C-x C-e on it, it just inserts "<mouse-movement> runs the command
ignore":
(describe-key-briefly [mouse-movement] t)
So far, I have not seen byte-code for other key descriptions.
I tried using the debugger on this, but was unable to repro the problem
then. Apparently, sometimes clicking mouse-1 causes the normal text
"runs the command ignore" to be used. Sometimes it shows the byte code.
The preceding command, when it does this, seems always to be
`mouse-drag-region', from a <down-mouse-1> event.
reply other threads:[~2015-03-21 18:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=df31ba66-a4ca-4ca7-b14b-0ef4bc923788@default \
--to=drew.adams@oracle.com \
--cc=20157@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).