GNU bug report logs - #17565
24.3.91; numpad inserts wrong digits

Previous Next

Package: emacs;

Reported by: Josh Tilles <merelyapseudonym <at> gmail.com>

Date: Fri, 23 May 2014 18:17:01 UTC

Severity: normal

Tags: moreinfo

Found in version 24.3.91

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 17565 in the body.
You can then email your comments to 17565 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#17565; Package emacs. (Fri, 23 May 2014 18:17:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Josh Tilles <merelyapseudonym <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 23 May 2014 18:17:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Josh Tilles <merelyapseudonym <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.91; numpad inserts wrong digits
Date: Fri, 23 May 2014 14:14:39 -0400
Basically, *I* believe that I'm typing “1234” but Emacs inserts “7895”
into the buffer. This was not the case in Emacs 24.3; typing “1234”
results in “1234”.

I used the OS X application [Key
Codes](http://manytricks.com/keycodes/) to show more detail about the
actual keys I'm pressing:



Key Down
Characters: 1
Unicode: 49 / 0x31
Keys: #7
Key Code: 89 / 0x59
Modifiers: 2097408 / 0x200100

Key Down
Characters: 2
Unicode: 50 / 0x32
Keys: #8
Key Code: 91 / 0x5b
Modifiers: 2097408 / 0x200100

Key Down
Characters: 3
Unicode: 51 / 0x33
Keys: #9
Key Code: 92 / 0x5c
Modifiers: 2097408 / 0x200100

Key Down
Characters: 4
Unicode: 52 / 0x34
Keys: #4
Key Code: 86 / 0x56
Modifiers: 2097408 / 0x200100





In GNU Emacs 24.3.91.1 (x86_64-apple-darwin, NS apple-appkit-1038.36)
 of 2014-05-12 on bob.porkrind.org
Windowing system distributor `Apple', version 10.3.1265
Configured using:
 `configure --host=x86_64-apple-darwin --build=i686-apple-darwin
 --with-ns'

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down-mouse-1> <mouse-1> C-x b <return> 1 2 3 <return>
1 2 3 <return> <kp-7> <kp-8> <kp-9> <return> <down-mouse-1>
<mouse-1> C-h k <kp-7> <down-mouse-1> <mouse-1> <down-mouse-1>
<mouse-1> C-h k C-h l <kp-7> <kp-8> <kp-9> <kp-4> <kp-5>
<kp-6> <kp-1> <kp-2> <kp-3> C-h l <down-mouse-1> <mouse-1>
M-x * b u g * <tab> <tab> <backspace> <backspace> <backspace>
<backspace> r e p o r t - e m a c s - b u g <retur
n>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Type C-x 1 to delete the help window.
 [2 times]
Making completion list...
call-interactively: End of buffer

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils help-fns help-mode easymenu time-date tooltip
electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
cocoa ns multi-tty emacs)

Memory information:
((conses 16 73608 6684)
 (symbols 48 17266 0)
 (miscs 40 100 270)
 (strings 32 10039 3632)
 (string-bytes 1 272468)
 (vectors 16 8928)
 (vector-slots 8 361323 14353)
 (floats 8 56 604)
 (intervals 56 316 25)
 (buffers 960 14))




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17565; Package emacs. (Sat, 24 May 2014 09:04:01 GMT) Full text and rfc822 format available.

Message #8 received at 17565 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: 17565 <at> debbugs.gnu.org.
Cc: Josh Tilles <merelyapseudonym <at> gmail.com>
Subject: Re: 24.3.91; numpad inserts wrong digits
Date: Sat, 24 May 2014 11:03:40 +0200
> Basically, *I* believe that I'm typing “1234” but Emacs inserts “7895”
> into the buffer. This was not the case in Emacs 24.3; typing “1234”
> results in “1234”.

I can't reproduce this.  Did you start with -Q?  What kind of keyboard 
do you use?

Do you run 24.3 and 24.3.91 side by side and only 24.3.91 has the error?

	Jan D.





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17565; Package emacs. (Tue, 27 May 2014 17:25:01 GMT) Full text and rfc822 format available.

Message #11 received at 17565 <at> debbugs.gnu.org (full text, mbox):

