From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#30462: flyspell-auto-correct-word 'corrects' more than the current word Date: Sat, 17 Feb 2018 22:51:55 +0800 Message-ID: <87zi477jp0.fsf@jidanni.org> References: <87h8qi93dy.fsf@jidanni.org> <87y3juo1hq.fsf_-_@jidanni.org> <838tbuw5st.fsf@gnu.org> <6d3dc737-73ae-e6c6-5058-85d73421f9e9@yandex.ru> <838tbtdx0p.fsf@gnu.org> <9cee145f-0663-3043-b9b0-5133da1f0b00@yandex.ru> <83606xdp1m.fsf@gnu.org> <834lmhdnl8.fsf@gnu.org> <833721dmwu.fsf@gnu.org> <87o9koo2i6.fsf@jidanni.org> <83eflkcb14.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1518879031 32321 195.159.176.226 (17 Feb 2018 14:50:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Feb 2018 14:50:31 +0000 (UTC) Cc: 30462@debbugs.gnu.org, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 17 15:50:27 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en3oX-00077B-PJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 15:50:09 +0100 Original-Received: from localhost ([::1]:57645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en3qZ-0002bR-RM for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 09:52:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55276) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1en3qP-0002bG-Kx for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 09:52:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1en3qM-0000UO-G6 for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 09:52:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39798) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1en3qM-0000UJ-C0 for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 09:52:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1en3qM-0005Wr-2L for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 09:52:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <87h8qi93dy.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Feb 2018 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30462 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30462-submit@debbugs.gnu.org id=B30462.151887912121250 (code B ref 30462); Sat, 17 Feb 2018 14:52:02 +0000 Original-Received: (at 30462) by debbugs.gnu.org; 17 Feb 2018 14:52:01 +0000 Original-Received: from localhost ([127.0.0.1]:47695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en3qL-0005Wd-8u for submit@debbugs.gnu.org; Sat, 17 Feb 2018 09:52:01 -0500 Original-Received: from homie.mail.dreamhost.com ([208.97.132.208]:34717 helo=homiemail-a9.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1en3qJ-0005WV-S8 for 30462@debbugs.gnu.org; Sat, 17 Feb 2018 09:52:00 -0500 Original-Received: from homiemail-a9.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a9.g.dreamhost.com (Postfix) with ESMTP id D25AC5BE066; Sat, 17 Feb 2018 06:51:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type: content-transfer-encoding; s=jidanni.org; bh=SZBdteneYPVKoctpyVA /9+CPbVk=; b=L68RA2t986ILllptxmx8+MPKtpae+50M0ADdCv5eVD5Evf3ccyR LbHcUPz1AfSNS1QryBfVnhGFJzMVnWU1uU3tedoMLOGiBVU0GnIfhsbAZ7Brni2k n8k70huKX/0xepgRFL8PUiHywTYHP9awjq5ichiybSszn5nIsmA4M7VE= Original-Received: from jidanni.org (114-41-31-117.dynamic-ip.hinet.net [114.41.31.117]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a9.g.dreamhost.com (Postfix) with ESMTPSA id 035255BE064; Sat, 17 Feb 2018 06:51:58 -0800 (PST) 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:143383 Archived-At: And now that I have become more sensitive to the bug, I notice it just happened again: OK now today I was really trying to use flyspell-auto-correct-word, but my cursor happened to be just past the "t" below. As there really isn't much spelling to be corrected at "t", I started noticing in the minibuffer (*Message* buffer): Auto-saving...done Corrections: unkind unkinder antonym inking envenom uncanny unkonwm unkno= wn unkind Corrections: unkinder antonym inking envenom uncanny unkonwm unknown unki= nd unkinder Corrections: antonym inking envenom uncanny unkonwm unknown unkind unkind= er antonym Auto-saving... > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> = > > Shall we do as we do now, and just let it sail through, = > > ``` = > > http://a.b.c?xzzz{Header,Dont-Let-Larry-Know,Yes} = > > ``` = > > = > > No. We not only let Larry know, we let him know we didn't want to let = > > him know. Our user will doubly hunt you down, if Larry doesn't get him = > > first. = > > = > > Indeed, that is just like when we know what ftp://x and http://y are, = > > but not irc://z . So irc://z must mean http://irc://z . That is about = > > how much little sense it makes. = > > = > > So what should we do? = > > = > > We should not let the request go over the wires in the first place. = > > = > > Instead we should tell the user to fix thier t = > > print out an error message = > > : E.g., = > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> = > t [self-insert-command] e e [self-insert-command] h h [self-insert-command] [delete-backward-char] [delete-backward-char] h h [self-insert-command] i i [self-insert-command] e e [self-insert-command] r r [self-insert-command] SPC SPC [self-insert-command] t [self-insert-command] e e [self-insert-command] m m [self-insert-command] [delete-backward-char] [delete-backward-char] [flyspell-auto-correct-word] [flyspell-auto-correct-word] [flyspell-auto-correct-word] [flyspell-auto-correct-word] C-x C-b [list-buffers] OK as I didn't notice anything change (that's why I hit flyspell-auto-correct-word the second etc. times, to see what it was up to, where.) So obviously those "Corrections: unkind unkinder..." mean that it was indeed changing something off the screen and I will have to proofread the entire draft to hopefully find where. You might say "just use undo", but one fears that might even mess things up further, so we chicken out. P.S., one would think "just run a spell checker on your article." Well that only detects misspelled words and where ever that word was, alas, it is no longer misspelled now. Wait (via searching for the last word in the last *Message* I found it, > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > From: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson = > > --text follows this line-- > > Don't let antonym WMS URL template directives sail through > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > That's right, way at the top of the message (way off the top of the screen) I was composing, it changed some word into "antonym". Thank goodness I can run "undo" on just a region, revealing the original, > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> > > Don't let unknown WMS URL template directives sail through > > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >