bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

copyright.el changes (and related to checkdoc)


From: Dave Love
Subject: copyright.el changes (and related to checkdoc)
Date: 04 Jan 2002 15:34:44 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30

I realized while using vanilla source that M-x copyright-update
doesn't DTRT with multi-line date lists.  Here are the changes I have
for copyright.el against Emacs 21.1 (perhaps slightly late in the
year, but such date lists are rare :-/).

I also changed the regexp to match Latin-9 and removed the unibyte
character which multibyte (now?) matches anyway.  Probably it should
also match the copyright sign from other charsets -- I haven't checked
them all.

The constant `copyright-current-year' didn't actually matter, but
looked bogus on casual reading.

[I thought I implemented the necessary expansion of year ranges noted
in a comment, but I can't find that.

By the way, year ranges should be checked by Checkdoc, presumably
using code shared with copyright.  (Checkdoc might also offer to
update the notice, say if the file was changed after the last year
noted and, perhaps, given a substantially different-sized backup from
the current year).]

2002-01-02  Dave Love  <address@hidden>

        * emacs-lisp/copyright.el: Doc fixes.
        (copyright-regexp): Remove unibyte copyright sign; add Latin-9
        one.  Match multi-line year lists.
        (copyright-current-year): Initialize to load-time year.

Attachment: copyright.el.diff
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]