help-gnu-emacs
[Top][All Lists]
Advanced

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

emacs doesn't know keypad 0 + shift under emacsW32/Windows?


From: Xah Lee
Subject: emacs doesn't know keypad 0 + shift under emacsW32/Windows?
Date: Mon, 8 Jun 2009 12:45:26 -0700 (PDT)
User-agent: G2/1.0

it seems i'm unable to get emacs to understand Shift + keypad 0, on
Windows.

i have this defined:
(global-set-key (kbd "<S-kp-0>") 'lookup-word-definition)

on the Mac, with Carbon Emacs, i press shift + 0 on the keypad to call
my function.

On Windows Vista with emacsW32, it doesn't work. If i do describe-key,
emacs reports i'm pressing keyboard insert
“<insert> (translated from <kp-insert>) runs the command”

doesn't matter if i have the num lock on or not.

Any solutions?

-----------------
Here's a bit more detail.
With NumLock on,

keypad 0 gets is: <kp-0>
Shift + keypad 0 is: <kp-insert>

with NumLock off,

keypad 0 is: <kp-insert>
Shift + keypad 0 is: <S-kp-insert>

GNU Emacs 23.0.94.1 (i386-mingw-nt6.0.6001) of 2009-05-28 on
LENNART-69DE564 (patched)

  Xah
∑ http://xahlee.org/

reply via email to

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