unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Modifier state?
@ 2009-02-13 20:18 David Reitter
  2009-02-13 20:25 ` Drew Adams
  2009-02-14  1:43 ` Stefan Monnier
  0 siblings, 2 replies; 4+ messages in thread
From: David Reitter @ 2009-02-13 20:18 UTC (permalink / raw)
  To: Emacs-Devel devel

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

I'd like to run a command whenever the user presses and releases the  
Meta (not ESC) key.  This would be on non-TTY sessions.

A lot of applications show additional info when you press Alt/Option  
(which is Meta for me); they even update the menus with alternative  
functions.  The user can even view a menu, press and hold Alt/Option  
and see the menu items change.

Thanks
- David




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

end of thread, other threads:[~2009-02-14 14:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-13 20:18 Modifier state? David Reitter
2009-02-13 20:25 ` Drew Adams
2009-02-14  1:43 ` Stefan Monnier
2009-02-14 14:34   ` David Reitter

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