unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah Lee <xahlee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: emacs doesn't know keypad 0 + shift under emacsW32/Windows?
Date: Mon, 8 Jun 2009 12:45:26 -0700 (PDT)	[thread overview]
Message-ID: <944cda78-3982-481f-9277-404af55948b5@t21g2000yqi.googlegroups.com> (raw)

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	other threads:[~2009-06-08 19:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-08 19:45 Xah Lee [this message]
2009-06-08 22:39 ` emacs doesn't know keypad 0 + shift under emacsW32/Windows? Lennart Borgman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=944cda78-3982-481f-9277-404af55948b5@t21g2000yqi.googlegroups.com \
    --to=xahlee@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).