[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1425583295.31859.29.camel@perches.com>
Date: Thu, 05 Mar 2015 11:21:35 -0800
From: Joe Perches <joe@...ches.com>
To: Lucas De Marchi <lucas.de.marchi@...il.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>,
Andy Whitcroft <apw@...onical.com>,
Kees Cook <keescook@...omium.org>,
Masanari Iida <standby24x7@...il.com>,
codespell@...glegroups.com, LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] checkpatch: Add optional --codespell dictionary to find
more typos
On Thu, 2015-03-05 at 16:13 -0300, Lucas De Marchi wrote:
> On Thu, Mar 5, 2015 at 3:52 PM, Joe Perches <joe@...ches.com> wrote:
> > If a codespell dictionary exists, use it if desired.
> > default is off, maybe it could be turned on later.
> >
> > codespell's dictionary format allows multiple possible corrections,
> > ignore that for now and only use the first suggestion.
>
> Most of them were particularly added to avoid wrong suggestions in
> kernel code base (admittedly a long time ago)...
> Wouldn't it be better to output the entire list of suggestions as
> codespell the tool does?
If you want to write the code, be my guest.
> I'm not a perl guru, but couldn't we have a single option like
> --codespell / --codespell=FILE ?
Not easily. There's no easy way to turn off codespell like that.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists