all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Chong Yidong <cyd@stupidchicken.com>
Subject: bug#4325: marked as done (23.1; kp-0 in ispell)
Date: Sun, 13 Sep 2009 20:40:05 +0000	[thread overview]
Message-ID: <handler.4325.D4325.125287408531637.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 912155b0909030202ra3c56b8ya2b37cef57302984@mail.gmail.com

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

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

[-- Attachment #2: Type: message/rfc822, Size: 3937 bytes --]

From: "Per Starbäck" <per@starback.se>
To: bug-gnu-emacs@gnu.org, ispell-el-bugs@itcorp.com
Subject: 23.1; kp-0 in ispell
Date: Thu, 3 Sep 2009 11:02:50 +0200
Message-ID: <912155b0909030202ra3c56b8ya2b37cef57302984@mail.gmail.com>

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.



[-- Attachment #3: Type: message/rfc822, Size: 1296 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: "Per Starbäck" <per@starback.se>
Cc: 4325-done@emacsbugs.donarmstrong.com
Subject: Re: 23.1; kp-0 in ispell
Date: Sun, 13 Sep 2009 16:36:10 -0400
Message-ID: <87d45umvk5.fsf@cyd.mit.edu>

> 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.

      parent reply	other threads:[~2009-09-13 20:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87d45umvk5.fsf@cyd.mit.edu>
2009-09-03  9:02 ` bug#4325: 23.1; kp-0 in ispell Per Starbäck
2009-09-03  9:35   ` Andreas Schwab
2009-09-03  9:43     ` Per Starbäck
2009-09-03 13:58       ` Stefan Monnier
2009-09-13 20:40   ` Emacs bug Tracking System [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=handler.4325.D4325.125287408531637.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=cyd@stupidchicken.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.