From: Josh Tilles <merelyapseudonym <at> gmail.com>
To: 17565 <at> debbugs.gnu.org
Subject: Re: 24.3.91; numpad inserts wrong digits
Date: Tue, 27 May 2014 13:23:58 -0400
When I had first created the ticket, I had only started Emacs with
--no-init-file. However, I just verified that the behavior still shows
up by starting Emacs with -Q.

I'm using a Kinesis Advantage Pro keyboard, and in case you're not
familiar with the model, an image is available here:
https://www.washington.edu/itconnect/wp-content/uploads/2013/06/kinesisadvantagepro.jpg

I am running Emacs 24.3 and 24.3.91 "side-by-side" by keeping the 24.3
Emacs.app in /Applications but keeping the 24.3.91 Emacs.app in
~/Applications (i.e., /Users/joshua.tilles/Applications/Emacs.app vs
/Applications/Emacs.app)

It might be relevant that I have an unusual keyboard layout: I've done
(most of) the customization using OS X's Keyboard Layouts, not by
using Kinesis's built-in remapping ability. The keyboard customization
file follows, abbreviated to only the relevant portions:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE keyboard SYSTEM
"file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
<keyboard group="0" id="…" name="…" maxout="1">
  <layouts>…</layouts>
  <modifierMap id="modifiers" defaultIndex="0">…</modifierMap>
  <keyMapSet id="ANSI">
        <!-- keycodes can be found in HIToolbox/Events.h (prefixed
kVK_ANSI_) -->
        <!-- and
http://lists.apple.com/archives/carbon-dev/2009/Jan/msg00101.html -->
        <keyMap index="0">
          …
          <!-- numpad -->
          <key code="71"  output="&#x1B;"/>             <!-- Num Lock
         -->
          <key code="81"  output="/"/>                  <!-- Num =
                 -->
          <key code="75"  output="*"/>                  <!-- Num /
                 -->
          <key code="67"  output="-"/>                  <!-- Num *
                 -->
          <key code="89"  output="1"/>                  <!-- Num 7
                 -->
          <key code="91"  output="2"/>                  <!-- Num 8
                 -->
          <key code="92"  output="3"/>                  <!-- Num 9
                 -->
          <key code="78"  output="+"/>                  <!-- Num -
                 -->
          <key code="86"  output="4"/>                  <!-- Num 4
                 -->
          <key code="87"  output="5"/>                  <!-- Num 5
                 -->
          <key code="88"  output="6"/>                  <!-- Num 6
                 -->
          <key code="69"  output="+"/>                  <!-- Num +
                 -->
          <key code="83"  output="7"/>                  <!-- Num 1
                 -->
          <key code="84"  output="8"/>                  <!-- Num 2
                 -->
          <key code="85"  output="9"/>                  <!-- Num 3
                 -->
          <key code="76"  output="&#x03;"/>             <!-- Enter
                 -->
          <key code="82"  output="0"/>                  <!-- Num 0
                 -->
          <key code="65"  output="."/>                  <!-- Decimal
Sep.       -->
         …
       </keyMap>
  </keyMapSet>
  …
  <actions>…<actions>
  <terminators>…</terminators>
</keyboard>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17565; Package emacs. (Tue, 27 May 2014 21:59:02 GMT) Full text and rfc822 format available.

Message #14 received at 17565 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Josh Tilles <merelyapseudonym <at> gmail.com>
Cc: 17565 <at> debbugs.gnu.org
Subject: Re: bug#17565: 24.3.91; numpad inserts wrong digits
Date: Wed, 28 May 2014 00:47:07 +0300
> It might be relevant that I have an unusual keyboard layout: I've done
> (most of) the customization using OS X's Keyboard Layouts, not by
> using Kinesis's built-in remapping ability. The keyboard customization
> file follows, abbreviated to only the relevant portions:

Does this help you?

(define-key function-key-map [kp-1] [?7])
(define-key function-key-map [kp-2] [?8])
(define-key function-key-map [kp-3] [?9])
(define-key function-key-map [kp-7] [?1])
(define-key function-key-map [kp-8] [?2])
(define-key function-key-map [kp-9] [?3])




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#17565; Package emacs. (Sun, 01 Jun 2014 11:12:02 GMT) Full text and rfc822 format available.

