From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#6504: 24.0.50; flyspell-check-previous-highlighted-word does not unmark checked word when inserted in dictionary Date: Fri, 25 Jun 2010 10:27:07 +0200 Message-ID: <20100625082707.GA3012@agmartin.aq.upm.es> References: <874ogsxty5.fsf@shi.workgroup> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277495607 6474 80.91.229.12 (25 Jun 2010 19:53:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 25 Jun 2010 19:53:27 +0000 (UTC) To: Gregor Zattler , 6504-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 25 21:53:25 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OSExl-000113-L0 for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jun 2010 21:53:21 +0200 Original-Received: from localhost ([127.0.0.1]:41406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSExk-0000VY-KQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 25 Jun 2010 15:53:20 -0400 Original-Received: from [140.186.70.92] (port=54226 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSD6O-0004TW-BV for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 13:54:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OS4Hd-0007IH-Tm for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 04:29:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41389) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OS4Hd-0007Gw-Qv for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 04:29:09 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OS4GY-00064B-6P for bug-gnu-emacs@gnu.org; Fri, 25 Jun 2010 04:28:02 -0400 Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Jun 2010 08:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6504 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6504@debbugs.gnu.org, agustin.martin@hispalinux.es Original-Received: via spool by 6504-done@debbugs.gnu.org id=D6504.127745443523310 (code D ref 6504); Fri, 25 Jun 2010 08:28:02 +0000 Original-Received: (at 6504-done) by debbugs.gnu.org; 25 Jun 2010 08:27:15 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OS4Fm-00063v-ML for submit@debbugs.gnu.org; Fri, 25 Jun 2010 04:27:14 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OS4Fk-00063q-9n for 6504-done@debbugs.gnu.org; Fri, 25 Jun 2010 04:27:13 -0400 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o5P8R8ZV017934; Fri, 25 Jun 2010 10:27:08 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id F063C461DE; Fri, 25 Jun 2010 10:27:07 +0200 (CEST) Content-Disposition: inline In-Reply-To: <874ogsxty5.fsf@shi.workgroup> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 25 Jun 2010 04:28:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:38003 Archived-At: On Thu, Jun 24, 2010 at 06:43:14PM +0200, Gregor Zattler wrote: > It's not possible to check several misspelled words via > flyspell-check-previous-highlighted-word. > > Recipe to reproduce the bug: > - start emacs -Q > - M-x flyspell-mode > - type a misspelled word a blank and a second misspelled word and a few > blanks > - fylspell highlights the misspelled words > - M-x - flyspell-check-previous-highlighted-word > - type 'i' in order to save the second misspelled word as correct in > your dictionary (sanitize the dictionary afterwards) > - cursor is at eol but the second misspelled word is still marked as > misspelled > - M-x - flyspell-check-previous-highlighted-word > in order to check the first misspelled word > - nothing happens except for a message in the echo area: > " is correct" > > Therefore it is not possible to check the first misspelled word after > checking the second. I consider this to be a bug because it is > necessary to move cursor in order to check the first missspelled word > whilst the whole purpose fo flyspell-check-previous-highlighted-word is > to minimize breaks for spell checking while writing. I have committed a change that should make sure `flyspell-word' rechecks word after `flyspell-check-previous-highlighted-word' run, so highlight is removed if appropriate. This should close bug report. Please reopen if needed. Thanks for your feedback. -- Agustin