[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
completely.
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.
- Re: copyright years: mass-update every January 1, Joel E. Denny, 2009/07/27
- Re: copyright years: mass-update every January 1, Jim Meyering, 2009/07/29
- Re: copyright years: mass-update every January 1, Jim Meyering, 2009/07/29
- Re: copyright years: mass-update every January 1, Joel E. Denny, 2009/07/29
- new module: update-copyright [Re: copyright years: mass-update every January 1, Jim Meyering, 2009/07/29
- Re: new module: update-copyright [Re: copyright years: mass-update every January 1, Joel E. Denny, 2009/07/29
- Re: new module: update-copyright [Re: copyright years: mass-update every January 1, Jim Meyering, 2009/07/30
- Re: new module: update-copyright [Re: copyright years: mass-update every January 1,
Joel E. Denny <=
- Re: new module: update-copyright [Re: copyright years: mass-update every January 1, Joel E. Denny, 2009/07/31