[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: windows key as super

From: Kevin Rodgers
Subject: Re: windows key as super
Date: Thu, 19 Nov 2009 20:15:17 -0700
User-agent: Thunderbird (Macintosh/20090812)

LanX wrote:

On 18 Nov., 12:46, Giovanni Gigante <address@hidden> 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

M-x local-set-key RET s-s RET save-buffer


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.

(local-set-key (kbd "s-s") 'save-buffer)

Kevin Rodgers
Denver, Colorado, USA

reply via email to

[Prev in Thread] Current Thread [Next in Thread]