|
From: | Emacs bug Tracking System |
Subject: | bug#4325: marked as done (23.1; kp-0 in ispell) |
Date: | Sun, 13 Sep 2009 20:40:05 +0000 |
Your message dated Sun, 13 Sep 2009 16:36:10 -0400 with message-id <87d45umvk5.fsf@cyd.mit.edu> and subject line Re: 23.1; kp-0 in ispell has caused the Emacs bug report #4325, regarding 23.1; kp-0 in ispell to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) -- 4325: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4325 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems
--- Begin Message ---Subject: 23.1; kp-0 in ispell Date: Thu, 3 Sep 2009 11:02:50 +0200 In GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.10.4) emacs -Q t e h M-x ispell-buffer RET kp-0 Expected result: Changing "teh" into "the" (like I had pressed "0" instead) Actual result: Spell-checking suspended; use C-u M-$ to resume Suggested fix: $ diff -u ispell.el.~1~ ispell.el --- ispell.el.~1~ 2009-06-24 19:54:28.000000000 +0200 +++ ispell.el 2009-09-03 10:51:58.000000000 +0200 @@ -1943,6 +1943,9 @@ ;; ignore mouse events occuring in the same frame. (while (and input-valid (not (characterp char))) (setq char (read-event)) + ;; Convert kp-0 to ?0, etc. + (when (symbolp char) + (setq char (get char 'ascii-character))) (setq input-valid (or (characterp char) (and (mouse-event-p char) 2009-09-03 Per Starbäck <per@starback.se> * textmodes/ispell.el (ispell-command-loop): Accept keypad digits as alternative to ordinary digits.
--- End Message ---
--- Begin Message ---Subject: Re: 23.1; kp-0 in ispell Date: Sun, 13 Sep 2009 16:36:10 -0400 > emacs -Q > t e h M-x ispell-buffer RET kp-0 > Expected result: Changing "teh" into "the" (like I had pressed "0" > instead) > Actual result: Spell-checking suspended; use C-u M-$ to resume Thanks for spotting this. I've checked in your suggested fix.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |