From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.bugs Subject: bug#20543: 24.5; in ispell-buffer accepts spelling for the whole line Date: Fri, 08 Apr 2016 20:02:57 +0200 Message-ID: <87fuuwvuzy.fsf@mbork.pl> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1460138656 16563 80.91.229.3 (8 Apr 2016 18:04:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Apr 2016 18:04:16 +0000 (UTC) Cc: 20543@debbugs.gnu.org To: =?UTF-8?Q?J=C3=BCrgen?= Hartmann Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Apr 08 20:04:12 2016 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 1aoalP-0001rd-NS for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 20:04:11 +0200 Original-Received: from localhost ([::1]:57575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoalO-00077i-KG for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Apr 2016 14:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoalK-00075M-Vs for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 14:04:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoalG-0008Ma-0c for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 14:04:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoalF-0008MW-Tl for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 14:04:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aoalF-00046T-OE for bug-gnu-emacs@gnu.org; Fri, 08 Apr 2016 14:04:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Marcin Borkowski Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Apr 2016 18:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20543 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20543-submit@debbugs.gnu.org id=B20543.146013858415710 (code B ref 20543); Fri, 08 Apr 2016 18:04:01 +0000 Original-Received: (at 20543) by debbugs.gnu.org; 8 Apr 2016 18:03:04 +0000 Original-Received: from localhost ([127.0.0.1]:54880 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoakK-00045J-Ga for submit@debbugs.gnu.org; Fri, 08 Apr 2016 14:03:04 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:47165) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoakJ-00044r-3L for 20543@debbugs.gnu.org; Fri, 08 Apr 2016 14:03:03 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 1DA29AA2742; Fri, 8 Apr 2016 20:03:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id TLtXHMpo5B3l; Fri, 8 Apr 2016 20:02:58 +0200 (CEST) Original-Received: from localhost (98-171.echostar.pl [213.156.98.171]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 451B9AA273F; Fri, 8 Apr 2016 20:02:58 +0200 (CEST) In-Reply-To: ("=?UTF-8?Q?J=C3=BCrgen?= Hartmann"'s message of "Sun, 10 May 2015 18:05:25 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:116230 Archived-At: On 2015-05-10, at 18:05, J=C3=BCrgen Hartmann wrote: > Using GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.2)--b= ut > this applies to former Emacs versions also--I found the following puzzling > behavior of ispell-buffer: > > If a suspicious word is accepted once by pressing in an interactive > ispell-buffer session, all further occurrences of the same spelling on the > same line are skipped, i.e. considered as accepted too. > > Here is an example: > > Open an Emacs 24.5 session (it is the same with Emacs 24.4) by > > =C2=A0=C2=A0 LC_ALL=3DC emacs -Q > > and enter the following line (with or without newline does not matter) in= the > *scratch* buffer: > > =C2=A0=C2=A0 The term charset is short for charset. > > Assume that the last word is a typo that should read "character set". Now > change the dictionary to american and run ispell-buffer. The first occurr= ence > of "charset" gets highlighted, but since it is correct here, we use = to > accept it once and proceed. But oops... the spell-check finishes immediat= ely > without giving us the chance to correct the second occurrence of "charset= " in > that line. > > This finding was shortly discussed in help-gnu-emacs > (http://lists.gnu.org/archive/html/help-gnu-emacs/2015-05/threads.html#00= 134) > and it was Eli Zaretskii who indicated that there is the following commen= t in > line 3651 of emacs-24.5/lisp/textmodes/ispell.el: > > =C2=A0=C2=A0 ;; Do not recheck accepted word on this line. > > This suggests that there might be a reason for that behavior. If this is > true, what is it? I've just seen this report. I'm also very curious about that reason. > Apart from that, I can not imagine why such a behavior might be desirable. > > Juergen --=20 Marcin