From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30462: flyspell-auto-correct-word 'corrects' more than the current word Date: Tue, 20 Feb 2018 06:24:01 +0200 Message-ID: <83606s8f1a.fsf@gnu.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> <25478f62-e39d-77e7-86d5-91732199cfb7@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1519100601 1836 195.159.176.226 (20 Feb 2018 04:23:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Feb 2018 04:23:21 +0000 (UTC) Cc: 30462@debbugs.gnu.org, jidanni@jidanni.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 20 05:23:17 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 1enzSK-0007ot-MG for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Feb 2018 05:23:04 +0100 Original-Received: from localhost ([::1]:53577 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enzUM-0006ZV-MZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Feb 2018 23:25:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58798) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enzUH-0006ZK-1Y for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 23:25:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enzUD-0000UJ-U3 for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 23:25:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44098) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enzUD-0000U2-Pq for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 23:25:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1enzUD-0008Q4-Jg for bug-gnu-emacs@gnu.org; Mon, 19 Feb 2018 23:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Feb 2018 04:25:01 +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.151910064432294 (code B ref 30462); Tue, 20 Feb 2018 04:25:01 +0000 Original-Received: (at 30462) by debbugs.gnu.org; 20 Feb 2018 04:24:04 +0000 Original-Received: from localhost ([127.0.0.1]:51995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enzTH-0008Oo-SG for submit@debbugs.gnu.org; Mon, 19 Feb 2018 23:24:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:39211) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enzTF-0008OI-MV for 30462@debbugs.gnu.org; Mon, 19 Feb 2018 23:24:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enzT7-0007kT-Et for 30462@debbugs.gnu.org; Mon, 19 Feb 2018 23:23:56 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enzT7-0007kJ-Av; Mon, 19 Feb 2018 23:23:53 -0500 Original-Received: from [176.228.60.248] (port=3231 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1enzT6-00047P-Mt; Mon, 19 Feb 2018 23:23:53 -0500 In-reply-to: <25478f62-e39d-77e7-86d5-91732199cfb7@yandex.ru> (message from Dmitry Gutov on Tue, 20 Feb 2018 02:28:40 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:144003 > Cc: 30462@debbugs.gnu.org > From: Dmitry Gutov > Date: Tue, 20 Feb 2018 02:28:40 +0200 > > On 2/16/18 4:18 PM, Eli Zaretskii wrote: > > > In the meantime I'm going to fix the doc string to describe the > > behavior when the command is invoked at the same location repeatedly. > > The new docstring ways "at or near that position". You might or might > not want to undo that. I tried to clarify that now. > The reason I'm unsure, though, is that flyspell is also happy to > consider the word before point, even if it's separated with lots of > whitespace. Maybe we should clarify what "current word" means for it > instead. That issue is inside flyspell-get-word, so I explained it in that function's doc string, and added references to it to flyspell-auto-correct-word and elsewhere.