From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#2209: marked as done (23.0.90; copyright-update might not update copyright) Date: Tue, 17 Feb 2009 03:10:04 +0000 Message-ID: References: <49prhhlqcs.fsf@fencepost.gnu.org> <63C2A154B1708946B60726AFDBA00AC00388E04D@ukmailemea01.misys.global.ad> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1234840204-14238-0" X-Trace: ger.gmane.org 1234841052 7742 80.91.229.12 (17 Feb 2009 03:24:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Feb 2009 03:24:12 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 17 04:25:26 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LZGaK-000185-LA for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Feb 2009 04:25:25 +0100 Original-Received: from localhost ([127.0.0.1]:48151 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZGZ0-0004gi-B5 for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Feb 2009 22:24:02 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZGYr-0004eS-CG for bug-gnu-emacs@gnu.org; Mon, 16 Feb 2009 22:23:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZGYq-0004e0-Rm for bug-gnu-emacs@gnu.org; Mon, 16 Feb 2009 22:23:52 -0500 Original-Received: from [199.232.76.173] (port=47574 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZGYq-0004du-7Y for bug-gnu-emacs@gnu.org; Mon, 16 Feb 2009 22:23:52 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55498) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LZGYk-0007NG-03; Mon, 16 Feb 2009 22:23:46 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1H3NZ3H017753; Mon, 16 Feb 2009 19:23:44 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n1H3A4Xi014346; Mon, 16 Feb 2009 19:10:04 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 2209 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:25350 Archived-At: This is a multi-part message in MIME format... ------------=_1234840204-14238-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Mon, 16 Feb 2009 22:00:35 -0500 with message-id <49prhhlqcs.fsf@fencepost.gnu.org> and subject line Re: bug#2209: 23.0.90; copyright-update might not update c= opyright has caused the Emacs bug report #2209, regarding 23.0.90; copyright-update might not update copyright to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 2209: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D2209 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1234840204-14238-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 5 Feb 2009 16:40:19 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.1 required=4.0 tests=FOURLA,MULTALT autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n15GeEEX011706 for ; Thu, 5 Feb 2009 08:40:16 -0800 Received: from mail.gnu.org ([199.232.76.166]:46775 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LV7FA-0002WD-5L for emacs-pretest-bug@gnu.org; Thu, 05 Feb 2009 11:38:24 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LV7Gt-0007JY-90 for emacs-pretest-bug@gnu.org; Thu, 05 Feb 2009 11:40:13 -0500 Received: from cluster-a.mailcontrol.com ([85.115.52.190]:59649) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LV7Gs-0007JE-Ja for emacs-pretest-bug@gnu.org; Thu, 05 Feb 2009 11:40:11 -0500 Received: from mailwhp01.misys.global.ad (host167.sequoianet.com [63.117.120.167] (may be forged)) by rly19a.srv.mailcontrol.com (MailControl) with ESMTP id n15GapZx019324 for ; Thu, 5 Feb 2009 16:40:07 GMT Received: from ukmailemea01.misys.global.ad ([10.80.55.11]) by mailwhp01.misys.global.ad with Microsoft SMTPSVC(6.0.3790.1830); Thu, 5 Feb 2009 11:40:01 -0500 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C987B0.62F9A32A" Subject: 23.0.90; copyright-update might not update copyright Date: Thu, 5 Feb 2009 16:39:59 -0000 Message-ID: <63C2A154B1708946B60726AFDBA00AC00388E04D@ukmailemea01.misys.global.ad> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 23.0.90; copyright-update might not update copyright Thread-Index: AcmHsGK+CN+WVHUSRzuZsiej2VzEtg== From: "Marshall, Simon" To: X-OriginalArrivalTime: 05 Feb 2009 16:40:01.0511 (UTC) FILETIME=[63CC7F70:01C987B0] X-Scanned-By: MailControl A_08_51_00 (www.mailcontrol.com) on 10.65.0.129 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 This is a multi-part message in MIME format. ------_=_NextPart_001_01C987B0.62F9A32A Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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.=20=20 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. In GNU Emacs 23.0.90.1 (sparc-sun-solaris2.8, Motif Version 2.1.0) of 2009-02-03 on risksun2 Windowing system distributor `Hummingbird Ltd.', version 11.0.100015 configured using `configure '--x-includes=3D/usr/openwin/include:/usr/dt/include:/usr/local/include:/u sr/local/X11/include' '--x-libraries=3D/usr/openwin/lib:/usr/dt/lib:/usr/local/lib:/usr/local/X1 1/lib' '--with-x-toolkit=3Dmotif' '--with-jpeg=3Dno' '--with-gif=3Dno' '--with-tiff=3Dno'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t "Misys" is the trade name for Misys plc (registered in England and Wales). = Registration Number: 01360027. Registered office: One Kingdom Street, Londo= n W2 6BL, United Kingdom. For a list of Misys group operating companies ple= ase go to http://www.misys.com/corp/About_Us/misys_operating_companies.html= . This email and any attachments have been scanned for known viruses using = multiple scanners. This email message is intended for the named recipient o= nly. It may be privileged and/or confidential. If you are not the named rec= ipient of this email please notify us immediately and do not copy it or use= it for any purpose, nor disclose its contents to any other person. This em= ail does not constitute the commencement of legal relations between you and= Misys plc. Please refer to the executed contract between you and the relev= ant member of the Misys group for the identity of the contracting party wit= h which you are dealing.=20 ------_=_NextPart_001_01C987B0.62F9A32A Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 23.0.90; copyright-update might not update copyright

