From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: copyright-update-directory / Copyright at the bottom of files Date: Sat, 12 Apr 2008 12:06:56 +0200 Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1207994924 22093 80.91.229.12 (12 Apr 2008 10:08:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Apr 2008 10:08:44 +0000 (UTC) Cc: emacs-devel@gnu.org To: Glenn Morris Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 12 12:09:16 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JkcfZ-0007t0-K0 for ged-emacs-devel@m.gmane.org; Sat, 12 Apr 2008 12:09:13 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jkcev-0001iY-OC for ged-emacs-devel@m.gmane.org; Sat, 12 Apr 2008 06:08:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jkcdp-0000lY-3m for emacs-devel@gnu.org; Sat, 12 Apr 2008 06:07:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jkcdo-0000l2-Aq for emacs-devel@gnu.org; Sat, 12 Apr 2008 06:07:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jkcdo-0000kx-7D for emacs-devel@gnu.org; Sat, 12 Apr 2008 06:07:24 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Jkcdg-0004Lk-Aa; Sat, 12 Apr 2008 06:07:16 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m3CA7DTV023948; Sat, 12 Apr 2008 12:07:14 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id 4BE0313029; Sat, 12 Apr 2008 12:07:13 +0200 (CEST) X-Face: /U7=m^"/-Dn61mAl{g9e3>\G5Tp,oEX|V)g2I1hBk\ML; )7A?6cmB-y7y?'NA^J<=oz7syB =(McAwIHgLX!.B?R3X}98d@?>CrT094KLWh]WU4gDpnL/")MS(XoQTv`Oq225uL>+; CpPXo$N5e>N> $tPd-gbB^F{gQS#1ase]XO~D4p4M"3+F-7~u]dy3I?Pb8RO*H-EFeWDUf?Rf, d]pv\Jvh2Cht!A=im yKAS2Z%Ao^;}W/qzMvMm Mail-Followup-To: Glenn Morris , emacs-devel@gnu.org In-Reply-To: (Glenn Morris's message of "Sun, 02 Mar 2008 21:00:41 -0500") User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.2.50 (gnu/linux) X-DCC-HP_X86_64_8CPU-Metrics: poseidon 1245; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:95032 Archived-At: On Mon, Mar 03 2008, Glenn Morris wrote: > Reiner Steib wrote: [...] >> Unless there are objections or there is a better solution available, >> I'll add this to `copyright.el' in a few days: >> >> --8<---------------cut here---------------start------------->8--- >> (defun copyright-update-directory (directory match) >> "Update copyright notice for all files in DIRECTORY matching MATCH." > > Worth having, IMO. Added. >> As because of `copyright-limit's default of 2000, it fails to update >> the years in (Gnus) ChangeLog files. Maybe `copyright-update' should >> search at the bottom of the file as well? > > Good idea. Perhaps controlled by a buffer-local variable that could be > set non-nil in ChangeLogs? A buffer-local variable makes sense. But ChangeLogs should be treated like this automatically (i.e. w/o such a variable, maybe by checking major-mode). Are there any other files that usually have the copyright near the end? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/