From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Klimov Newsgroups: gmane.emacs.devel Subject: Monitoring KeyRelease Date: Thu, 5 Jul 2012 20:25:34 +0300 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Trace: dough.gmane.org 1341512701 19013 80.91.229.3 (5 Jul 2012 18:25:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 5 Jul 2012 18:25:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 05 20:25:01 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Smqjd-00078S-4z for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2012 20:25:01 +0200 Original-Received: from localhost ([::1]:59802 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Smqjc-0000t3-5C for ged-emacs-devel@m.gmane.org; Thu, 05 Jul 2012 14:25:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:39541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmqjY-0000sn-Sj for emacs-devel@gnu.org; Thu, 05 Jul 2012 14:24:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SmqjX-0003D1-5z for emacs-devel@gnu.org; Thu, 05 Jul 2012 14:24:56 -0400 Original-Received: from 62.128.58.36.static.012.net.il ([62.128.58.36]:47865 helo=mx.eitan.edu) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SmqjW-0003Cf-O7 for emacs-devel@gnu.org; Thu, 05 Jul 2012 14:24:55 -0400 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mx.eitan.edu (8.13.8/8.13.8) with ESMTP id q65HPY7F029167 for ; Thu, 5 Jul 2012 20:25:35 +0300 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 62.128.58.36 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151439 Archived-At: 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