From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alexander Pohoyda Newsgroups: gmane.emacs.devel Subject: Re: Adding missing copyright years Date: Tue, 10 May 2005 23:42:40 +0200 Message-ID: <8764xqpxkf.fsf@oak.pohoyda.family> References: <85mzraqm9k.fsf@lola.goethe.zz> <17020.9976.943092.382629@farnswood.snap.net.nz> <877jibgjnc.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1115761011 25735 80.91.229.2 (10 May 2005 21:36:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 10 May 2005 21:36:51 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 10 23:36:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DVcOK-0000WS-SE for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 23:35:49 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVcWw-0000ff-69 for ged-emacs-devel@m.gmane.org; Tue, 10 May 2005 17:44:42 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DVcWh-0000cw-2V for emacs-devel@gnu.org; Tue, 10 May 2005 17:44:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DVcWg-0000cZ-Dl for emacs-devel@gnu.org; Tue, 10 May 2005 17:44:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DVcWg-0000cL-4d for emacs-devel@gnu.org; Tue, 10 May 2005 17:44:26 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1DVcbU-0002Kp-L2 for emacs-devel@gnu.org; Tue, 10 May 2005 17:49:24 -0400 Original-Received: (qmail invoked by alias); 10 May 2005 21:42:43 -0000 Original-Received: from pD902CD09.dip0.t-ipconnect.de (EHLO www2.gmx.net) [217.2.205.9] by mail.gmx.net (mp019) with SMTP; 10 May 2005 23:42:43 +0200 X-Authenticated: #14602519 Original-Received: from oak.pohoyda.family (localhost [127.0.0.1]) by www2.gmx.net (8.12.10/8.12.10) with ESMTP id j4ALgfMn000618; Tue, 10 May 2005 23:42:42 +0200 (CEST) (envelope-from alexander.pohoyda@gmx.net) Original-Received: (from apog@localhost) by oak.pohoyda.family (8.12.10/8.12.10/Submit) id j4ALgeek000617; Tue, 10 May 2005 23:42:40 +0200 (CEST) (envelope-from alexander.pohoyda@gmx.net) X-Authentication-Warning: oak.pohoyda.family: apog set sender to alexander.pohoyda@gmx.net using -f Original-To: Stefan Monnier In-Reply-To: <877jibgjnc.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 07 May 2005 11:07:48 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) X-Y-GMX-Trusted: 0 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:36960 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36960 Just a small bug report about copyright-fix-years function (copyright.el, CVS:1.51) Insert this line into a buffer: ; Copyright (C) 99 by Some Company. Call copyright-fix-years function, we get: ;Copyright (C) 99, 05 by Some Company Call the same function again, we get: ;Copyright (C) 99, 2005 by Some Company Call the same function again, we get: ;Copyright (C) 99, 2005by Some Company Anybody cares to fix this? Is this function used at all? It should be at least wrapped in (save-excursion (save-restriction ...)), I suppose. -- Alexander Pohoyda PGP Key fingerprint: 7F C9 CC 5A 75 CD 89 72 15 54 5F 62 20 23 C6 44