GNU bug report logs - #2209
23.0.90; copyright-update might not update copyright

Previous Next

Package: emacs;

Reported by: "Marshall, Simon" <Simon.Marshall <at> misys.com>

Date: Thu, 5 Feb 2009 16:50:03 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 2209 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Daniel Pfeiffer <occitan <at> esperanto.org>
Cc: "Marshall\, Simon" <Simon.Marshall <at> misys.com>,
        2209 <at> debbugs.gnu.org
Subject: Re: 23.0.90; copyright-update might not update copyright
Date: Sat, 07 Feb 2009 12:53:27 -0500
Hi Daniel,

Could you take a look at this bug report for copyright.el?  Thanks.


"Marshall, Simon" <Simon.Marshall <at> misys.com> wrote:

> First, emacs -Q and in the initial frame create 2 windows with 2 new
> files containing:
>
> //Copyright (c) 2008 Foo
> //
>
> Now do C-x 5 2 and in the new frame do Tools | Compile RET (it doesn't
> matter if there's no Makefile etc) and in the *compilation* window in
> the new frame do C-x 1 M-: (add-hook 'write-file-hooks
> 'copyright-update) RET.
>
> Now in the original frame, add the word "Bar" to the end of the 2nd line
> in each file, leaving point at the end of the 2nd line, and leaving the
> files modified.
>
> Now in the *compilation* window in the new frame do g ! SPC SPC to
> recompile/save/update the copyright notices.  
>
> I find that one file contains the correct:
>
> //Copyright (c) 2008, 2009 Foo
> //Bar
>
> But the other contains the erroneous:
>
> //Copyright (c) 2008 Foo
> //Bar, 2009
>
> With point on the comma in the 2nd line.




This bug report was last modified 16 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.