Russ Allbery <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]>

Attachment: pgpZSvKw3ZPCT.pgp
Description: PGP signature

Reply via email to