[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: windows key as super
From: |
LanX |
Subject: |
Re: windows key as super |
Date: |
Thu, 19 Nov 2009 11:16:51 -0800 (PST) |
User-agent: |
G2/1.0 |
Hi
On 18 Nov., 12:46, Giovanni Gigante <g...@cidoc.iuav.it> wrote:
> Then I tried in emacs:
> (global-set-key (kbd "s-s") 'save-buffer)
Hm works for me (without VNC)
Keybindings are a science of it's own, I remember there was a huge
tutorial with dozens of pages about it somewhere in the internet, but
I can't find it anymore.
anyhow there is a trick I use, if just getting it done is more
important than portability.
Try to bind interactively and investigate the generated lispcode with
"redo"
M-x local-set-key RET s-s RET save-buffer
C-x ESC ESC
What I get is: (local-set-key (quote [8388723]) (quote save-buffer))
which I can include (simplified) as
(local-set-key '[8388723] 'save-buffer)
in my .emacs.
HTH
Rolf