unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs doesn't know keypad 0 + shift under emacsW32/Windows?
@ 2009-06-08 19:45 Xah Lee
  2009-06-08 22:39 ` Lennart Borgman
  0 siblings, 1 reply; 2+ messages in thread
From: Xah Lee @ 2009-06-08 19:45 UTC (permalink / raw)
  To: help-gnu-emacs

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/^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-06-08 22:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-08 19:45 emacs doesn't know keypad 0 + shift under emacsW32/Windows? Xah Lee
2009-06-08 22:39 ` Lennart Borgman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).