all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: Xah Lee <xahlee@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: emacs doesn't know keypad 0 + shift under emacsW32/Windows?
Date: Tue, 9 Jun 2009 00:39:17 +0200	[thread overview]
Message-ID: <e01d8a50906081539ndbce6ffqb921e5b93fa61eaf@mail.gmail.com> (raw)
In-Reply-To: <944cda78-3982-481f-9277-404af55948b5@t21g2000yqi.googlegroups.com>

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.




      reply	other threads:[~2009-06-08 22:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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

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

  git send-email \
    --in-reply-to=e01d8a50906081539ndbce6ffqb921e5b93fa61eaf@mail.gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=xahlee@gmail.com \
    /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.
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.