all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Modifier state?
Date: Sat, 14 Feb 2009 09:34:04 -0500	[thread overview]
Message-ID: <A5783312-EB77-4CB4-A9C8-83FA7E214730@gmail.com> (raw)
In-Reply-To: <jwviqnd3igl.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 828 bytes --]

On 13 Feb 2009, at 20:43, Stefan Monnier wrote:

>> Do we have a way to detect the modifier state from the Lisp level,  
>> or bind
>> commands to modifier state changes?
>
> No.
>
> 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.

And I guess there's a bit of port-specific work involved, too.
It would be excellent to have this post-23.1.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]

      reply	other threads:[~2009-02-14 14:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

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=A5783312-EB77-4CB4-A9C8-83FA7E214730@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.