Message #17 received at 17565 <at> debbugs.gnu.org (full text, mbox):

From: "Jan D." <jan.h.d <at> swipnet.se>
To: Josh Tilles <merelyapseudonym <at> gmail.com>, 17565 <at> debbugs.gnu.org
Subject: Re: bug#17565: 24.3.91; numpad inserts wrong digits
Date: Sun, 01 Jun 2014 13:11:09 +0200
Hello.

There is nothing we can do.  You have to debug it yourself, the relevant 
code is in keyDown in nsterm.m.

	Jan D.

Josh Tilles skrev 2014-05-27 19:23:
> When I had first created the ticket, I had only started Emacs with
> --no-init-file. However, I just verified that the behavior still shows
> up by starting Emacs with -Q.
>
> I'm using a Kinesis Advantage Pro keyboard, and in case you're not
> familiar with the model, an image is available here:
> https://www.washington.edu/itconnect/wp-content/uploads/2013/06/kinesisadvantagepro.jpg
>
> I am running Emacs 24.3 and 24.3.91 "side-by-side" by keeping the 24.3
> Emacs.app in /Applications but keeping the 24.3.91 Emacs.app in
> ~/Applications (i.e., /Users/joshua.tilles/Applications/Emacs.app vs
> /Applications/Emacs.app)
>
> It might be relevant that I have an unusual keyboard layout: I've done
> (most of) the customization using OS X's Keyboard Layouts, not by
> using Kinesis's built-in remapping ability. The keyboard customization
> file follows, abbreviated to only the relevant portions:
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE keyboard SYSTEM
> "file://localhost/System/Library/DTDs/KeyboardLayout.dtd">
> <keyboard group="0" id="…" name="…" maxout="1">
>    <layouts>…</layouts>
>    <modifierMap id="modifiers" defaultIndex="0">…</modifierMap>
>    <keyMapSet id="ANSI">
>          <!-- keycodes can be found in HIToolbox/Events.h (prefixed
> kVK_ANSI_) -->
>          <!-- and
> http://lists.apple.com/archives/carbon-dev/2009/Jan/msg00101.html -->
>          <keyMap index="0">
>            …
>            <!-- numpad -->
>            <key code="71"  output="&#x1B;"/>             <!-- Num Lock
>           -->
>            <key code="81"  output="/"/>                  <!-- Num =
>                   -->
>            <key code="75"  output="*"/>                  <!-- Num /
>                   -->
>            <key code="67"  output="-"/>                  <!-- Num *
>                   -->
>            <key code="89"  output="1"/>                  <!-- Num 7
>                   -->
>            <key code="91"  output="2"/>                  <!-- Num 8
>                   -->
>            <key code="92"  output="3"/>                  <!-- Num 9
>                   -->
>            <key code="78"  output="+"/>                  <!-- Num -
>                   -->
>            <key code="86"  output="4"/>                  <!-- Num 4
>                   -->
>            <key code="87"  output="5"/>                  <!-- Num 5
>                   -->
>            <key code="88"  output="6"/>                  <!-- Num 6
>                   -->
>            <key code="69"  output="+"/>                  <!-- Num +
>                   -->
>            <key code="83"  output="7"/>                  <!-- Num 1
>                   -->
>            <key code="84"  output="8"/>                  <!-- Num 2
>                   -->
>            <key code="85"  output="9"/>                  <!-- Num 3
>                   -->
>            <key code="76"  output="&#x03;"/>             <!-- Enter
>                   -->
>            <key code="82"  output="0"/>                  <!-- Num 0
>                   -->
>            <key code="65"  output="."/>                  <!-- Decimal
> Sep.       -->
>           …
>         </keyMap>
>    </keyMapSet>
>    …
>    <actions>…<actions>
>    <terminators>…</terminators>
> </keyboard>
>
>





bug closed, send any further explanations to 17565 <at> debbugs.gnu.org and Josh Tilles <merelyapseudonym <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 26 Dec 2015 15:21:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 24 Jan 2016 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 9 years and 150 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.