all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

* Re: emacs doesn't know keypad 0 + shift under emacsW32/Windows?
  2009-06-08 19:45 emacs doesn't know keypad 0 + shift under emacsW32/Windows? Xah Lee
@ 2009-06-08 22:39 ` Lennart Borgman
  0 siblings, 0 replies; 2+ messages in thread
From: Lennart Borgman @ 2009-06-08 22:39 UTC (permalink / raw
  To: Xah Lee; +Cc: help-gnu-emacs

On Mon, Jun 8, 2009 at 9:45 PM, Xah Lee<xahlee@gmail.com> wrote:
> 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>

Could be an Emacs bug, please try the unpatched version and submit a bug report.




^ 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.