From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Re: Adding missing copyright years Date: Sun, 8 May 2005 11:08:12 +1200 Message-ID: <17021.19036.615336.999065@farnswood.snap.net.nz> References: <200505050128.KAA09924@etlken.m17n.org> <200505062342.IAA19054@etlken.m17n.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1115507415 4990 80.91.229.2 (7 May 2005 23:10:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 May 2005 23:10:15 +0000 (UTC) Cc: Kenichi Handa , rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 08 01:10:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DUYQt-0006yR-7P for ged-emacs-devel@m.gmane.org; Sun, 08 May 2005 01:10:03 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DUYYt-0000oU-IG for ged-emacs-devel@m.gmane.org; Sat, 07 May 2005 19:18:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DUYRc-0006UQ-V0 for emacs-devel@gnu.org; Sat, 07 May 2005 19:10:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DUYRT-0006Of-OH for emacs-devel@gnu.org; Sat, 07 May 2005 19:10:40 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DUYQp-00061L-6A for emacs-devel@gnu.org; Sat, 07 May 2005 19:09:59 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DUYTj-0000O9-GN; Sat, 07 May 2005 19:12:59 -0400 Original-Received: from farnswood.snap.net.nz (p166-tnt1.snap.net.nz [202.124.110.166]) by viper.snap.net.nz (Postfix) with ESMTP id 27AE94DEE1A; Sun, 8 May 2005 11:07:10 +1200 (NZST) Original-Received: by farnswood.snap.net.nz (Postfix, from userid 501) id 7C01B62A99; Sun, 8 May 2005 00:08:13 +0100 (BST) Original-To: Juanma Barranquero In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.50.40 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36842 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36842 > Has been suggested to use the output of annotate as a guide; that > would mean that only the *remaining* code is copyrightable. Is that > so? > > What I mean is, if someone made a significant change to foo.el in > 2003, and some other people did another significant change to foo.el > in 2005, so there's no remaining code in foo.el from the 2003 change, > should the copyright be "2003, 2005" or just "2005"? I think is the > later (otherwise it would be imposible to expurge files from unwanted, > non-GPLed material that entered by accident), but I want to be sure. So I guess you would need to run cvs annotate for each year: e.g cvs annotate -D 2004-12-31 cmacexp.el > cmacexp04.ann grep "..-...-04" cmacexp04.ann | wc cvs annotate -D 2003-12-31 cmacexp.el > cmacexp03.ann grep "..-...-03" cmacexp03.ann | wc It would seem that it can't be done mechanically, so maybe the (lisp) code could invoke vc-annotate in some way for manual inspection. Nick