From: Jason Rumney <jasonrumney@gmail.com>
To: gnu.emacs.help@googlegroups.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: does emacs know (xev-like) when a modifier key is pressed?
Date: Thu, 13 Sep 2012 07:49:27 -0700 (PDT) [thread overview]
Message-ID: <27705b14-bbbc-4518-a1bd-628069bf9f34@googlegroups.com> (raw)
In-Reply-To: <mailman.8776.1347544852.855.help-gnu-emacs@gnu.org>
On Thursday, 13 September 2012 22:00:53 UTC+8, Joe Corneli wrote:
> Does Emacs know which modifiers are "on" at a given moment?
No. Certainly not at the lisp level. On some platforms that do not support all modifiers being applied to any key, the C code has knowledge for some modifiers, but it isn't exposed outside of the keyboard handling code (see mod_key_state in w32inevt.c for example)
next prev parent reply other threads:[~2012-09-13 14:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.8776.1347544852.855.help-gnu-emacs@gnu.org>
2012-09-13 14:43 ` does emacs know (xev-like) when a modifier key is pressed? Pascal J. Bourguignon
2012-09-13 14:49 ` Jason Rumney [this message]
2012-09-13 15:41 ` Stefan Monnier
2012-09-13 14:00 Joe Corneli
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=27705b14-bbbc-4518-a1bd-628069bf9f34@googlegroups.com \
--to=jasonrumney@gmail.com \
--cc=gnu.emacs.help@googlegroups.com \
--cc=help-gnu-emacs@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 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.