From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lute Kamstra Newsgroups: gmane.emacs.bugs Subject: Re: Bug in copyright-update Date: Wed, 06 Apr 2005 01:20:47 +0200 Message-ID: <87fyy4g69c.fsf@xs4all.nl> References: <72A87F7160C0994D8C5A36E2FDC227F50DE9AA10@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112743296 2985 80.91.229.2 (5 Apr 2005 23:21:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2005 23:21:36 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 06 01:21:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DIxML-0005qE-Ht for geb-bug-gnu-emacs@m.gmane.org; Wed, 06 Apr 2005 01:21:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIwvK-0005Ar-E6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Apr 2005 18:53:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DIwv2-00053w-LT for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2005 18:53:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIwv1-00051I-D5 for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2005 18:53:11 -0400 Original-Received: from [194.109.24.28] (helo=smtp-vbr8.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DIxM2-0001sb-Ao for bug-gnu-emacs@gnu.org; Tue, 05 Apr 2005 19:21:06 -0400 Original-Received: from pijl (a80-127-67-124.adsl.xs4all.nl [80.127.67.124]) by smtp-vbr8.xs4all.nl (8.12.11/8.12.11) with ESMTP id j35NKmaa035550; Wed, 6 Apr 2005 01:20:48 +0200 (CEST) (envelope-from Lute.Kamstra@xs4all.nl) Original-Received: from lute by pijl with local (Exim 3.36 #1 (Debian)) id 1DIxLj-0001Py-00; Wed, 06 Apr 2005 01:20:47 +0200 Original-To: "Bingham, Jay" In-Reply-To: <72A87F7160C0994D8C5A36E2FDC227F50DE9AA10@txnexc01.americas.cpqcorp.net> (Jay Bingham's message of "Tue, 5 Apr 2005 17:34:27 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Original-Lines: 19 X-Virus-Scanned: by XS4ALL Virus Scanner X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:11077 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:11077 "Bingham, Jay" writes: > In Emacs 21.3 the documentation for copyright-update (in copyright.el) > states: > If optional prefix ARG is given replace the years in the notice rather > than adding the current year after them. > > However his is not what occurs, instead the word copyright is deleted > and replaced with the current year. > > The offending sexp is: > (delete-region (match-beginning 1) (match-end 1)) > > It should be: > (delete-region (match-beginning 2) (match-end 2)) Thanks for your report. I've fixed the problem in CVS Emacs. Lute.