From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.help Subject: Re: does emacs know (xev-like) when a modifier key is pressed? Date: Thu, 13 Sep 2012 07:49:27 -0700 (PDT) Message-ID: <27705b14-bbbc-4518-a1bd-628069bf9f34@googlegroups.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1347547790 2544 80.91.229.3 (13 Sep 2012 14:49:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Sep 2012 14:49:50 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: gnu.emacs.help@googlegroups.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Sep 13 16:49:53 2012 Return-path: Envelope-to: geh-help-gnu-emacs@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 1TCAjm-0004Vc-GF for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 16:49:50 +0200 Original-Received: from localhost ([::1]:46254 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCAji-0008Gb-SQ for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Sep 2012 10:49:46 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52287) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCAja-0008GV-St for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 10:49:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCAjR-0007lC-Dq for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 10:49:38 -0400 Original-Received: from mail-qa0-f61.google.com ([209.85.216.61]:40019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCAjR-0007l1-A8 for help-gnu-emacs@gnu.org; Thu, 13 Sep 2012 10:49:29 -0400 Original-Received: by qadz32 with SMTP id z32so6663913qad.6 for ; Thu, 13 Sep 2012 07:49:28 -0700 (PDT) Original-Received: by 10.68.232.230 with SMTP id tr6mr562626pbc.16.1347547767926; Thu, 13 Sep 2012 07:49:27 -0700 (PDT) Original-Path: glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=180.75.58.112; posting-account=pYxWjwkAAACsHSUNDoi5N05LVCTP7PVM Original-NNTP-Posting-Host: 180.75.58.112 User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-IP: 180.75.58.112 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.216.61 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86752 Archived-At: 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 m= odifiers, but it isn't exposed outside of the keyboard handling code (see m= od_key_state in w32inevt.c for example)