bug-gnulib
[Top][All Lists]
Advanced

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

Re: Doubled word check should be case sensitive


From: Reuben Thomas
Subject: Re: Doubled word check should be case sensitive
Date: Thu, 19 Apr 2012 12:46:09 +0100

On 19 April 2012 10:43, Jim Meyering <address@hidden> wrote:
> Reuben Thomas wrote:
>> I think this is unhelpful:
>>
>> doc/hello.texi:243:for\nFor
>> maint.mk: doubled words
>>
>> I bet that doubled words typed in error are almost always the same case.
>> Differently-cased doubled words are more likely than not to be correct.
>>
>> Hence, I suggest removing the "/i" modifier from prohibit_doubled_word_RE_.
>
> I've seen a few false positives like that, too, often due to a
> comment saying "in IN" where "IN" refers to a parameter name.
> However, I think of that as encouragement to change the name
> of the parameter to something a little more descriptive.

Right. Here's the context, in hello.texi:

@cindex environment variables, help for
For the @option{--help} output of GNU programs, it's strongly

I inserted a self-explanatory comment between the two lines to make
the error go away.

-- 
http://rrt.sc3d.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]