[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#456515: lintian: Undesirable spelling warning on changelog entries describing spelling fixes



Russ Allbery <rra@debian.org> wrote:

<snip/>
> The current spelling check isn't line-based, but maybe we could make it a
> bit smarter so that it ignores spelling errors in the changelog entry if
> the word "spelling" occurs on the same line.  This won't catch all cases
> like yours, but might reduce false positives.
<snip/>

Sounds good to me.  Perhaps it would be helpful to document this
behaviour prominently in the 'lintian -i' output?  Something like this:

N:   Lintian found a spelling error in the latest entry of the Debian
N:   changelog. Lintian has a list of common misspellings that it looks
N:   for. It does not have a dictionary like a spelling checker does.
N:   If you use the wrong spelling by intention, you can avoid this
N:   warning by using the phrase 'spelling' in the same line, e.g.:
N:   * Fix spelling: publically -> publicly

Ideally, the example could dynamically use the spelling error which
triggered it.

Andreas Hoenen <andreas.hoenen@arcor.de>

Attachment: pgpA5l4QGLSfS.pgp
Description: PGP signature


Reply to: