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: Thu, 15 Feb 2018 14:24:25 +0800 Message-ID: <87h8qi93dy.fsf@jidanni.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 1518680324 22560 195.159.176.226 (15 Feb 2018 07:38:44 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Feb 2018 07:38:44 +0000 (UTC) To: 30462@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 15 08:38:40 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 1emE7O-0003ce-8p for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Feb 2018 08:38:10 +0100 Original-Received: from localhost ([::1]:46830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emE9O-0000wn-JR for geb-bug-gnu-emacs@m.gmane.org; Thu, 15 Feb 2018 02:40:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39383) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emE9H-0000vj-NS for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 02:40:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emE9C-0000N0-RJ for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 02:40:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35691) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1emE9C-0000Ms-Mg for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 02:40:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1emE9C-0007kB-GR for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 02:40:02 -0500 X-Loop: help-debbugs@gnu.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: Thu, 15 Feb 2018 07:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30462 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.151868035529704 (code B ref -1); Thu, 15 Feb 2018 07:40:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Feb 2018 07:39:15 +0000 Original-Received: from localhost ([127.0.0.1]:43588 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emE8Q-0007j2-Mm for submit@debbugs.gnu.org; Thu, 15 Feb 2018 02:39:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48295) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emE8O-0007ip-N7 for submit@debbugs.gnu.org; Thu, 15 Feb 2018 02:39:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emE8I-0008Vw-Oa for submit@debbugs.gnu.org; Thu, 15 Feb 2018 02:39:07 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1emE8I-0008Vq-Ka for submit@debbugs.gnu.org; Thu, 15 Feb 2018 02:39:06 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1emE8H-0000YF-Gl for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 02:39:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1emE8C-0008SY-LR for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 02:39:05 -0500 Original-Received: from homie.mail.dreamhost.com ([208.97.132.208]:39055 helo=homiemail-a3.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1emE8C-0008RT-CJ for bug-gnu-emacs@gnu.org; Thu, 15 Feb 2018 02:39:00 -0500 Original-Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 16F4228408E for ; Wed, 14 Feb 2018 23:38:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type: content-transfer-encoding; s=jidanni.org; bh=h8cKJ9TbWqNUUwhYQQH OVsTHc54=; b=XTXtcOok4KaPYLZGGvJfVTUvUuLOGq7uflSOxntFfxETH1kwQHB zKYFSL5wXtnOwFFtVbmdH6JdIhs/44p6TKEQwyzZU4djbdd4njguD1d6lMxJwavn bporRMj9SQYnkSgOAGAFNBWYBfb9W8gkyNhgXHFhLGaVh9KTDfz06BKU= Original-Received: from jidanni.org (36-234-68-20.dynamic-ip.hinet.net [36.234.68.20]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTPSA id CC55928408F for ; Wed, 14 Feb 2018 23:38:57 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:143309 Archived-At: C-M-i (translated from ) runs the command flyspell-auto-correct-word (found in flyspell-mode-map), which is an interactive compiled Lisp function in =E2=80=98flyspell.el=E2=80=99. It is bound to C-., C-M-i. (flyspell-auto-correct-word) Correct the current word. This command proposes various successive corrections for the current = word. Well it turns out if the current word is already correct, then it searches backward up to several sentences looking for another word that it can correct. Which can have disastrous consequences when the boss reads the final draft of what you sent him. Therefore it would be best if this command would limit its helpfulness to what it says in the docstring: the current word. Which to me means not some word 30 words back.