all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Modifier state?
Date: Fri, 13 Feb 2009 15:18:47 -0500	[thread overview]
Message-ID: <1B1D3F3E-49CC-4488-B3D8-5189B834412E@gmail.com> (raw)

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




             reply	other threads:[~2009-02-13 20:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-13 20:18 David Reitter [this message]
2009-02-13 20:25 ` Modifier state? Drew Adams
2009-02-14  1:43 ` Stefan Monnier
2009-02-14 14:34   ` David Reitter

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1B1D3F3E-49CC-4488-B3D8-5189B834412E@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.