[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Modifier state?

From: Stefan Monnier
Subject: Re: Modifier state?
Date: Fri, 13 Feb 2009 20:43:57 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

> Do we have a way to detect the modifier state from the Lisp level, or bind
> commands to modifier state changes?


I did some simple experiments with it, in order to get events like
<control> and <down-control> (which actually were <down-control> and
<C-control> because when the release event is received, the modifier
state is not yet cleared).  I did get it to work OK without too much
trouble (mostly I had to add some function-key-map entries to drop those
events when not bound, and I had to rework C-q so that it waits for
a "real" key press rather than stopping at the <down-control>), but
haven't investigated much further.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]