From owner-ntemacs-users@trout  Tue Apr 15 23:16:16 1997
X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil]
	[nil "Tue" "15" "April" "1997" "22:31:39" "-0700" "Jeff Dwork" "dwork@carmel.amd.com" nil "24" "Keyboard key question answered" "^From:" nil nil "4" nil nil nil nil]
	nil)
Received: from joker.cs.washington.edu (joker.cs.washington.edu [128.95.1.42]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with SMTP id XAA06515 for <voelker@june.cs.washington.edu>; Tue, 15 Apr 1997 23:16:15 -0700
Received: from trout.cs.washington.edu (trout.cs.washington.edu [128.95.1.178]) by joker.cs.washington.edu (8.6.12/7.2ws+) with ESMTP id XAA25255 for <voelker@joker.cs.washington.edu>; Tue, 15 Apr 1997 23:16:14 -0700
Received: from june.cs.washington.edu (june.cs.washington.edu [128.95.1.4]) by trout.cs.washington.edu (8.8.5+CS/7.2ws+) with ESMTP id WAA07231 for <ntemacs-users@trout.cs.washington.edu>; Tue, 15 Apr 1997 22:32:51 -0700 (PDT)
Received: from amdext.amd.com (amdext.amd.com [139.95.251.1]) by june.cs.washington.edu (8.8.5+CS/7.2ju) with ESMTP id WAA04433 for <ntemacs-users@cs.washington.edu>; Tue, 15 Apr 1997 22:32:35 -0700
Received: from amdint.amd.com (amdint.amd.com [139.95.250.1]) 	by amdext.amd.com (8.8.5/8.8.5/AMD) with ESMTP id WAA01776 	for <ntemacs-users@cs.washington.edu>; Tue, 15 Apr 1997 22:31:57 -0700 (PDT)
Received: from carmel.amd.com (carmel.amd.com [139.95.74.141]) 	by amdint.amd.com (8.8.5/8.8.5/AMD) with SMTP id WAA11167 	for <ntemacs-users@cs.washington.edu>; Tue, 15 Apr 1997 22:31:42 -0700 (PDT)
Received: from greentea.amd.com by carmel.amd.com (4.1/AMDSN-1.20) 	id AA13558; Tue, 15 Apr 97 22:31:39 PDT
Received: by greentea.amd.com (4.1/AMDC-1.20) 	id AA28705; Tue, 15 Apr 97 22:31:40 PDT
Message-Id: <9704160531.AA28705@greentea.amd.com>
Reply-To: jeff.dwork@amd.com
X-Mailer: ELM [version 2.4 PL25]
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
From: dwork@carmel.amd.com (Jeff Dwork)
To: ntemacs-users@cs.washington.edu (ntemacs)
Subject: Keyboard key question answered
Date: Tue, 15 Apr 1997 22:31:39 -0700 (PDT)

Answering my own question:
> 
> How can I get emacs to recognize my keypad keys as different from the
> regular keys?  I want to get [kp-7] instead of [home] or "7" (depending on
> NumLock)?  I get the same results with GUI emacs from "runemacs.exe" or
> "emacs -q" and console mode "emacs -q -nw" in a dos box.
> 

There is a difference in "describe-key" between NTemacs and unix.
On unix, describe-key on keypad 4 reports "kp-4", as does "view-lossage".
NTemacs describe-key reports "4" if numlock is on and "left" if numlock is
off.  Running "view-lossage" on NTemacs shows the first as "kp-4" and the
second as "kp-left".

Not sure if this is a bug or just a difference.  If it's not a bug it would
be nice to mention it somewhere in the FAQ.

Thanks,
Jeff
-- 
Jeff Dwork                      |  408-749-5216   |   jeff.dwork@amd.com
Advanced Micro Devices, M/S 45  |---------------------------------------
PO Box 3453                     |  The above opinions are mine,
Sunnyvale, Ca 94088-3453        |  not AMD's.

