all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom <adatgyujto@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Emacs, X And Modifier Keys
Date: Tue, 15 Dec 2015 17:43:06 +0000 (UTC)	[thread overview]
Message-ID: <loom.20151215T183929-330@post.gmane.org> (raw)
In-Reply-To: 22086.24821.661298.76226@retriever.mtv.corp.google.com

T.V Raman <raman <at> google.com> writes:

> 
> When running under X, I presently dont know of any way to listen for
> just the ctrl key being pressed by itself --- can this be made
> possible  going forward?

It should already be possible if you don't mind using external
tools.

Using a combination of xdotool and xmodmap you should be able to
make control send a different keycode when emacs is active, so
you can bind a command to it in emacs.

I haven't tried it under X, but that's how I utilize my right
control key (which I wouldn't use otherwise in emacs) on Windows
using autohotkey.





      parent reply	other threads:[~2015-12-15 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-13 22:15 Emacs, X And Modifier Keys T.V Raman
2015-11-14  0:22 ` Xue Fuqiao
2015-12-15 17:43 ` Tom [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=loom.20151215T183929-330@post.gmane.org \
    --to=adatgyujto@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.