2008-09-20 19:54:27 +00:00
|
|
|
;;; authors.el --- utility for maintaining Emacs' AUTHORS file -*-coding: utf-8;-*-
|
2000-08-14 21:33:50 +00:00
|
|
|
|
2009-01-11 03:03:21 +00:00
|
|
|
;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
|
|
|
|
;; 2009 Free Software Foundation, Inc.
|
2000-08-14 21:33:50 +00:00
|
|
|
|
2000-11-22 15:11:36 +00:00
|
|
|
;; Author: Gerd Moellmann <gerd@gnu.org>
|
2003-01-29 00:13:11 +00:00
|
|
|
;; Maintainer: Kim F. Storm <storm@cua.dk>
|
2000-11-22 15:11:36 +00:00
|
|
|
;; Keywords: maint
|
|
|
|
|
2000-08-14 21:33:50 +00:00
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
|
2008-05-06 03:21:21 +00:00
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
2000-08-14 21:33:50 +00:00
|
|
|
;; it under the terms of the GNU General Public License as published by
|
2008-05-06 03:21:21 +00:00
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
2000-08-14 21:33:50 +00:00
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2008-05-06 03:21:21 +00:00
|
|
|
;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
2000-08-14 21:33:50 +00:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
|
|
|
;; Use M-x authors RET to create an *Authors* buffer that can used as
|
|
|
|
;; or merged with Emacs' AUTHORS file.
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
2008-09-20 19:54:27 +00:00
|
|
|
(defvar authors-coding-system 'utf-8
|
2003-01-29 00:13:11 +00:00
|
|
|
"Coding system used in the AUTHORS file.")
|
|
|
|
|
2000-08-14 21:33:50 +00:00
|
|
|
(defconst authors-many-files 20
|
|
|
|
"Maximum number of files for which to print individual information.
|
2003-01-29 00:13:11 +00:00
|
|
|
If an author has modified more files, only the names of the most
|
|
|
|
frequently modified files are printed and a count of the additional
|
|
|
|
files.")
|
2000-08-14 21:33:50 +00:00
|
|
|
|
|
|
|
(defconst authors-aliases
|
2003-01-29 00:13:11 +00:00
|
|
|
'(
|
2008-12-19 03:30:14 +00:00
|
|
|
("Aaron S. Hawley" "Aaron Hawley")
|
2006-06-04 22:01:24 +00:00
|
|
|
("Andrew Csillag" "Drew Csillag")
|
2006-11-28 03:46:00 +00:00
|
|
|
("Anna M. Bigatti" "Anna Bigatti")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Barry A. Warsaw" "Barry A. Warsaw, Century Computing, Inc."
|
|
|
|
"Barry A. Warsaw, ITB" "Barry Warsaw")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Björn Torkelsson" "Bjorn Torkelsson")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Brian Fox" "Brian J. Fox")
|
|
|
|
("Christoph Wedler" "Christoph.Wedler@sap.com")
|
|
|
|
("Daniel Pfeiffer" "<Daniel.Pfeiffer@Informatik.START.db.de>"
|
|
|
|
"<Daniel.Pfeiffer@Informatik.START.dbp.de>")
|
|
|
|
("David Gillespie" "Dave Gillespie")
|
2008-09-20 19:54:27 +00:00
|
|
|
("David Kågedal" "David K..edal")
|
2009-01-11 03:03:21 +00:00
|
|
|
("David M. Koppelman" "David M. Koppelman, Koppel@Ec?e.Lsu.Edu"
|
2006-03-28 11:25:17 +00:00
|
|
|
"David Koppelman")
|
2004-09-07 21:16:48 +00:00
|
|
|
("David M. Smith" "David Smith" "David M Smith")
|
2008-12-19 03:30:14 +00:00
|
|
|
("Deepak Goel" "D. Goel")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Ed L. Cashin" "Ed L Cashin")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Edward M. Reingold" "Ed Reingold" "Edward M Reingold"
|
|
|
|
"Reingold Edward M")
|
|
|
|
("Eli Zaretskii" "eliz")
|
2005-04-08 11:54:57 +00:00
|
|
|
("Emilio C. Lopes" "Emilio Lopes")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Era Eriksson" "Era@Iki.Fi")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Eric M. Ludlam" "Eric Ludlam")
|
|
|
|
("Eric S. Raymond" "Eric Raymond")
|
|
|
|
("Eric Youngdale" "(Eric Youngdale at youngdale@v6550c.nrl.navy.mil)")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Francis J. Wright" "Dr Francis J. Wright" "Francis Wright")
|
2008-09-20 19:54:27 +00:00
|
|
|
("François Pinard" "Francois Pinard")
|
|
|
|
("Francesco Potortì" "Francesco Potorti" "Francesco Potorti`")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Frederic Pierresteguy" "Fred Pierresteguy")
|
|
|
|
("Geoff Voelker" "voelker")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Gerd Möllmann" "Gerd Moellmann")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Hallvard B. Furuseth" "Hallvard B Furuseth")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Hrvoje Nikšić" "Hrvoje Niksic")
|
2003-01-29 00:13:11 +00:00
|
|
|
(nil "(afs@hplb.hpl.hp.com)")
|
|
|
|
(nil "<Use-Author-Address-Header@\\[127.1\\]>")
|
|
|
|
(nil "Code Extracted")
|
2006-12-27 21:31:10 +00:00
|
|
|
(nil "\\`FSF")
|
2003-01-29 00:13:11 +00:00
|
|
|
(nil "ISO-2022-JP")
|
|
|
|
("Jaeyoun Chung" "Jae-youn Chung" "Jae-you Chung" "Chung Jae-youn")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Jan Djärv" "Jan D." "Jan Djarv")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Jay K. Adams" "jka@ece.cmu.edu" "Jay Adams")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Jérôme Marant" "Jérôme Marant" "Jerome Marant")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Jens-Ulrik Holger Petersen" "Jens-Ulrik Petersen")
|
2006-03-28 11:25:17 +00:00
|
|
|
("Jeremy Bertram Maitin-Shepard" "Jeremy Maitin-Shepard")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Johan Bockgård" "Johan Bockgard")
|
2005-04-08 11:54:57 +00:00
|
|
|
("John W. Eaton" "John Eaton")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Jonathan I. Kamens" "Jonathan Kamens")
|
|
|
|
("Joseph Arceneaux" "Joe Arceneaux")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Juan León Lahoz García" "Juan-Leon Lahoz Garcia")
|
2003-01-29 00:13:11 +00:00
|
|
|
("K. Shane Hartman" "Shane Hartman")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Kai Großjohann" "Kai Grossjohann" "Kai Großjohann"
|
2004-09-07 21:16:48 +00:00
|
|
|
"Kai.Grossjohann@Cs.Uni-Dortmund.De"
|
|
|
|
"Kai.Grossjohann@Gmx.Net")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Karl Berry" "K. Berry")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Károly Lőrentey" "Károly Lőrentey" "Lőrentey Károly")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Kazushi Marukawa" "Kazushi")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Ken Manheimer" "Kenneth Manheimer")
|
|
|
|
("Kenichi Handa" "Ken'ichi Handa" "Kenichi HANDA")
|
2005-04-08 11:54:57 +00:00
|
|
|
("Kevin Greiner" "Kevin J. Greiner")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Kim F. Storm" "Kim Storm")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Kyle Jones" "Kyle E. Jones")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Marcus G. Daniels" "Marcus Daniels")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Mark D. Baushke" "Mark D Baushke")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Agustín Martín" "Agustin Martin")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Martin Lorentzon" "Martin Lorentzson")
|
|
|
|
("Matt Swift" "Matthew Swift")
|
2005-04-08 11:54:57 +00:00
|
|
|
("Michael R. Mauger" "Michael Mauger")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Michael D. Ernst" "Michael Ernst")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Michaël Cadilhac" "Michael Cadilhac")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Michael I. Bushnell" "Michael I Bushnell" "Michael I. Bushnell, P/Bsg")
|
2005-04-08 11:54:57 +00:00
|
|
|
("Mikio Nakajima" "Nakajima Mikio")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Paul Eggert" "eggert")
|
|
|
|
("Paul Reilly" "(pmr@legacy.pajato.com)")
|
2009-01-03 19:43:54 +00:00
|
|
|
("Pavel Janík" "Pavel Janík Ml." "Pavel Janik Ml." "Pavel Janik" "Pavel Janík" "Pavel@Janik.Cz")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Per Abrahamsen" "Per Abhiddenware")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Peter S. Galbraith" "Peter Galbraith")
|
|
|
|
("Peter Runestig" "Peter 'luna' Runestig")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Peter S. Galbraith" "Peter S Galbraith")
|
|
|
|
("Richard M. Stallman" "Richard M. Stallman,,," "Richard Stallman"
|
2003-02-04 13:24:35 +00:00
|
|
|
"rms" "rms@gnu.org")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Robert J. Chassell" "Bob Chassell")
|
|
|
|
("Roland B. Roberts" "Roland B Roberts" "Roland Roberts")
|
|
|
|
("Rui-Tao Dong" "Rui-Tao Dong ~{6-Hpln~}")
|
2006-07-10 14:58:17 +00:00
|
|
|
("Sacha Chua" "Sandra Jean Chua")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Sam Steingold" "Sam Shteingold")
|
2006-06-04 22:01:24 +00:00
|
|
|
("Satyaki Das" "Indexed search by Satyaki Das")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; There are other Stefans.
|
|
|
|
;;; ("Stefan Monnier" "Stefan")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Stephen A. Wood" "(saw@cebaf.gov)")
|
|
|
|
("Steven L. Baur" "SL Baur" "Steven L Baur")
|
2009-01-11 03:03:21 +00:00
|
|
|
("Stewart M. Clamen" "Stewart Clamen")
|
|
|
|
("Taichi Kawabata" "KAWABATA,? Taichi")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Takaaki Ota" "Tak Ota")
|
2005-04-08 11:54:57 +00:00
|
|
|
("Takahashi Naoto" "Naoto Takahashi")
|
2004-09-07 21:16:48 +00:00
|
|
|
("Teodor Zlatanov" "Ted Zlatanov")
|
2008-09-20 19:54:27 +00:00
|
|
|
("Torbjörn Axelsson" "Torbjvrn Axelsson")
|
|
|
|
("Torbjörn Einarsson" "Torbj.*rn Einarsson")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Toru Tomabechi" "Toru Tomabechi,")
|
|
|
|
("Vincent Del Vecchio" "Vince Del Vecchio")
|
2006-06-04 22:01:24 +00:00
|
|
|
("William M. Perry" "Bill Perry")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Wlodzimierz Bzyl" "W.*dek Bzyl")
|
|
|
|
("Yutaka NIIBE" "NIIBE Yutaka")
|
2000-10-25 19:01:38 +00:00
|
|
|
)
|
2000-08-14 21:33:50 +00:00
|
|
|
"Alist of author aliases.
|
|
|
|
|
2003-01-29 00:13:11 +00:00
|
|
|
Each entry is of the form (REALNAME REGEXP...). If an author's name
|
2003-02-04 13:24:35 +00:00
|
|
|
matches one of the REGEXPs, use REALNAME instead.
|
2003-01-29 00:13:11 +00:00
|
|
|
If REALNAME is nil, ignore that author.")
|
2000-08-14 21:33:50 +00:00
|
|
|
|
2008-12-19 03:16:14 +00:00
|
|
|
(defconst authors-fixed-case
|
|
|
|
'("Bryan O'Sullivan"
|
|
|
|
"Christian von Roques"
|
2009-01-11 03:03:21 +00:00
|
|
|
"Christophe de Dinechin"
|
2008-12-19 03:16:14 +00:00
|
|
|
"Craig McDaniel"
|
|
|
|
"David J. MacKenzie"
|
|
|
|
"David McCabe"
|
|
|
|
"David O'Toole"
|
|
|
|
"Dominique de Waleffe"
|
|
|
|
"Edward O'Connor"
|
|
|
|
"Exal de Jesus Garcia Carrillo"
|
|
|
|
"Greg McGary"
|
|
|
|
"Hans de Graaff"
|
|
|
|
"James TD Smith"
|
|
|
|
"Michael McNamara"
|
|
|
|
"Mike McEwan"
|
|
|
|
"Peter von der Ahe"
|
|
|
|
"Peter O'Gorman"
|
|
|
|
"Roland McGrath"
|
|
|
|
"Sean O'Rourke")
|
|
|
|
"List of authors whose names cannot be simply capitalized.")
|
2000-08-14 21:33:50 +00:00
|
|
|
|
2000-11-02 15:37:03 +00:00
|
|
|
(defvar authors-public-domain-files
|
2008-12-19 03:16:14 +00:00
|
|
|
'("emerge\\.el"
|
2000-11-02 15:37:03 +00:00
|
|
|
"vi\\.el"
|
|
|
|
"feedmail\\.el"
|
|
|
|
"mailpost\\.el"
|
|
|
|
"hanoi\\.el"
|
|
|
|
"meese\\.el"
|
|
|
|
"studly\\.el"
|
2008-12-19 03:16:14 +00:00
|
|
|
"modula2\\.el"
|
|
|
|
"nnmaildir\\.el"
|
|
|
|
"nnil\\.el"
|
|
|
|
"b2m\\.c"
|
|
|
|
"unexhp9k800\\.c"
|
|
|
|
"emacsclient\\.1"
|
|
|
|
"check-doc-strings")
|
2000-11-02 15:37:03 +00:00
|
|
|
"List of regexps matching files for which the FSF doesn't need papers.")
|
|
|
|
|
|
|
|
|
2000-09-30 12:06:40 +00:00
|
|
|
(defvar authors-obsolete-files-regexps
|
|
|
|
'("vc-\\*\\.el$"
|
|
|
|
"spec.txt$"
|
|
|
|
"vc-\\(rcs\\|cvs\\|sccs\\)-hooks\\.el$")
|
|
|
|
"List of regexps matching obsolete files.
|
|
|
|
Changes to files matching one of the regexps in this list are not
|
|
|
|
listed.")
|
|
|
|
|
2005-04-08 11:54:57 +00:00
|
|
|
(defconst authors-ignored-files
|
|
|
|
'("external-lisp"
|
|
|
|
"lock" "share-lib" "local-lisp"
|
|
|
|
"noleim-Makefile.in"
|
2008-12-19 03:16:14 +00:00
|
|
|
"NEWS" "ORDERS" "PROBLEMS" "FAQ" "AUTHORS" "FOR-RELEASE" "TODO" "todo"
|
|
|
|
"MACHINES" "SERVICE"
|
|
|
|
"README.unicode" "README.multi-tty" "TUTORIAL.translators"
|
|
|
|
"NEWS.unicode" "COPYING.DJ" "Makefile.old" "Makefile.am"
|
|
|
|
"NEWS.1" "OOOOONEWS...OONEWS" "OOOONEWS" "etc/NEWS"
|
|
|
|
"NEWS.1-17" "NEWS.18" "NEWS.19" "NEWS.20" "NEWS.21" "NEWS.22"
|
|
|
|
"install-sh" "missing" "mkinstalldirs"
|
|
|
|
"termcap.dat" "termcap.src" "termcap.ucb" "termcap"
|
|
|
|
"ChangeLog.nextstep" "Emacs.clr" "spec.txt"
|
|
|
|
"gfdl.1"
|
|
|
|
"texi/Makefile.in"
|
|
|
|
"Imakefile" "icons/sink.ico" "aixcc.lex"
|
|
|
|
"nxml/char-name/unicode"
|
|
|
|
;; Never had any meaningful changes logged, now deleted:
|
|
|
|
"split-man" "Xkeymap.txt" "ms-7bkermit" "ulimit.hack"
|
2009-01-11 03:03:21 +00:00
|
|
|
"gnu-hp300" "refcard.bit" "ledit.l" "forms.README" "forms-d2.dat"
|
2008-12-19 03:16:14 +00:00
|
|
|
"CXTERM-DIC/PY.tit" "CXTERM-DIC/ZIRANMA.tit"
|
|
|
|
"CXTERM-DIC/CTLau.tit" "CXTERM-DIC/CTLauB.tit"
|
|
|
|
"NICKLES.WORTH" "INTERVAL.IDEAS" "RCP"
|
|
|
|
"3B-MAXMEM" "AIX.DUMP" "SUN-SUPPORT" "XENIX"
|
|
|
|
"CODINGS" "CHARSETS"
|
|
|
|
"calc/INSTALL" "calc/Makefile"
|
|
|
|
"vms-pp.trans" "_emacs" "batcomp.com"
|
|
|
|
;; MH-E stuff not in Emacs:
|
|
|
|
"import-emacs" "release-utils"
|
|
|
|
;; Erc stuff not in Emacs:
|
|
|
|
"ChangeLog.2001" "ChangeLog.2002" "ChangeLog.2003" "ChangeLog.2004"
|
|
|
|
"ChangeLog.2005"
|
|
|
|
"README.extras" "dir-template" "mkChangeLog" "MkChangeLog" "erc-auto.in"
|
|
|
|
"CREDITS" "HACKING"
|
|
|
|
"debian/changelog"
|
|
|
|
"debian/control"
|
|
|
|
"debian/copyright"
|
|
|
|
"debian/maint/conffiles"
|
|
|
|
"debian/maint/conffiles.in"
|
|
|
|
"debian/maint/postinst"
|
|
|
|
"debian/maint/postinst.in"
|
|
|
|
"debian/maint/prerm"
|
|
|
|
"debian/maint/prerm.in"
|
|
|
|
"debian/README.Debian"
|
|
|
|
"debian/README.erc-speak"
|
|
|
|
"debian/rules"
|
|
|
|
"debian/scripts/install"
|
|
|
|
"debian/scripts/install.in"
|
|
|
|
"debian/scripts/remove"
|
|
|
|
"debian/scripts/remove.in"
|
|
|
|
"debian/scripts/startup"
|
|
|
|
"debian/scripts/startup.erc"
|
|
|
|
"debian/scripts/startup.erc-speak"
|
|
|
|
)
|
2005-04-08 11:54:57 +00:00
|
|
|
"List of files and directories to ignore.
|
|
|
|
Changes to files in this list are not listed.")
|
2000-09-30 12:06:40 +00:00
|
|
|
|
2000-10-25 19:01:38 +00:00
|
|
|
(defconst authors-fixed-entries
|
2006-11-06 02:38:26 +00:00
|
|
|
'(("Richard M. Stallman" :wrote "[The original GNU Emacs and numerous files]")
|
2003-01-29 00:13:11 +00:00
|
|
|
("Joseph Arceneaux" :wrote "xrdb.c")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Blitz Product Development Corporation" :wrote "ispell.el")
|
|
|
|
("Frank Bresz" :wrote "diff.el")
|
|
|
|
("David M. Brown" :wrote "array.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed.
|
|
|
|
;;; ("Gary Byers" :changed "xenix.h")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Shawn M. Carey" :wrote "freebsd.h")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; hp800.h renamed from hp9000s800.h, hpux.h merged into hpux10-20.h.
|
|
|
|
("Eric Decker" :changed "hp800.h" "hpux10-20.h" "sysdep.c")
|
|
|
|
("Lawrence R. Dodd" :cowrote "dired-x.el")
|
|
|
|
;; No longer distributed.
|
|
|
|
;;; ("Viktor Dukhovni" :wrote "unexsunos4.c")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Paul Eggert" :wrote "rcs2log" "vcdiff")
|
|
|
|
("Fred Fish" :changed "unexec.c")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed.
|
|
|
|
;;; ("Tim Fleehart" :wrote "makefile.nt")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Keith Gabryelski" :wrote "hexl.c")
|
|
|
|
("Kevin Gallagher" :wrote "flow-ctrl.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; Also wrote an earlier version of disp-table.el, since replaced
|
|
|
|
;; by Erik Naggum's version; also iso-syntax.el, later renamed to
|
|
|
|
;; latin-1.el, since deleted.
|
|
|
|
("Howard Gayle" :wrote "casetab.c")
|
|
|
|
;; :wrote mh-pick.el, since merged into mh-search.el.
|
|
|
|
;; FIXME current mh-funcs.el says it was written by Bill Wohler.
|
|
|
|
("Stephen Gildea" :wrote "refcard.tex" "mh-funcs.el"
|
|
|
|
:cowrote "mh-search.el")
|
|
|
|
;; cl.texinfo renamed to cl.texi.
|
|
|
|
("David Gillespie" :wrote "cl.texi")
|
|
|
|
;; No longer distributed: emacsserver.c.
|
|
|
|
("Hewlett-Packard" :changed "emacsclient.c" "server.el" "keyboard.c")
|
|
|
|
;; No longer distributed.
|
|
|
|
;;; ("Thomas Horsley" :wrote "cxux.h" "cxux7.h")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Indiana University Foundation" :changed "buffer.c" "buffer.h"
|
|
|
|
"indent.c" "search.c" "xdisp.c" "region-cache.c" "region-cache.h")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; ibmrt.h, ibmrt-aix.h no longer distributed.
|
2000-10-25 19:01:38 +00:00
|
|
|
("International Business Machines" :changed "emacs.c" "fileio.c"
|
2009-01-11 03:03:21 +00:00
|
|
|
"process.c" "sysdep.c" "unexec.c")
|
|
|
|
;; No longer distributed.
|
|
|
|
;;; ("Ishikawa Chiaki" :changed "aviion.h" "dgux.h")
|
|
|
|
;; ymakefile no longer distributed.
|
2000-10-25 19:01:38 +00:00
|
|
|
("Michael K. Johnson" :changed "configure.in" "emacs.c" "intel386.h"
|
2009-01-11 03:03:21 +00:00
|
|
|
"mem-limits.h" "process.c" "template.h" "sysdep.c" "syssignal.h"
|
|
|
|
"systty.h" "unexec.c" "linux.h")
|
|
|
|
;; No longer distributed.
|
|
|
|
;;; ("Kyle Jones" :wrote "mldrag.el")
|
2005-04-08 11:54:57 +00:00
|
|
|
("Henry Kautz" :wrote "bib-mode.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed: vms-pwd.h, vmsfns.c, uaf.h.
|
|
|
|
("Joseph M. Kelsey" :changed "fileio.c" "dir.h")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Sam Kendall" :changed "etags.c" "etags.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; ack.texi: "We're not using his backquote.el any more."
|
|
|
|
("Richard King" :wrote "userlock.el" "filelock.c")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Larry Kolodney" :wrote "cvtmail.c")
|
|
|
|
("Sebastian Kremer" :changed "add-log.el")
|
|
|
|
("Mark Lambert" :changed "process.c" "process.h")
|
|
|
|
("Aaron Larson" :changed "bibtex.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; FIXME current mh-e.el says author Bill Wohler.
|
2000-10-25 19:01:38 +00:00
|
|
|
("James R. Larus" :wrote "mh-e.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
("Lars Lindberg" :changed "dabbrev.el" :cowrote "imenu.el")
|
|
|
|
;; No longer distributed: lselect.el.
|
2000-10-25 19:01:38 +00:00
|
|
|
("Lucid, Inc." :changed "bytecode.c" "byte-opt.el" "byte-run.el"
|
|
|
|
"bytecomp.el" "delsel.el" "disass.el" "faces.el" "font-lock.el"
|
2009-01-11 03:03:21 +00:00
|
|
|
"lmenu.el" "mailabbrev.el" "select.el" "xfaces.c" "xselect.c")
|
|
|
|
;; No longer distributed: emacsserver.c.
|
|
|
|
("MCC" :changed "etags.c" "emacsclient.c" "movemail.c"
|
2000-10-25 19:01:38 +00:00
|
|
|
"rmail.el" "rmailedit.el" "rmailkwd.el"
|
|
|
|
"rmailmsc.el" "rmailout.el" "rmailsum.el" "scribe.el"
|
2009-01-11 03:03:21 +00:00
|
|
|
;; FIXME current xmenu.c says authors: Jon Arnold, Roman Budzianowski,
|
|
|
|
;; Robert Krawitz, RMS.
|
2000-10-25 19:01:38 +00:00
|
|
|
"server.el" "lisp.h" "sysdep.c" "unexec.c" :wrote "xmenu.c")
|
|
|
|
("Niall Mansfield" :changed "etags.c")
|
2009-01-11 03:03:21 +00:00
|
|
|
("Brian Marick" :cowrote "hideif.el")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Marko Kohtala" :changed "info.el")
|
|
|
|
("Sidney Markowitz" :changed "doctor.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed: env.c.
|
|
|
|
("Richard Mlynarik" :wrote "ehelp.el")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Mosur Mohan" :changed "etags.c")
|
|
|
|
("Jeff Morgenthaler" :changed "flow-ctrl.el" "vt200.el" "vt201.el"
|
|
|
|
"vt220.el" "vt240.el")
|
|
|
|
("Motorola" :changed "buff-menu.el")
|
|
|
|
("Hiroshi Nakano" :changed "ralloc.c")
|
|
|
|
("Sundar Narasimhan" :changed "rnewspost.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed.
|
|
|
|
;;; ("NeXT, Inc." :wrote "unexnext.c")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Mark Neale" :changed "fortran.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; Renamed from sc.el.
|
|
|
|
("Martin Neitzel" :changed "supercite.el")
|
|
|
|
("Andrew Oram" :changed "calendar.texi (and other files in man/)")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Frederic Pierresteguy" :wrote "widget.c")
|
|
|
|
("Michael D. Prange" :changed "tex-mode.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed (dgux5-4r3.h was renamed to dgux5-4-3.h).
|
|
|
|
;;; ("Paul Reilly" :wrote "gux5-4r2.h" "dgux5-4-3.h")
|
|
|
|
("Roland B. Roberts" :changed "files.el" "sort.el"
|
|
|
|
"buffer.h" "callproc.c" "dired.c" "process.c" "sysdep.c" "systty.h")
|
|
|
|
;; No longer distributed.
|
|
|
|
;;; "vmspaths.h" "build.com" "compile.com" "kepteditor.com" "precomp.com"
|
|
|
|
;;; "vmsproc.el" :wrote "logout.com" "mailemacs.com")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Guillermo J. Rozas" :wrote "fakemail.c")
|
|
|
|
("Wolfgang Rupprecht" :changed "lisp-mode.el" "loadup.el"
|
|
|
|
"sort.el" "alloc.c" "callint.c"
|
2009-01-11 03:03:21 +00:00
|
|
|
;; config.in renamed from config.h.in; ecrt0.c from crt0.c.
|
|
|
|
"config.in" "ecrt0.c" "data.c" "fns.c"
|
|
|
|
"lisp.h" "lread.c" ; "sun3.h" "ymakefile" - no longer distributed
|
|
|
|
"print.c" :wrote "float-sup.el" "floatfns.c")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Schlumberger Technology Corporation" :changed "gud.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; Replaced by tcl.el.
|
|
|
|
;;; ("Gregor Schmid" :wrote "tcl-mode.el")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Rainer Schoepf" :wrote "alpha.h" "unexalpha.c")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed: emacsserver.c.
|
|
|
|
("William Sommerfeld" :wrote "emacsclient.c" "scribe.el")
|
|
|
|
;; No longer distributed: emacsserver.c.
|
|
|
|
("Leigh Stoller" :changed "emacsclient.c" "server.el")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Steve Strassman" :wrote "spook.el")
|
|
|
|
("Shinichirou Sugou" :changed "etags.c")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed: emacsserver.c.
|
|
|
|
("Sun Microsystems, Inc" :changed "emacsclient.c" "server.el"
|
|
|
|
:wrote "emacs.icon" "sun.el")
|
|
|
|
;; No longer distributed.
|
|
|
|
;;; "emacstool.1" "emacstool.c" "sun-curs.el"
|
|
|
|
;;; "sun-fns.el" "sun-mouse.el" "sunfns.c")
|
|
|
|
;; Renamed from sc.el.
|
|
|
|
("Kayvan Sylvan" :changed "supercite.el")
|
|
|
|
;; No longer distributed: emacsserver.c, tcp.c.
|
|
|
|
("Spencer Thomas" :changed "emacsclient.c" "server.el"
|
|
|
|
"dabbrev.el" "unexec.c" "gnus.texi")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Jonathan Vail" :changed "vc.el")
|
|
|
|
("James Van Artsdalen" :changed "usg5-4.h" "unexec.c")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; No longer distributed: src/makefile.nt, lisp/makefile.nt
|
|
|
|
;; winnt.el renamed to w32-fns.el; nt.[ch] to w32.[ch];
|
|
|
|
;; ntheap.[ch] to w32heap.[ch]; ntinevt.c to w32inevt.c;
|
|
|
|
;; ntproc.c to w32proc.c; ntterm.c to w32term.c;
|
|
|
|
;; windowsnt.h to ms-w32.h.
|
|
|
|
("Geoff Voelker" :wrote "w32-fns.el" "w32.c" "w32.h" "w32heap.c"
|
|
|
|
"w32heap.h" "w32inevt.c" "w32proc.c" "w32term.c" "ms-w32.h")
|
2008-11-14 13:05:18 +00:00
|
|
|
("Morten Welinder" :wrote "dosfns.c" "[many MS-DOS files]" "msdos.h")
|
2009-01-11 03:03:21 +00:00
|
|
|
;; Not using this version any more.
|
|
|
|
;;; ("Pace Willisson" :wrote "ispell.el")
|
2000-10-25 19:01:38 +00:00
|
|
|
("Garrett Wollman" :changed "sendmail.el")
|
2006-06-04 22:01:24 +00:00
|
|
|
("Dale R. Worley" :changed "mail-extr.el")
|
2009-01-11 03:03:21 +00:00
|
|
|
("Jamie Zawinski" :changed "bytecode.c" :wrote "tar-mode.el"
|
|
|
|
:cowrote "disass.el"))
|
2000-10-25 19:01:38 +00:00
|
|
|
"Actions taken from the original, manually (un)maintained AUTHORS file.")
|
|
|
|
|
|
|
|
|
2003-01-29 00:13:11 +00:00
|
|
|
(defconst authors-valid-file-names
|
|
|
|
'("aclocal.m4"
|
2008-12-19 03:16:14 +00:00
|
|
|
"build-ins.in"
|
|
|
|
"Makefile.noleim"
|
2005-04-08 11:54:57 +00:00
|
|
|
"makedist.bat"
|
2008-12-19 03:16:14 +00:00
|
|
|
"makefile.def"
|
|
|
|
"makefile.nt"
|
|
|
|
"debug.bat.in" "emacs.bat.in"
|
|
|
|
".gdbinit-union"
|
|
|
|
"alloca.s"
|
|
|
|
"make-delta"
|
|
|
|
"config.w95"
|
|
|
|
"emacstool.1"
|
|
|
|
"align.umax"
|
|
|
|
"cxux-crt0.s"
|
|
|
|
"gould-sigvec.s"
|
|
|
|
"getdate.y"
|
|
|
|
"ymakefile"
|
|
|
|
"permute-index" "index.perm"
|
2009-01-11 03:03:21 +00:00
|
|
|
"emacs.ico"
|
2008-12-19 03:16:14 +00:00
|
|
|
"emacs21.ico"
|
|
|
|
"LPF" "LEDIT" "OTHER.EMACSES"
|
|
|
|
"emacs16_mac.png" "emacs24_mac.png"
|
|
|
|
"emacs256_mac.png" "emacs32_mac.png"
|
|
|
|
"emacs48_mac.png" "emacs512_mac.png"
|
|
|
|
;; Deleted vms stuff:
|
|
|
|
"temacs.opt" "descrip.mms" "compile.com" "link.com"
|
|
|
|
)
|
|
|
|
"File names which are valid, but no longer exist (or cannot be
|
2003-01-29 00:13:11 +00:00
|
|
|
found) in the repository.")
|
|
|
|
|
|
|
|
(defconst authors-renamed-files-alist
|
|
|
|
'(("nt.c" . "w32.c") ("nt.h" . "w32.h")
|
|
|
|
("ntheap.c" . "w32heap.c") ("ntheap.h" . "w32heap.h")
|
|
|
|
("ntinevt.c" . "w32inevt.c") ("ntinevt.h" . "w32inevt.h")
|
|
|
|
("ntproc.c" . "w32proc.c")
|
|
|
|
("w32console.c" . "w32term.c")
|
|
|
|
("unexnt.c" . "unexw32.c")
|
|
|
|
("s/windowsnt.h" . "s/ms-w32.h")
|
2009-01-11 03:03:21 +00:00
|
|
|
("winnt.el" . "w32-fns.el")
|
2003-01-29 00:13:11 +00:00
|
|
|
("config.emacs" . "configure")
|
2009-01-11 03:03:21 +00:00
|
|
|
("config.h.dist" . "config.in")
|
|
|
|
("config.h-dist" . "config.in")
|
|
|
|
("config.h.in" . "config.in")
|
2008-12-19 03:16:14 +00:00
|
|
|
("paths.h-dist" . "paths.h.in")
|
|
|
|
("patch1" . "sed1.inp")
|
2003-01-29 00:13:11 +00:00
|
|
|
("GETTING.GNU.SOFTWARE" . "FTP")
|
2008-12-19 03:16:14 +00:00
|
|
|
("etc/MACHINES" . "MACHINES")
|
|
|
|
("ONEWS" . "NEWS.19")
|
|
|
|
("ONEWS.1" . "NEWS.1-17")
|
|
|
|
("ONEWS.2" . "NEWS.1-17")
|
|
|
|
("ONEWS.3" . "NEWS.18")
|
|
|
|
("ONEWS.4" . "NEWS.18")
|
|
|
|
("ORDERS.USA" . "ORDERS")
|
|
|
|
("EUROPE" . "ORDERS")
|
|
|
|
("DIFF" . "OTHER.EMACSES")
|
|
|
|
("CCADIFF" . "OTHER.EMACSES")
|
|
|
|
("GOSDIFF" . "OTHER.EMACSES")
|
|
|
|
("Makefile.in.in" . "Makefile.in")
|
2005-04-08 11:54:57 +00:00
|
|
|
("leim-Makefile" . "leim/Makefile")
|
|
|
|
("leim-Makefile.in" . "leim/Makefile.in")
|
2006-12-27 21:31:10 +00:00
|
|
|
("emacs-lisp/testcover-ses.el" . "tcover-ses.el")
|
|
|
|
("emacs-lisp/testcover-unsafep.el" . "tcover-unsafep.el")
|
2005-04-08 11:54:57 +00:00
|
|
|
("INSTALL-CVS" . "INSTALL.CVS")
|
2008-12-19 03:16:14 +00:00
|
|
|
("refcards/fr-drdref.pdf" . "refcards/fr-dired-ref.pdf")
|
|
|
|
("gnus-logo.eps" . "refcards/gnus-logo.eps")
|
|
|
|
("build-install" . "build-ins.in")
|
|
|
|
("build-install.in" . "build-ins.in")
|
|
|
|
("unidata/Makefile" . "unidata/Makefile.in")
|
|
|
|
;; Not renamed, but we only have the latter in the Emacs repo.
|
|
|
|
("trampver.texi.in" . "trampver.texi")
|
|
|
|
("e/eterm" . "e/eterm-color")
|
|
|
|
("e/eterm.ti" . "e/eterm-color.ti")
|
|
|
|
("README.txt" . "README")
|
|
|
|
("emacs.names" . "JOKES")
|
|
|
|
("ED.WORSHIP" . "JOKES")
|
|
|
|
("GNU.JOKES" . "JOKES")
|
|
|
|
("CHARACTERS" . "TODO")
|
|
|
|
("schema/xhtml-basic-form.rnc" . "schema/xhtml-bform.rnc" )
|
|
|
|
("schema/xhtml-basic-table.rnc" . "schema/xhtml-btable.rnc")
|
|
|
|
("schema/xhtml-list.rnc" . "schema/xhtml-lst.rnc")
|
|
|
|
("schema/xhtml-target.rnc" . "schema/xhtml-tgt.rnc")
|
|
|
|
("schema/xhtml-style.rnc" . "schema/xhtml-xstyle.rnc")
|
|
|
|
("schema/docbook-dyntbl.rnc" . "schema/docbk-dyntbl.rnc")
|
|
|
|
("schema/docbook-soextbl.rnc" . "schema/docbk-soextbl.rn" )
|
|
|
|
("texi/url.txi" . "url.texi")
|
|
|
|
;; Moved to different directories.
|
|
|
|
("ctags.1" . "ctags.1")
|
|
|
|
("etags.1" . "etags.1")
|
|
|
|
("emacs.1" . "emacs.1")
|
|
|
|
("emacsclient.1" . "emacsclient.1")
|
|
|
|
("icons/emacs21.ico" . "emacs21.ico")
|
2003-01-29 00:13:11 +00:00
|
|
|
)
|
|
|
|
"Alist of files which have been renamed during their lifetime.
|
|
|
|
Elements are (OLDNAME . NEWNAME).")
|
|
|
|
|
|
|
|
(defconst authors-renamed-files-regexps
|
|
|
|
'(("^m/m-\\(.*\\.h\\)$" . "m/\\1")
|
|
|
|
("^m-\\(.*\\.h\\)$" . "\\1")
|
|
|
|
("^s/s-\\(.*\\.h\\)$" . "s/\\1")
|
|
|
|
("^s-\\(.*\\.h\\)$" . "\\1")
|
|
|
|
("^s/[-.a-zA-Z0-9_]+\\.h$" . t)
|
|
|
|
("\\(.*\\)\\.cmd$" . "\\1.bat")
|
|
|
|
("\\.bat$" . t)
|
|
|
|
("\\.[ch]$" . t)
|
|
|
|
("\\.el$" . t)
|
|
|
|
("\\.ps$" . t)
|
|
|
|
("\\.texi?$" . t)
|
|
|
|
("\\.texinfo$" . t)
|
|
|
|
("\\.xml?$" . t)
|
|
|
|
("\\.x[pb]m$" . t)
|
|
|
|
("\\.[xp]bm$" . t)
|
|
|
|
("^paths\\." . t)
|
|
|
|
("^install\\." . t)
|
2008-12-19 03:16:14 +00:00
|
|
|
("^\\(TUTORIAL[^/]*\\)" . "tutorials/\\1")
|
|
|
|
("^\\(tree-widget/\\(?:default\\|folder\\)/[-a-z]+\\.png\\)$" .
|
|
|
|
"images/\\1")
|
|
|
|
("^\\(images/icons/\\)mac\\(emacs\\)_\\([0-9]+\\)\\(\\.png\\)" .
|
|
|
|
"\\1\\2\\3_mac\\4")
|
|
|
|
("\\(images/icons/\\)emacs_\\([0-9][0-9]\\)\\.png" .
|
|
|
|
"\\1hicolor/\\2x\\2/apps/emacs.png")
|
2003-01-29 00:13:11 +00:00
|
|
|
)
|
|
|
|
"List regexps and rewriting rules for renamed files.
|
|
|
|
Elements are (REGEXP . REPLACE). If REPLACE is a string, the file
|
|
|
|
name matching REGEXP is replaced by REPLACE using `replace-string'.
|
|
|
|
Otherwise, the file name is accepted as is.")
|
|
|
|
|
|
|
|
(defvar authors-checked-files-alist)
|
|
|
|
(defvar authors-invalid-file-names)
|
|
|
|
|
|
|
|
(defun authors-canonical-file-name (file log-file pos author)
|
|
|
|
"Return canonical file name for FILE found in LOG-FILE at POS for AUTHOR.
|
|
|
|
Checks whether FILE is a valid (existing) file name, has been renamed,
|
|
|
|
or is on the list of removed files. Returns the non-diretory part of
|
|
|
|
the file name."
|
2009-01-11 03:03:21 +00:00
|
|
|
;; FILE should be re-checked in every different directory associated
|
|
|
|
;; with a LOG-FILE. Eg configure.in from src/ChangeLog is not the
|
|
|
|
;; same as that from top-level/ChangeLog.
|
|
|
|
(let* ((fullname (expand-file-name file (file-name-directory log-file)))
|
|
|
|
(entry (assoc fullname authors-checked-files-alist))
|
|
|
|
relname
|
|
|
|
valid)
|
2003-01-29 00:13:11 +00:00
|
|
|
(if entry
|
|
|
|
(cdr entry)
|
|
|
|
(setq relname (file-name-nondirectory file))
|
|
|
|
(if (or (member relname authors-valid-file-names)
|
|
|
|
(file-exists-p file)
|
|
|
|
(file-exists-p relname)
|
|
|
|
(file-exists-p (concat "etc/" relname)))
|
|
|
|
(setq valid relname)
|
|
|
|
(setq valid (assoc file authors-renamed-files-alist))
|
|
|
|
(if valid
|
|
|
|
(setq valid (cdr valid))
|
|
|
|
(let ((rules authors-renamed-files-regexps))
|
|
|
|
(while rules
|
|
|
|
(if (string-match (car (car rules)) file)
|
|
|
|
(setq valid (if (stringp (cdr (car rules)))
|
|
|
|
(file-name-nondirectory
|
|
|
|
(replace-match (cdr (car rules)) t nil file))
|
|
|
|
relname)
|
|
|
|
rules nil))
|
|
|
|
(setq rules (cdr rules))))))
|
|
|
|
(setq authors-checked-files-alist
|
2009-01-11 03:03:21 +00:00
|
|
|
(cons (cons fullname valid) authors-checked-files-alist))
|
2006-06-04 22:01:24 +00:00
|
|
|
(unless (or valid
|
2008-12-19 03:16:14 +00:00
|
|
|
(member file authors-ignored-files)
|
2006-06-04 22:01:24 +00:00
|
|
|
(string-match "[*]" file)
|
|
|
|
(string-match "^[0-9.]+$" file))
|
2003-02-04 13:24:35 +00:00
|
|
|
(setq authors-invalid-file-names
|
2003-01-29 00:13:11 +00:00
|
|
|
(cons (format "%s:%d: unrecognized `%s' for %s"
|
|
|
|
log-file
|
|
|
|
(1+ (count-lines (point-min) pos))
|
|
|
|
file author)
|
|
|
|
authors-invalid-file-names)))
|
|
|
|
valid)))
|
|
|
|
|
2000-10-25 19:01:38 +00:00
|
|
|
(defun authors-add-fixed-entries (table)
|
|
|
|
"Add actions from `authors-fixed-entries' to TABLE."
|
|
|
|
(dolist (entry authors-fixed-entries)
|
|
|
|
(let ((author (car entry))
|
|
|
|
action)
|
|
|
|
(dolist (item (cdr entry))
|
|
|
|
(if (symbolp item)
|
|
|
|
(setq action item)
|
|
|
|
(authors-add author item action table))))))
|
|
|
|
|
2002-07-10 11:07:28 +00:00
|
|
|
|
2000-09-30 12:06:40 +00:00
|
|
|
(defun authors-obsolete-file-p (file)
|
|
|
|
"Return non-nil if FILE is obsolete.
|
2002-07-10 11:07:28 +00:00
|
|
|
FILE is considered obsolete if it matches one of the regular expressions
|
2000-09-30 12:06:40 +00:00
|
|
|
from `authors-obsolete-files-regexps'."
|
|
|
|
(let (obsolete-p
|
|
|
|
(regexps authors-obsolete-files-regexps))
|
|
|
|
(while (and regexps (not obsolete-p))
|
|
|
|
(setq obsolete-p (string-match (car regexps) file)
|
|
|
|
regexps (cdr regexps)))
|
|
|
|
obsolete-p))
|
|
|
|
|
|
|
|
|
2000-08-14 21:33:50 +00:00
|
|
|
(defun authors-add (author file action table)
|
|
|
|
"Record that AUTHOR worked on FILE.
|
|
|
|
ACTION is a keyword symbol describing what he did. Record file,
|
|
|
|
author and what he did in hash table TABLE. See the description of
|
|
|
|
`authors-scan-change-log' for the structure of the hash table."
|
2005-04-08 11:54:57 +00:00
|
|
|
(unless (or (member file authors-ignored-files)
|
|
|
|
(authors-obsolete-file-p file)
|
2000-10-16 12:52:19 +00:00
|
|
|
(equal author ""))
|
2000-09-30 12:06:40 +00:00
|
|
|
(let* ((value (gethash author table))
|
2003-01-29 00:13:11 +00:00
|
|
|
(entry (assoc file value))
|
|
|
|
slot)
|
2000-09-30 12:06:40 +00:00
|
|
|
(if (null entry)
|
2003-01-29 00:13:11 +00:00
|
|
|
(puthash author (cons (list file (cons action 1)) value) table)
|
|
|
|
(if (setq slot (assoc action (cdr entry)))
|
|
|
|
(setcdr slot (1+ (cdr slot)))
|
|
|
|
(nconc entry (list (cons action 1))))))))
|
2000-08-14 21:33:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
(defun authors-canonical-author-name (author)
|
|
|
|
"Return a canonicalized form of AUTHOR, an author name.
|
2008-12-19 03:16:14 +00:00
|
|
|
If AUTHOR has an entry in `authors-aliases', use that. Remove
|
|
|
|
email addresses. Capitalize words in the author's name, unless
|
|
|
|
it is found in `authors-fixed-case'."
|
2003-01-29 00:13:11 +00:00
|
|
|
(let* ((aliases authors-aliases)
|
|
|
|
regexps realname)
|
2000-08-14 21:33:50 +00:00
|
|
|
(while aliases
|
2003-01-29 00:13:11 +00:00
|
|
|
(setq realname (car (car aliases))
|
|
|
|
regexps (cdr (car aliases))
|
|
|
|
aliases (cdr aliases))
|
|
|
|
(while regexps
|
|
|
|
(if (string-match (car regexps) author)
|
|
|
|
(setq author realname
|
|
|
|
regexps nil
|
|
|
|
aliases nil)
|
|
|
|
(setq regexps (cdr regexps))))))
|
|
|
|
(when author
|
|
|
|
(setq author (replace-regexp-in-string "[ \t]*[(<].*$" "" author))
|
2004-09-07 21:16:48 +00:00
|
|
|
(setq author (replace-regexp-in-string "\`[ \t]+" "" author))
|
2003-01-29 00:13:11 +00:00
|
|
|
(setq author (replace-regexp-in-string "[ \t]+$" "" author))
|
2004-09-07 21:16:48 +00:00
|
|
|
(setq author (replace-regexp-in-string "[ \t]+" " " author))
|
|
|
|
(unless (string-match "[-, \t]" author)
|
|
|
|
(setq author ""))
|
2008-12-19 03:16:14 +00:00
|
|
|
(or (car (member author authors-fixed-case))
|
|
|
|
(capitalize author))))
|
2003-01-29 00:13:11 +00:00
|
|
|
|
|
|
|
(defun authors-scan-change-log (log-file table)
|
|
|
|
"Scan change log LOG-FILE for author information.
|
2000-08-14 21:33:50 +00:00
|
|
|
|
|
|
|
For each change mentioned in the log, add an entry to hash table TABLE
|
|
|
|
under the author's canonical name.
|
|
|
|
|
|
|
|
Keys of TABLE are author names. Values are alists of entries (FILE
|
2003-01-29 00:13:11 +00:00
|
|
|
\(ACTION . COUNT) ...). FILE is one file the author worked on. The
|
|
|
|
rest of the entry is a list of keyword symbols describing what he did
|
|
|
|
with the file and the number of each action.
|
2000-08-14 21:33:50 +00:00
|
|
|
|
|
|
|
:wrote means the author wrote the file
|
2003-01-29 00:13:11 +00:00
|
|
|
:changed means he changed the file COUNT times."
|
2002-07-10 11:07:28 +00:00
|
|
|
|
2007-11-01 07:08:24 +00:00
|
|
|
(let* ((enable-local-variables :safe)
|
|
|
|
(enable-local-eval nil)
|
2003-01-29 00:13:11 +00:00
|
|
|
(existing-buffer (get-file-buffer log-file))
|
|
|
|
(buffer (find-file-noselect log-file))
|
|
|
|
author file pos)
|
2000-08-14 21:33:50 +00:00
|
|
|
(save-excursion
|
|
|
|
(set-buffer buffer)
|
|
|
|
(save-restriction
|
|
|
|
(widen)
|
|
|
|
(goto-char (point-min))
|
|
|
|
(while (re-search-forward "^[0-9]\\|^[ \t]+\\* " nil t)
|
|
|
|
(beginning-of-line)
|
2003-01-29 00:13:11 +00:00
|
|
|
(setq pos (point))
|
2009-01-11 03:03:21 +00:00
|
|
|
;; FIXME handle joint authorship.
|
2000-08-14 21:33:50 +00:00
|
|
|
(cond ((looking-at "^[0-9]+-[0-9]+-[0-9]+")
|
|
|
|
(skip-chars-forward " \t+:0-9-")
|
|
|
|
(setq author (buffer-substring-no-properties
|
|
|
|
(point) (line-end-position)))
|
|
|
|
(setq author (authors-canonical-author-name author))
|
|
|
|
(forward-line 1))
|
|
|
|
((looking-at "^[ \t]+\\*")
|
|
|
|
(let ((line (buffer-substring-no-properties
|
|
|
|
(match-end 0) (line-end-position))))
|
|
|
|
(while (and (not (string-match ":" line))
|
|
|
|
(forward-line 1)
|
|
|
|
(not (looking-at ":\\|^[ \t]*$")))
|
|
|
|
(setq line (concat line
|
|
|
|
(buffer-substring-no-properties
|
|
|
|
(line-beginning-position)
|
|
|
|
(line-end-position)))))
|
|
|
|
(when (string-match ":" line)
|
|
|
|
(setq line (substring line 0 (match-beginning 0)))
|
|
|
|
(setq line (replace-regexp-in-string "[[(<{].*$" "" line))
|
|
|
|
(setq line (replace-regexp-in-string "," "" line))
|
|
|
|
(dolist (file (split-string line))
|
2003-01-29 00:13:11 +00:00
|
|
|
(when (setq file (authors-canonical-file-name file log-file pos author))
|
|
|
|
;;(message "%s changed %s" author file)
|
|
|
|
(authors-add author file :changed table))))
|
2000-08-14 21:33:50 +00:00
|
|
|
(forward-line 1)))))))
|
|
|
|
(unless existing-buffer
|
|
|
|
(kill-buffer buffer))))
|
|
|
|
|
|
|
|
|
|
|
|
(defun authors-scan-el (file table)
|
|
|
|
"Scan Lisp file FILE for author information.
|
|
|
|
TABLE is a hash table to add author information to."
|
2009-01-11 03:03:21 +00:00
|
|
|
(let ((existing-buffer (get-file-buffer file))
|
|
|
|
(enable-local-variables :safe)
|
|
|
|
(enable-local-eval nil)
|
|
|
|
(buffer (find-file-noselect file)))
|
|
|
|
(setq file (file-name-nondirectory file))
|
2000-08-14 21:33:50 +00:00
|
|
|
(save-excursion
|
|
|
|
(set-buffer buffer)
|
|
|
|
(save-restriction
|
|
|
|
(widen)
|
|
|
|
(goto-char (point-min))
|
|
|
|
(while (and (re-search-forward
|
2009-01-11 03:03:21 +00:00
|
|
|
"^;+[ \t]*\\(Authors?\\|Commentary\\|Code\\):[ \t]*" nil t)
|
|
|
|
(not (member (match-string 1) '("Commentary" "Code"))))
|
|
|
|
(let ((continue t)
|
|
|
|
(action :wrote)
|
|
|
|
authors)
|
|
|
|
(while continue
|
|
|
|
;; Some entries contain a year range in front of the
|
|
|
|
;; author's name.
|
|
|
|
(skip-chars-forward "-0-9 \t")
|
|
|
|
(push (authors-canonical-author-name
|
|
|
|
(buffer-substring-no-properties
|
|
|
|
(point) (line-end-position))) authors)
|
|
|
|
;; tips.texi says the continuation line should begin
|
|
|
|
;; with a tab, but often spaces are used.
|
|
|
|
(setq continue
|
|
|
|
(and (zerop (forward-line 1))
|
|
|
|
(looking-at ";;;?\\(\t+ *\\| +\\)[[:alnum:]]")
|
|
|
|
(goto-char (1- (match-end 0)))
|
|
|
|
(not (looking-at "[[:upper:]][-[:alpha:]]+:[ \t]")))))
|
|
|
|
(and (> (length authors) 1)
|
|
|
|
(setq action :cowrote))
|
|
|
|
(mapc (lambda (author)
|
|
|
|
(authors-add author file action table))
|
|
|
|
authors)))))
|
2000-08-14 21:33:50 +00:00
|
|
|
(unless existing-buffer
|
|
|
|
(kill-buffer buffer))))
|
|
|
|
|
|
|
|
|
2000-11-02 15:37:03 +00:00
|
|
|
(defun authors-public-domain-p (file)
|
|
|
|
"Return t if FILE is a file that was put in public domain."
|
|
|
|
(let ((public-domain-p nil)
|
|
|
|
(list authors-public-domain-files))
|
|
|
|
(while (and list (not public-domain-p))
|
|
|
|
(when (string-match (car list) file)
|
|
|
|
(setq public-domain-p t))
|
|
|
|
(setq list (cdr list)))
|
|
|
|
public-domain-p))
|
|
|
|
|
2003-01-29 00:13:11 +00:00
|
|
|
(defvar authors-author-list)
|
|
|
|
|
|
|
|
(defun authors-add-to-author-list (author changes)
|
|
|
|
"Insert information about AUTHOR's work on Emacs into `authors-author-list'.
|
|
|
|
CHANGES is an alist of entries (FILE (ACTION . COUNT) ...), as produced by
|
|
|
|
`authors-scan-change-log'.
|
2009-01-11 03:03:21 +00:00
|
|
|
The element added to `authors-author-list' is (AUTHOR WROTE CO-WROTE CHANGED),
|
|
|
|
where WROTE, CO-WROTE, and CHANGED are lists of the files written, co-written
|
|
|
|
and changed by AUTHOR."
|
2003-01-29 00:13:11 +00:00
|
|
|
(when author
|
|
|
|
(let ((nchanged 0)
|
|
|
|
wrote-list
|
2009-01-11 03:03:21 +00:00
|
|
|
cowrote-list
|
2003-01-29 00:13:11 +00:00
|
|
|
changed-list)
|
2000-08-14 21:33:50 +00:00
|
|
|
(dolist (change changes)
|
2009-01-11 03:03:21 +00:00
|
|
|
(let* ((actions (cdr change))
|
|
|
|
(file (car change))
|
|
|
|
(filestat (if (authors-public-domain-p file)
|
|
|
|
(concat file " (public domain)")
|
|
|
|
file))
|
|
|
|
slot)
|
|
|
|
(cond ((assq :wrote actions)
|
|
|
|
(setq wrote-list (cons filestat wrote-list)))
|
|
|
|
((assq :cowrote actions)
|
|
|
|
(setq cowrote-list (cons filestat cowrote-list)))
|
|
|
|
(t
|
|
|
|
(setq changed-list
|
|
|
|
(cons (cons file (cdr (assq :changed actions)))
|
|
|
|
changed-list))))))
|
2003-01-29 00:13:11 +00:00
|
|
|
(if wrote-list
|
|
|
|
(setq wrote-list (sort wrote-list 'string-lessp)))
|
2009-01-11 03:03:21 +00:00
|
|
|
(if cowrote-list
|
|
|
|
(setq cowrote-list (sort cowrote-list 'string-lessp)))
|
2003-01-29 00:13:11 +00:00
|
|
|
(when changed-list
|
|
|
|
(setq changed-list (sort changed-list
|
|
|
|
(lambda (a b)
|
|
|
|
(if (= (cdr a) (cdr b))
|
|
|
|
(string-lessp (car a) (car b))
|
|
|
|
(> (cdr a) (cdr b))))))
|
|
|
|
(setq nchanged (length changed-list))
|
|
|
|
(setq changed-list (mapcar 'car changed-list)))
|
|
|
|
(if (> (- nchanged authors-many-files) 2)
|
|
|
|
(setcdr (nthcdr authors-many-files changed-list)
|
|
|
|
(list (format "and %d other files" (- nchanged authors-many-files)))))
|
|
|
|
(setq authors-author-list
|
2009-01-11 03:03:21 +00:00
|
|
|
(cons (list author wrote-list cowrote-list changed-list)
|
2003-01-29 00:13:11 +00:00
|
|
|
authors-author-list)))))
|
2000-08-14 21:33:50 +00:00
|
|
|
|
|
|
|
(defun authors (root)
|
|
|
|
"Extract author information from change logs and Lisp source files.
|
|
|
|
ROOT is the root directory under which to find the files. If called
|
2003-02-04 13:24:35 +00:00
|
|
|
interactively, ROOT is read from the minibuffer.
|
2003-01-29 00:13:11 +00:00
|
|
|
Result is a buffer *Authors* containing authorship information, and a
|
|
|
|
buffer *Authors Errors* containing references to unknown files."
|
2000-08-14 21:33:50 +00:00
|
|
|
(interactive "DEmacs source directory: ")
|
2001-02-09 15:12:08 +00:00
|
|
|
(setq root (expand-file-name root))
|
2008-01-30 21:43:55 +00:00
|
|
|
(let ((logs (process-lines find-program root "-name" "ChangeLog*"))
|
2000-08-14 21:33:50 +00:00
|
|
|
(table (make-hash-table :test 'equal))
|
2003-01-29 00:13:11 +00:00
|
|
|
(buffer-name "*Authors*")
|
|
|
|
authors-checked-files-alist
|
|
|
|
authors-invalid-file-names)
|
2007-09-30 22:53:08 +00:00
|
|
|
(authors-add-fixed-entries table)
|
|
|
|
(unless (file-exists-p (expand-file-name "src/emacs.c" root))
|
2009-01-03 19:43:54 +00:00
|
|
|
(unless (y-or-n-p
|
|
|
|
(format "Not the root directory of Emacs: %s, continue? " root))
|
|
|
|
(error "Not the root directory.")))
|
2000-08-14 21:33:50 +00:00
|
|
|
(dolist (log logs)
|
2005-05-17 15:05:02 +00:00
|
|
|
(when (string-match "ChangeLog\\(.[0-9]+\\)?$" log)
|
2000-08-14 21:33:50 +00:00
|
|
|
(message "Scanning %s..." log)
|
|
|
|
(authors-scan-change-log log table)))
|
2008-01-30 21:43:55 +00:00
|
|
|
(let ((els (process-lines find-program root "-name" "*.el")))
|
2000-08-14 21:33:50 +00:00
|
|
|
(dolist (file els)
|
|
|
|
(message "Scanning %s..." file)
|
|
|
|
(authors-scan-el file table)))
|
2003-01-29 00:13:11 +00:00
|
|
|
(message "Generating buffer %s..." buffer-name)
|
2000-08-14 21:33:50 +00:00
|
|
|
(set-buffer (get-buffer-create buffer-name))
|
|
|
|
(erase-buffer)
|
2003-01-29 00:13:11 +00:00
|
|
|
(set-buffer-file-coding-system authors-coding-system)
|
2003-02-04 13:24:35 +00:00
|
|
|
(insert
|
2003-01-29 00:13:11 +00:00
|
|
|
"Many people have contributed code included in the Free Software
|
|
|
|
Foundation's distribution of GNU Emacs. To show our appreciation for
|
|
|
|
their public spirit, we list here in alphabetical order a condensed
|
|
|
|
list of their contributions.\n")
|
|
|
|
(let (authors-author-list a)
|
|
|
|
(maphash #'authors-add-to-author-list table)
|
2003-02-04 13:24:35 +00:00
|
|
|
(setq authors-author-list
|
2003-01-29 00:13:11 +00:00
|
|
|
(sort authors-author-list
|
|
|
|
(lambda (a b) (string-lessp (car a) (car b)))))
|
|
|
|
(dolist (a authors-author-list)
|
|
|
|
(let ((author (car a))
|
|
|
|
(wrote (nth 1 a))
|
2009-01-11 03:03:21 +00:00
|
|
|
(cowrote (nth 2 a))
|
|
|
|
(changed (nth 3 a))
|
2003-01-29 00:13:11 +00:00
|
|
|
file)
|
|
|
|
(insert "\n" author ": ")
|
|
|
|
(when wrote
|
|
|
|
(insert "wrote")
|
|
|
|
(dolist (file wrote)
|
|
|
|
(if (> (+ (current-column) (length file)) 72)
|
|
|
|
(insert "\n "))
|
|
|
|
(insert " " file))
|
|
|
|
(insert "\n"))
|
2009-01-11 03:03:21 +00:00
|
|
|
(when cowrote
|
2003-01-29 00:13:11 +00:00
|
|
|
(if wrote
|
|
|
|
(insert "and "))
|
2009-01-11 03:03:21 +00:00
|
|
|
(insert "co-wrote")
|
|
|
|
(dolist (file cowrote)
|
|
|
|
(if (> (+ (current-column) (length file)) 72)
|
|
|
|
(insert "\n "))
|
|
|
|
(insert " " file))
|
|
|
|
(insert "\n"))
|
|
|
|
(when changed
|
|
|
|
(if (or wrote cowrote)
|
|
|
|
(insert "and "))
|
2003-01-29 00:13:11 +00:00
|
|
|
(insert "changed")
|
|
|
|
(dolist (file changed)
|
|
|
|
(if (> (+ (current-column) (length file)) 72)
|
|
|
|
(insert "\n "))
|
|
|
|
(insert " " file))
|
|
|
|
(insert "\n")))))
|
2003-02-04 13:24:35 +00:00
|
|
|
(insert "\nLocal" " Variables:\ncoding: "
|
2003-01-29 00:13:11 +00:00
|
|
|
(symbol-name authors-coding-system) "\nEnd:\n")
|
|
|
|
(message "Generating buffer %s... done" buffer-name)
|
2000-10-25 19:01:38 +00:00
|
|
|
(unless noninteractive
|
2003-01-29 00:13:11 +00:00
|
|
|
(when authors-invalid-file-names
|
|
|
|
(with-current-buffer (get-buffer-create "*Authors Errors*")
|
2008-12-19 03:16:14 +00:00
|
|
|
(setq buffer-read-only nil)
|
2003-01-29 00:13:11 +00:00
|
|
|
(erase-buffer)
|
|
|
|
(set-buffer-file-coding-system authors-coding-system)
|
|
|
|
(insert "Unrecognized file entries found:\n\n")
|
2007-09-26 00:10:48 +00:00
|
|
|
(mapc (lambda (f) (if (not (string-match "^[A-Za-z]+$" f)) (insert f "\n")))
|
|
|
|
(sort authors-invalid-file-names 'string-lessp))
|
2003-01-29 00:13:11 +00:00
|
|
|
(goto-char (point-min))
|
|
|
|
(compilation-mode)
|
|
|
|
(message "Errors were found. See buffer %s" (buffer-name))))
|
2000-10-25 19:01:38 +00:00
|
|
|
(pop-to-buffer buffer-name))))
|
|
|
|
|
|
|
|
|
|
|
|
(defun batch-update-authors ()
|
|
|
|
"Produce an AUTHORS file.
|
|
|
|
Call this function in batch mode with two command line arguments FILE
|
|
|
|
and ROOT. FILE is the file to write, ROOT is the root directory of
|
|
|
|
the Emacs source tree, from which to build the file."
|
|
|
|
(unless noninteractive
|
|
|
|
(error "`batch-update-authors' is to be used only with -batch"))
|
|
|
|
(when (/= (length command-line-args-left) 2)
|
|
|
|
(error "Call `batch-update-authors' with the name of the file to write"))
|
|
|
|
(let* ((file (pop command-line-args-left))
|
|
|
|
(root (pop command-line-args-left)))
|
|
|
|
(authors root)
|
|
|
|
(write-file file)))
|
2000-08-14 21:33:50 +00:00
|
|
|
|
2007-04-05 06:16:18 +00:00
|
|
|
(provide 'authors)
|
|
|
|
|
2008-04-10 14:10:46 +00:00
|
|
|
;; arch-tag: 659d5900-5ff2-43b0-954c-a315cc1e4dc1
|
2001-07-15 16:15:35 +00:00
|
|
|
;;; authors.el ends here
|