bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] maint.mk: prohibit use of "can not"


From: Eric Blake
Subject: Re: [PATCH] maint.mk: prohibit use of "can not"
Date: Tue, 10 May 2011 15:02:49 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

On 04/09/2011 03:02 PM, Jim Meyering wrote:
> There was a new use of "can not" in coreutils despite
> my having performed this transformation before.
> Autoconf is the same: one current/new violation,
> in spite of applying the fix before.
> I noticed that James Youngman recently fixed one in findutils
> and there are several here in gnulib.
> 
> With this, new offenses will be less likely.
> 
>>From 2ba828d7b521d831648a4d0926d7885705cf1d59 Mon Sep 17 00:00:00 2001
> From: Jim Meyering <address@hidden>
> Date: Sat, 9 Apr 2011 22:58:06 +0200
> Subject: [PATCH] maint.mk: prohibit use of "can not"
> 
> * top/maint.mk (sc_prohibit_can_not): New rule.
> Writing "can not" (rather than "cannot") is too common.  Prohibit it.

A recent libvirt patch demonstrated that this rule currently misses
"can\n not"; should sc_prohibit_can_not be rewritten in the same style
as sc_prohibit_doubled_word to also catch violations that are currently
hidden by line-wrapping?

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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