gnu.emacs.help
[Top] [All Lists]

can Cap Lock key be detected in emacs?

Subject: can Cap Lock key be detected in emacs?
From: Xah <xahlee@xxxxxxxxx>
Date: Thu, 31 Jul 2008 11:16:27 -0700 (PDT)
Newsgroups: gnu.emacs.help

Xah Lee wrote:
«how did you set Cap Lock to M-x in Windows? (i'd like to have that in
osx too)»

"Lennart Borgman (gmail)" wrote:
«
(setq w32-enable-caps-lock nil)
(global-set-key [capslock] 'execute-extended-command)
»

That's odd. I always thought Caps Lock isn't received at the
application level.

On my emacs, if i press Alt+x describe-key then Caps Lock, emacs
behaves as if no key has been pressed. (this is OSX 10.4.x, PC
keyboard, Carbon Emacs)

How can i get this to work in the Mac?

  Xah
∑ http://xahlee.org/
<Prev in Thread] Current Thread [Next in Thread>