all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* windows key as super
@ 2009-11-18 11:46 Giovanni Gigante
  2009-11-19 19:16 ` LanX
  0 siblings, 1 reply; 10+ messages in thread
From: Giovanni Gigante @ 2009-11-18 11:46 UTC (permalink / raw
  To: help-gnu-emacs


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


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

end of thread, other threads:[~2009-11-21 16:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-18 11:46 windows key as super Giovanni Gigante
2009-11-19 19:16 ` 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

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.