[Top][All Lists]

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

Re: new module: update-copyright [Re: copyright years: mass-update every

From: Joel E. Denny
Subject: Re: new module: update-copyright [Re: copyright years: mass-update every January 1
Date: Thu, 30 Jul 2009 10:59:50 -0400 (EDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

On Thu, 30 Jul 2009, Jim Meyering wrote:

> Thank you!

Thank you.  :)

> Here's an incremental change I'm about to fold into yours.
> It changes "comment" to "prefix" and adjusts syntax.

Makes sense.

> There remains at least one infelicity: if someone discusses
> the Copyright (C) notation (e.g., as on this line), and later
> has the copyright-with-dates line, the prefixes may not match.
> We could require that the Copyright...holder (and hence prefix)
> are all in proximity, but that may not be worth the trouble.

The current behavior is a little unintuitive in other similar ways as 
well.  For example, if "Copyright (C)" isn't recognized anywhere and thus 
no comment sequence is recognized, the script still looks for an 
occurrence of the copyright year and holder to adjust.  Thus, the script 
handles "Copyright @copyright{}" only when it's not in comments.  I'd 
rather it be consistent by not handling it at all or handling it 

I'm working on a patch to fix all of the above and to automatically format 
the result to 72 columns.  I'll try to post a patch soon.

reply via email to

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