From: Glenn Morris <rgm@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Daniel Pfeiffer <occitan@esperanto.org>,
"Marshall, Simon" <Simon.Marshall@misys.com>,
2209@emacsbugs.donarmstrong.com
Subject: bug#2209: 23.0.90; copyright-update might not update copyright
Date: Sat, 07 Feb 2009 17:31:20 -0500 [thread overview]
Message-ID: <3lzlgxop53.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <873aeqb0bs.fsf@cyd.mit.edu> (Chong Yidong's message of "Sat, 07 Feb 2009 12:53:27 -0500")
Chong Yidong wrote:
> Could you take a look at this bug report for copyright.el? Thanks.
FWIW, I found this goes away if one sets copyright-query nil, or wraps
the y-or-n-p query in copyright-update-year in a save-excursion.
>> 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.
next prev parent reply other threads:[~2009-02-07 22:31 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-02-05 16:39 Marshall, Simon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3lzlgxop53.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=2209@emacsbugs.donarmstrong.com \
--cc=Simon.Marshall@misys.com \
--cc=cyd@stupidchicken.com \
--cc=occitan@esperanto.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.