From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Copyright notices Date: Thu, 04 Aug 2005 20:06:15 +0300 Organization: JURTA Message-ID: <87irylk2gh.fsf@jurta.org> References: <17130.41727.178496.468583@farnswood.snap.net.nz> <17132.7450.945474.746680@farnswood.snap.net.nz> <17134.56687.951950.51407@farnswood.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1123182481 16601 80.91.229.2 (4 Aug 2005 19:08:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2005 19:08:01 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 04 21:07:53 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E0l3G-0007Z0-If for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2005 21:06:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0l65-0003Vj-6A for ged-emacs-devel@m.gmane.org; Thu, 04 Aug 2005 15:09:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E0l56-0003I6-2Z for emacs-devel@gnu.org; Thu, 04 Aug 2005 15:08:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E0l54-0003HS-SZ for emacs-devel@gnu.org; Thu, 04 Aug 2005 15:08:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E0l54-0003GL-FE for emacs-devel@gnu.org; Thu, 04 Aug 2005 15:08:38 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E0lEP-0002QU-KZ; Thu, 04 Aug 2005 15:18:18 -0400 Original-Received: from mail.neti.ee (80-235-42-219-dsl.mus.estpak.ee [80.235.42.219]) by Relayhost1.neti.ee (Postfix) with ESMTP id 764351AAC; Thu, 4 Aug 2005 22:05:03 +0300 (EEST) Original-To: Nick Roberts In-Reply-To: <17134.56687.951950.51407@farnswood.snap.net.nz> (Nick Roberts's message of "Tue, 2 Aug 2005 14:41:51 +1200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee 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:41499 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:41499 > There are about 2000 files with copyright notices. If these are all > done manually, changing them twice seems to me to be an inefficient > way of working. If, as Stefan suggests, only those changed in 2006 > need their copyright changed again then maybe it's not so bad. I guess not all files changed in 2006 need their copyright updated. For example, it would be good to remove trailing whitespace from all files just before the release. Updating copyright is not needed after such change. > I'll start thinking about how to do it. Since the copyright notices > won't be all the same any script must be able to handle the differences. > I'm thinking of something that keeps the user in the loop, like > query replace or ediff, where he will be presented with a proposed > change which he can decline or accept. A good interface for mass-replacing is query-replace. You can just do M-x find-dired RET -name '*.el' RET t Q and use a function call like \,(copyright-fix-years \0) in the replacement part. -- Juri Linkov http://www.jurta.org/emacs/