unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Agustin Martin <agustin.martin@hispalinux.es>
To: Gregor Zattler <telegraph@gmx.de>, 6504-done@debbugs.gnu.org
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	[thread overview]
Message-ID: <20100625082707.GA3012@agmartin.aq.upm.es> (raw)
In-Reply-To: <874ogsxty5.fsf@shi.workgroup>

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: 
>   "<second misspelled word> 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





      reply	other threads:[~2010-06-25  8:27 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-24 16:43 bug#6504: 24.0.50; flyspell-check-previous-highlighted-word does not unmark checked word when inserted in dictionary Gregor Zattler
2010-06-25  8:27 ` Agustin Martin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100625082707.GA3012@agmartin.aq.upm.es \
    --to=agustin.martin@hispalinux.es \
    --cc=6504-done@debbugs.gnu.org \
    --cc=telegraph@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).