unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Monitoring KeyRelease
@ 2012-07-05 17:25 Alexander Klimov
  2012-07-05 20:14 ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Alexander Klimov @ 2012-07-05 17:25 UTC (permalink / raw)
  To: emacs-devel

Instead of normal modifiers (C-, M-, ...), it would be nice to use the 
usual keys (such as `f' or `j') as modifiers and thus do the most 
common operations without leaving the home row (e.g., instead of 
C-f/C-b do, say, j-f/j-b, that is hold j and press either f or b).

key-chord.el shows that it is possible to use the time to decide that 
several keys represent a chord. This approach is inconvenient since it 
requires the keys to be never used in usual words and does not allow 
to hold the "modifier" and repeat only the other key.

The proper way seems to require handling KeyPress/KeyRelase, but it 
seems Emacs currently ignores KeyRelease (xterm.c:6680).

Do I understand correctly that in the current Emacs version, while 
processing a keypress, it is impossible to get information about which 
other keys are pressed? What you think is the easiest way to fix this?

-- 
Regards,
ASK



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-07-06 22:05 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-05 17:25 Monitoring KeyRelease Alexander Klimov
2012-07-05 20:14 ` Stefan Monnier
2012-07-06 18:38   ` Alexander Klimov
2012-07-06 18:47     ` Andreas Schwab
2012-07-06 21:20       ` Alexander Klimov
2012-07-06 19:00     ` chad
2012-07-06 22:05       ` Alexander Klimov

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).