From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?J=C3=BCrgen?= Hartmann Newsgroups: gmane.emacs.bugs Subject: bug#20543: 24.5; in ispell-buffer accepts spelling for the whole line Date: Sun, 10 May 2015 18:05:25 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1431283911 21468 80.91.229.3 (10 May 2015 18:51:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 May 2015 18:51:51 +0000 (UTC) To: 20543@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun May 10 20:51:39 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YrWKA-0005Xe-PC for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 May 2015 20:51:38 +0200 Original-Received: from localhost ([::1]:34256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrWK9-0002IO-Mm for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 May 2015 14:51:37 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36661) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrWJT-0001SI-Qw for bug-gnu-emacs@gnu.org; Sun, 10 May 2015 14:51:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrW90-0003eY-8Q for bug-gnu-emacs@gnu.org; Sun, 10 May 2015 14:40:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58489) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrW90-0003ci-5Q for bug-gnu-emacs@gnu.org; Sun, 10 May 2015 14:40:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YrW8z-0007vc-Fr for bug-gnu-emacs@gnu.org; Sun, 10 May 2015 14:40:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?J=C3=BCrgen?= Hartmann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 May 2015 18:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20543 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.143128318430444 (code B ref -1); Sun, 10 May 2015 18:40:04 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 May 2015 18:39:44 +0000 Original-Received: from localhost ([127.0.0.1]:40231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrW8d-0007uw-9m for submit@debbugs.gnu.org; Sun, 10 May 2015 14:39:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33077) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrU2u-0004j3-DT for submit@debbugs.gnu.org; Sun, 10 May 2015 12:25:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrU2o-0002hJ-Bd for submit@debbugs.gnu.org; Sun, 10 May 2015 12:25:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrU2o-0002hF-7g for submit@debbugs.gnu.org; Sun, 10 May 2015 12:25:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46579) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrU2m-0003rw-Ru for bug-gnu-emacs@gnu.org; Sun, 10 May 2015 12:25:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrU2i-0002fo-Lq for bug-gnu-emacs@gnu.org; Sun, 10 May 2015 12:25:32 -0400 Original-Received: from dub004-omc1s27.hotmail.com ([157.55.0.226]:63806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrU2i-0002fE-BA for bug-gnu-emacs@gnu.org; Sun, 10 May 2015 12:25:28 -0400 Original-Received: from DUB124-W16 ([157.55.0.237]) by DUB004-OMC1S27.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.22751); Sun, 10 May 2015 09:05:25 -0700 X-TMN: [nbEpXroJUxLsRejnWhJFLC8tBD++LrA7] X-Originating-Email: [juergen_hartmann_@hotmail.com] Importance: Normal X-OriginalArrivalTime: 10 May 2015 16:05:25.0352 (UTC) FILETIME=[20368680:01D08B3B] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Sun, 10 May 2015 14:39:41 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:102639 Archived-At: Using GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu=2C GTK+ Version 3.10.2)--b= ut=0A= this applies to former Emacs versions also--I found the following puzzling= =0A= behavior of ispell-buffer:=0A= =0A= If a suspicious word is accepted once by pressing in an interactive= =0A= ispell-buffer session=2C all further occurrences of the same spelling on th= e=0A= same line are skipped=2C i.e. considered as accepted too.=0A= =0A= Here is an example:=0A= =0A= Open an Emacs 24.5 session (it is the same with Emacs 24.4) by=0A= =0A= =A0=A0 LC_ALL=3DC emacs -Q=0A= =0A= and enter the following line (with or without newline does not matter) in t= he=0A= *scratch* buffer:=0A= =0A= =A0=A0 The term charset is short for charset.=0A= =0A= Assume that the last word is a typo that should read "character set". Now= =0A= change the dictionary to american and run ispell-buffer. The first occurren= ce=0A= of "charset" gets highlighted=2C but since it is correct here=2C we use to=0A= accept it once and proceed. But oops... the spell-check finishes immediatel= y=0A= without giving us the chance to correct the second occurrence of "charset" = in=0A= that line.=0A= =0A= This finding was shortly discussed in help-gnu-emacs=0A= (http://lists.gnu.org/archive/html/help-gnu-emacs/2015-05/threads.html#0013= 4)=0A= and it was Eli Zaretskii who indicated that there is the following comment = in=0A= line 3651 of emacs-24.5/lisp/textmodes/ispell.el:=0A= =0A= =A0=A0 =3B=3B Do not recheck accepted word on this line.=0A= =0A= This suggests that there might be a reason for that behavior. If this is=0A= true=2C what is it?=0A= =0A= Apart from that=2C I can not imagine why such a behavior might be desirable= .=0A= =0A= Juergen=0A= =0A= =