GNU bug report logs -
#7179
23.2; copyright-update on spanning copyright-limit
Previous Next
Reported by: Kevin Ryde <user42 <at> zip.com.au>
Date: Sat, 9 Oct 2010 00:23:02 UTC
Severity: normal
Tags: confirmed
Found in version 23.2
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Kevin Ryde <user42 <at> zip.com.au> writes:
> If you're unlucky enough to have a copyright notice spanning the
> `copyright-limit' position in the buffer then M-x copyright-update makes
> a bit of a mess inserting the current year at the wrong place. For
> example,
>
> (progn
> (require 'copyright)
> (switch-to-buffer "foo")
> (erase-buffer)
> (insert (make-string (- copyright-limit 14) ?x) "\n"
> "\nCopyright 2006, 2007, 2008 Foo Bar\n\n")
> (copyright-update))
>
> gives
>
> Copyright 20, 1006, 2007, 2008 Foo Bar
>
> where I expected
>
> Copyright 2006, 2007, 2008, 2010 Foo Bar
I can confirm that this is still present on the current Emacs trunk.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 3 years and 176 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.