GNU bug report logs - #30813
26.0.91; flyspell does not recheck after transpose-chars

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Wed, 14 Mar 2018 00:02:01 UTC

Severity: minor

Found in version 26.0.91

Full log


Message #29 received at 30813 <at> debbugs.gnu.org (full text, mbox):

From: Aaron Jensen <aaronjensen <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 30813 <at> debbugs.gnu.org
Subject: Re: bug#30813: 26.0.91;
 flyspell does not recheck after transpose-chars
Date: Wed, 14 Mar 2018 08:14:01 -0700
[Message part 1 (text/plain, inline)]
On Tue, Mar 13, 2018 at 10:59 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> Transposing words can create duplicate words, or fix word duplication, something
> that flyspell flags as well.

I see. There are lots of ways to break this--change the first instance
of the word in any way and the second word does not notice. It seems
like if that were to be addressed it would need to be something that
is command agnostic. Perhaps something like looking at the next word
to see if it is currently marked duplicate and if so rechecking.

In the meantime, how about the attached patch which addresses just
transpose-chars?
[0001-Enable-flyspell-to-check-word-point-was-at-before-tr.patch (application/octet-stream, attachment)]

This bug report was last modified 7 years and 185 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.