First, emacs -Q and i= n 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 Make= file etc) and in the *compilation* window in the new frame do C-x 1 M-: (ad= d-hook 'write-file-hooks 'copyright-update) RET.

Now in the original f= rame, 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.<= /FONT>

Now in the *compilati= on* window in the new frame do g ! SPC SPC to recompile/save/update the cop= yright notices. 

I find that one file = contains the correct:

//Copyright (c) 2008,= 2009 Foo
//Bar

But the other contain= s the erroneous:

//Copyright (c) 2008 = Foo
//Bar, 2009

With point on the com= ma in the 2nd line.

In GNU Emacs 23.0.90.= 1 (sparc-sun-solaris2.8, Motif Version 2.1.0)
 of 2009-02-03 = on risksun2
Windowing system dis= tributor `Hummingbird Ltd.', version 11.0.100015
configured using `co= nfigure  '--x-includes=3D/usr/openwin/include:/usr/dt/include:/usr/loc= al/include:/usr/local/X11/include' '--x-libraries=3D/usr/openwin/lib:/usr/d= t/lib:/usr/local/lib:/usr/local/X11/lib' '--with-x-toolkit=3Dmotif' '--with= -jpeg=3Dno' '--with-gif=3Dno' '--with-tiff=3Dno''

Important settings:
  value of $LC_= ALL: nil
  value of $LC_= COLLATE: nil
  value of $LC_= CTYPE: nil
  value of $LC_= MESSAGES: nil
  value of $LC_= MONETARY: nil
  value of $LC_= NUMERIC: nil
  value of $LC_= TIME: nil
  value of $LAN= G: C
  value of $XMO= DIFIERS: nil
  locale-coding= -system: nil
  default-enabl= e-multibyte-characters: t




"Misys" is the trade name for Misys plc (registered in England and Wa= les). Registration Number: 01360027. Registered office: One Kingdom Street,= London W2 6BL, United Kingdom. For a list of Misys group operating compani= es please go to http://www.misys.com/corp/About_Us/misys_operating_compa= nies.html. This email and any attachments have been scanned for known v= iruses using multiple scanners. This email message is intended for the name= d recipient only. It may be privileged and/or confidential. If you are not = the named recipient of this email please notify us immediately and do not c= opy it or use it for any purpose, nor disclose its contents to any other pe= rson. This email does not constitute the commencement of legal relations be= tween you and Misys plc. Please refer to the executed contract between you = and the relevant member of the Misys group for the identity of the contract= ing party with which you are dealing.

 

= ------_=_NextPart_001_01C987B0.62F9A32A-- ------------=_1234840204-14238-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 2209-done) by emacsbugs.donarmstrong.com; 17 Feb 2009 03:02:47 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.9 required=4.0 tests=FOURLA,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1H32ehP012207 for <2209-done@emacsbugs.donarmstrong.com>; Mon, 16 Feb 2009 19:02:42 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LZGCJ-0003M8-QM; Mon, 16 Feb 2009 22:00:35 -0500 From: Glenn Morris To: 2209-done@emacsbugs.donarmstrong.com Subject: Re: bug#2209: 23.0.90; copyright-update might not update copyright References: <873aeqb0bs.fsf@cyd.mit.edu> <3lzlgxop53.fsf@fencepost.gnu.org> X-Spook: UOP radar e-bomb ICE MD2 Perl-RSA Consul M-14 X-Ran: ),O?_0Kwg\B@/L>egusBdOcBh@!6oJ+U#+aK~WB/x6.*.-c+/\c7$FhQ#\309Y~by}IA%q X-Hue: white X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 16 Feb 2009 22:00:35 -0500 Message-ID: <49prhhlqcs.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Glenn Morris wrote: > 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. Installed, in the absence of comments. ------------=_1234840204-14238-0--