From: Giovanni Gigante <giov@cidoc.iuav.it>
To: help-gnu-emacs@gnu.org
Subject: windows key as super
Date: Wed, 18 Nov 2009 12:46:43 +0100 [thread overview]
Message-ID: <4B03DEA3.8040109@cidoc.iuav.it> (raw)
I am using emacs 22.2.1 on debian 5.0.3, through a VNC connection from a
windows machine, and I am trying to configure the windows key for some
emacs shortcut.
VNC is configured to "pass special keys directly to server".
Then I tried in emacs:
(global-set-key (kbd "s-s") 'save-buffer)
However, this does not seem to work. If I type "windows - s", all I get
is an s.
According to xev, this is what happens when I tap the windows key in a
terminal window:
KeyRelease event, serial 30, synthetic NO, window 0x2800001,
root 0x2e, subw 0x0, time 118816809, (423,786), root:(448,849),
state 0x0, keycode 255 (keysym 0xffeb, Super_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
so it seems that the super key is being received after all, but emacs
ignores it.
BTW, running emacs on the console (locally, sans VNC) gives the same result.
What am I doing wrong?
Thanks
Giovanni
next reply other threads:[~2009-11-18 11:46 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-18 11:46 Giovanni Gigante [this message]
2009-11-19 19:16 ` windows key as super LanX
2009-11-19 19:22 ` LanX
2009-11-20 3:08 ` Stefan Monnier
2009-11-20 10:37 ` Kevin Rodgers
[not found] ` <mailman.11146.1258713615.2239.help-gnu-emacs@gnu.org>
2009-11-20 14:55 ` Stefan Monnier
2009-11-20 3:15 ` Kevin Rodgers
2009-11-20 17:33 ` Giovanni Gigante
2009-11-20 19:04 ` Peter Dyballa
[not found] ` <mailman.11187.1258743907.2239.help-gnu-emacs@gnu.org>
2009-11-21 16:57 ` Giovanni Gigante
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=4B03DEA3.8040109@cidoc.iuav.it \
--to=giov@cidoc.iuav.it \
--cc=help-gnu-emacs@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.