From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Benjamin Drieu Newsgroups: gmane.emacs.help Subject: Re: fix-copyright.el - Automatically update copyright in source files Date: Tue, 17 Jan 2006 10:21:59 +0100 Organization: Debian - http://www.debian.org/ Message-ID: <87hd832oqw.fsf@hebus.dyndns.org> References: <87hd84yrkt.fsf@hebus.dyndns.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1137500020 5097 80.91.229.2 (17 Jan 2006 12:13:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 Jan 2006 12:13:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 17 13:13:39 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EypiP-000075-R0 for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Jan 2006 13:13:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EyoMq-00057v-Qx for geh-help-gnu-emacs@m.gmane.org; Tue, 17 Jan 2006 05:47:13 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!infeed-4.proxad.net!nnrp10-1.free.fr!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:esjcQS5t5SI4XLCrrixWKUP/src= Original-Lines: 25 Original-NNTP-Posting-Date: 17 Jan 2006 10:20:30 MET Original-NNTP-Posting-Host: 82.225.206.200 Original-X-Trace: 1137489630 nnrp10-1.free.fr 8867 82.225.206.200:41944 Original-X-Complaints-To: abuse@proxad.net Original-Xref: shelby.stanford.edu gnu.emacs.help:137077 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:32699 Archived-At: Reiner Steib writes: > On Mon, Jan 16 2006, Benjamin Drieu wrote: > >> (defun update-copyright () >> "Update copyright in current buffer." > > What's wrong with `copyright-update'? Problem is that it will replace first occurence, regardless it is your copyright entry or copyright entry for another developer. As I'm working on projects with multiple authors, I needed to use user-full-name stuff to update my entries only. Perhaps patching copyright.el would be more useful but when I wrote this I had no time to do so. Cheers, Benjamin -- .''`. ; ;' ; Debian GNU/Linux | Benjamin Drieu `. `' http://www.debian.org/ | `-