unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#2209: 23.0.90; copyright-update might not update copyright
@ 2009-02-07 17:53 Chong Yidong
  2009-02-07 22:31 ` Glenn Morris
  0 siblings, 1 reply; 4+ messages in thread
From: Chong Yidong @ 2009-02-07 17:53 UTC (permalink / raw)
  To: Daniel Pfeiffer; +Cc: Marshall, Simon, 2209

Hi Daniel,

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


"Marshall, Simon" <Simon.Marshall@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.






^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-17  3:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <49prhhlqcs.fsf@fencepost.gnu.org>
2009-02-05 16:39 ` bug#2209: 23.0.90; copyright-update might not update copyright Marshall, Simon
2009-02-17  3:10   ` bug#2209: marked as done (23.0.90; copyright-update might not update copyright) Emacs bug Tracking System
2009-02-07 17:53 bug#2209: 23.0.90; copyright-update might not update copyright Chong Yidong
2009-02-07 22:31 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).