1 ;;; authors.el --- utility for maintaining Emacs's AUTHORS file -*-coding: utf-8 -*-
3 ;; Copyright (C) 2000-2015 Free Software Foundation, Inc.
5 ;; Author: Gerd Moellmann <gerd@gnu.org>
6 ;; Maintainer: Kim F. Storm <storm@cua.dk>
10 ;; This file is part of GNU Emacs.
12 ;; GNU Emacs is free software: you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation, either version 3 of the License, or
15 ;; (at your option) any later version.
17 ;; GNU Emacs is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;; GNU General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
27 ;; Use M-x authors RET to create an *Authors* buffer that can used as
28 ;; or merged with Emacs's AUTHORS file.
32 (defvar authors-coding-system
'utf-8
33 "Coding system used in the AUTHORS file.")
35 (defconst authors-many-files
20
36 "Maximum number of files for which to print individual information.
37 If an author has modified more files, only the names of the most
38 frequently modified files are printed and a count of the additional
41 (defconst authors-aliases
43 ("Aaron S. Hawley" "Aaron Hawley")
44 ("Alexandru Harsanyi" "Alex Harsanyi")
45 ("Andrew Csillag" "Drew Csillag")
46 ("Anna M. Bigatti" "Anna Bigatti")
47 ("Barry A. Warsaw" "Barry A. Warsaw, Century Computing, Inc."
48 "Barry A. Warsaw, ITB" "Barry Warsaw")
49 ("Bill Carpenter" "WJ Carpenter")
50 ("Bill Mann" "William F. Mann")
51 ("Bill Rozas" "Guillermo J. Rozas")
52 ("Björn Torkelsson" "Bjorn Torkelsson")
53 ("Brian Fox" "Brian J. Fox")
54 ("Brian P Templeton" "BT Templeton")
55 ("Brian Sniffen" "Brian T. Sniffen")
56 ("David Abrahams" "Dave Abrahams")
57 ("David J. Biesack" "David Biesack")
58 ("David De La Harpe Golden" "David Golden")
59 ("David Gillespie" "Dave Gillespie")
60 ("David Kågedal" "David K..edal")
61 ("David M. Koppelman" "David Koppelman")
62 ("David M. Smith" "David Smith" "David M Smith")
63 ("David O'Toole" "David T. O'Toole")
64 ("Deepak Goel" "D. Goel")
65 ("Ed L. Cashin" "Ed L Cashin")
66 ("Edward M. Reingold" "Ed\\(ward\\( M\\)?\\)? Reingold" "Reingold Edward M")
67 ("Emilio C. Lopes" "Emilio Lopes")
68 ("Eric M. Ludlam" "Eric Ludlam")
69 ("Eric S. Raymond" "Eric Raymond")
70 ("Fabián Ezequiel Gallina" "Fabian Ezequiel Gallina" "Fabi.n E\\. Gallina")
71 ("Francis J. Wright" "Dr Francis J. Wright" "Francis Wright")
72 ("François Pinard" "Francois Pinard")
73 ("Francesco Potortì" "Francesco Potorti" "Francesco Potorti`")
74 ("Frederic Pierresteguy" "Fred Pierresteguy")
75 ("Gerd Möllmann" "Gerd Moellmann")
76 ("Hallvard B. Furuseth" "Hallvard B Furuseth" "Hallvard Furuseth")
77 ("Hrvoje Nikšić" "Hrvoje Niksic")
78 ;; lisp/org/ChangeLog 2010-11-11.
80 (nil "Code Extracted") ; lisp/newcomment.el's "Author:" header
81 ("Jaeyoun Chung" "Jae-youn Chung" "Jae-you Chung" "Chung Jae-youn")
82 ("Jan Djärv" "Jan D." "Jan Djarv")
83 ("Jay K. Adams" "Jay Adams")
84 ("Jérôme Marant" "Jérôme Marant" "Jerome Marant")
85 ("Jens-Ulrik Holger Petersen" "Jens-Ulrik Petersen")
86 ("Jeremy Bertram Maitin-Shepard" "Jeremy Maitin-Shepard")
87 ("Johan Bockgård" "Johan Bockgard")
88 ("John J Foerch" "John Foerch")
89 ("John W. Eaton" "John Eaton")
90 ("Jonathan I. Kamens" "Jonathan Kamens")
91 ("Jorgen Schäfer" "Jorgen Schaefer")
92 ("Joseph Arceneaux" "Joe Arceneaux")
93 ("Joseph M. Kelsey" "Joe Kelsey") ; FIXME ?
94 ("Juan León Lahoz García" "Juan-Leon Lahoz Garcia")
95 ("Jürgen Hötzel" "Juergen Hoetzel")
96 ("K. Shane Hartman" "Shane Hartman")
97 ("Kai Großjohann" "Kai Grossjohann")
98 ("Karl Berry" "K. Berry")
99 ("Károly Lőrentey" "Károly Lőrentey" "Lőrentey Károly")
100 ("Kazushi Marukawa" "Kazushi (Jam) Marukawa")
101 ("Ken Manheimer" "Kenneth Manheimer")
102 ("Kenichi Handa" "Ken'ichi Handa" "Kenichi HANDA" "K\\. Handa")
103 ("Kevin Greiner" "Kevin J. Greiner")
104 ("Kim F. Storm" "Kim Storm")
105 ("Kyle Jones" "Kyle E. Jones")
106 ("Lars Magne Ingebrigtsen" "Lars Ingebrigtsen")
107 ("Marcus G. Daniels" "Marcus Daniels")
108 ("Mark D. Baushke" "Mark D Baushke")
109 ("Mark E. Shoulson" "Mark Shoulson")
110 ("Marko Kohtala" "Kohtala Marko")
111 ("Agustín Martín" "Agustin Martin" "Agustín Martín Domingo")
112 ("Martin Lorentzon" "Martin Lorentzson")
113 ("Matt Swift" "Matthew Swift")
114 ("Maxime Edouard Robert Froumentin" "Max Froumentin")
115 ("Michael R. Mauger" "Michael Mauger")
116 ("Michael D. Ernst" "Michael Ernst")
117 ("Michaël Cadilhac" "Michael Cadilhac")
118 ("Michael I. Bushnell" "Michael I Bushnell" "Michael I. Bushnell, p/BSG")
119 ("Michael R. Cook" "Michael Cook")
120 ("Michael Sperber" "Michael Sperber \\[Mr. Preprocessor\\]")
121 ("Mikio Nakajima" "Nakajima Mikio")
122 ("Nelson Jose dos Santos Ferreira" "Nelson Ferreira")
123 ("Noorul Islam" "Noorul Islam K M")
124 ;;; ("Tetsurou Okazaki" "OKAZAKI Tetsurou") ; FIXME?
125 ("Paul Eggert" "Paul R\\. Eggert")
126 ("Pavel Janík" "Pavel Janík Ml." "Pavel Janik Ml." "Pavel Janik")
127 ("Pavel Kobiakov" "Pavel Kobyakov")
128 ("Per Abrahamsen" "Per Abhiddenware")
129 ("Per Starbäck" "Per Starback")
130 ("Peter J. Weisberg" "PJ Weisberg")
131 ("Peter S. Galbraith" "Peter S Galbraith" "Peter Galbraith")
132 ("Peter Runestig" "Peter 'luna' Runestig")
133 ("Piotr Zieliński" "Piotr Zielinski")
134 ("Rainer Schöpf" "Rainer Schoepf")
135 ("Raja R. Harinath" "Raja R Harinath")
136 ("Richard G. Bielawski" "Richard G Bielawski" "Richard Bielawski")
137 ("Richard King" "Dick King")
138 ("Richard M. Stallman" "Richard Stallman" "rms@gnu.org")
139 ("Robert J. Chassell" "Bob Chassell")
140 ("Roberto Huelga Díaz" "Roberto Huelga")
141 ("Roland B. Roberts" "Roland B Roberts" "Roland Roberts")
142 ("Rui-Tao Dong" "Rui-Tao Dong ~{6-HpLN~}")
143 ("Sacha Chua" "Sandra Jean Chua")
144 ("Sam Steingold" "Sam Shteingold")
145 ("Satyaki Das" "Indexed search by Satyaki Das")
146 ("Sébastien Vauban" "Sebastien Vauban")
147 ("Sergey Litvinov" "Litvinov Sergey")
148 ;; There are other Stefans.
149 ;;; ("Stefan Monnier" "Stefan")
150 ("Steven L. Baur" "SL Baur" "Steven L Baur")
151 ("Stewart M. Clamen" "Stewart Clamen")
152 ("Stuart D. Herring" "Stuart Herring" "Davis Herring")
153 ("T.V. Raman" "T\\. V\\. Raman")
154 ("Taichi Kawabata" "KAWABATA,? Taichi")
155 ("Takaaki Ota" "Tak Ota")
156 ("Takahashi Naoto" "Naoto Takahashi")
157 ("Teodor Zlatanov" "Ted Zlatanov")
158 ("Thomas Dye" "Tom Dye")
159 ("Thomas Horsley" "Tom Horsley") ; FIXME ?
160 ("Thomas Wurgler" "Tom Wurgler")
161 ("Toby Cubitt" "Toby S\\. Cubitt")
162 ("Tomohiko Morioka" "MORIOKA Tomohiko")
163 ("Torbjörn Axelsson" "Torbjvrn Axelsson")
164 ("Torbjörn Einarsson" "Torbj.*rn Einarsson")
165 ("Toru Tomabechi" "Toru TOMABECHI")
166 ("Tsugutomo Enami" "enami tsugutomo")
167 ("Ulrich Müller" "Ulrich Mueller")
168 ("Vincent Del Vecchio" "Vince Del Vecchio")
169 ("William M. Perry" "Bill Perry")
170 ("Wlodzimierz Bzyl" "W.*dek Bzyl")
171 ("Yoni Rabkin" "Yoni Rabkin Katzenell")
172 ("Yoshinori Koseki" "KOSEKI Yoshinori" "小関 吉則")
173 ("Yutaka NIIBE" "NIIBE Yutaka")
175 "Alist of author aliases.
177 Each entry is of the form (REALNAME REGEXP...). If an author's name
178 matches one of the REGEXPs, use REALNAME instead.
179 If REALNAME is nil, ignore that author.")
181 ;; FIXME seems it would be less fragile to check for O', Mc, etc.
182 (defconst authors-fixed-case
184 "Brian van den Broek"
186 "Christian von Roques"
187 "Christophe de Dinechin"
193 "Devon Sean McCullough"
194 "Dominique de Waleffe"
196 "Exal de Jesus Garcia Carrillo"
200 "Ivan Vilata i Balaguer"
209 "Nelson Jose dos Santos Ferreira"
214 "Santiago Payà i Miralta"
221 "List of authors whose names cannot be simply capitalized.")
223 (defvar authors-public-domain-files
238 "List of regexps matching files for which the FSF doesn't need papers.")
241 (defvar authors-obsolete-files-regexps
242 '(".*loaddefs.el$" ; not obsolete, but auto-generated
243 "\\.\\(bzr\\|cvs\\|git\\)ignore$" ; obsolete or uninteresting
245 "automated/data/" ; not interesting
246 ;; TODO lib/? Matches other things?
247 "build-aux/" "m4/" "Emacs.xcodeproj" "mapfiles" "\\.map\\'"
248 "preferences\\.\\(nib\\|gorm\\)"
249 ;; Generated files that have since been removed.
250 "\\(refcard\\(-de\\|-pl\\)?\\|calccard\\|dired-ref\\|orgcard\\|\
251 gnus-booklet\\|fr-drdref\\)\\.p\\(df\\|s\\)\\'")
252 "List of regexps matching obsolete files.
253 Changes to files matching one of the regexps in this list are not listed.")
255 (defconst authors-no-scan-regexps
258 "Lists of regexps matching files not to scan for authorship.")
260 (defconst authors-ignored-files
262 "lock" "share-lib" "local-lisp"
264 "NEWS" "ORDERS" "PROBLEMS" "FAQ" "AUTHORS" "FOR-RELEASE" "TODO" "todo"
266 "README.unicode" "README.multi-tty" "TUTORIAL.translators"
267 "NEWS.unicode" "COPYING.DJ" "Makefile.old" "Makefile.am"
268 "NEWS.1" "OOOOONEWS...OONEWS" "OOOONEWS" "etc/NEWS"
269 "NEWS.1-17" "NEWS.18" "NEWS.19" "NEWS.20" "NEWS.21" "NEWS.22"
270 "MAINTAINERS" "MH-E-NEWS"
271 "install.sh" "install-sh" "missing" "mkinstalldirs"
272 "termcap.dat" "termcap.src" "termcap.ucb" "termcap"
273 "ChangeLog.nextstep" "Emacs.clr" "spec.txt"
276 "Imakefile" "icons/sink.ico" "aixcc.lex"
277 "nxml/char-name/unicode"
279 "js2-mode.el" ; only installed very briefly, replaced by js.el
280 ;; In the old imported lisp/url ChangeLog, but never in Emacs.
282 ;; Only briefly present.
283 "tests/gnustest-nntp.el" "tests/gnustest-registry.el"
284 "cedet/tests/testtemplates.cpp"
285 "cedet/tests/testusing.cpp"
286 "cedet/tests/scopetest.cpp"
287 "cedet/tests/scopetest.java"
288 "cedet/tests/test.cpp"
289 "cedet/tests/test.py"
290 "cedet/tests/teststruct.cpp"
293 "cus-load.el" "finder-inf.el" "ldefs-boot.el" "loaddefs-boot.el"
294 "compile" "config.guess" "config.sub" "depcomp"
295 "autogen/compile" "autogen/config.guess" "autogen/config.in"
296 "autogen/config.sub" "autogen/depcomp" "autogen/install-sh"
297 "autogen/missing" "autogen"
298 "autogen/copy_autogen" ; not generated, but trivial and now removed
300 ;; Only existed briefly, then renamed:
301 "images/icons/allout-widgets-dark-bg"
302 "images/icons/allout-widgets-light-bg"
303 ;; Never had any meaningful changes logged, now deleted:
304 "lib/stdarg.in.h" "lib/stdbool.in.h"
305 "unidata/bidimirror.awk" "unidata/biditype.awk"
306 "split-man" "Xkeymap.txt" "ms-7bkermit" "ulimit.hack"
307 "gnu-hp300" "refcard.bit" "ledit.l" "forms.README" "forms-d2.dat"
308 "CXTERM-DIC/PY.tit" "CXTERM-DIC/ZIRANMA.tit"
309 "CXTERM-DIC/CTLau.tit" "CXTERM-DIC/CTLauB.tit"
310 "copying.paper" "celibacy.1" "condom.1" "echo.msg" "sex.6"
311 "COOKIES" "INTERVIEW" "MAILINGLISTS" "MOTIVATION"
312 "NICKLES.WORTH" "INTERVAL.IDEAS" "RCP"
313 "3B-MAXMEM" "AIX.DUMP" "SUN-SUPPORT" "XENIX"
315 "calc/INSTALL" "calc/Makefile" "calc/README.prev"
316 "vms-pp.trans" "_emacs" "batcomp.com" "notes/cpp" ; admin/
317 "notes/BRANCH" "notes/exit-value"
320 "Cocoa/Emacs.base/Contents/Info.plist"
321 "Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings"
322 "GNUstep/Emacs.base/Resources/Info-gnustep.plist"
323 "GNUstep/Emacs.base/Resources/Emacs.desktop"
324 "Cocoa/Emacs.base/Contents/Resources/English.lproj"
325 ;; Only existed briefly, then deleted:
326 "coccinelle/overlay.cocci" "coccinelle/symbol.cocci"
327 ;; MH-E stuff not in Emacs:
328 "import-emacs" "release-utils"
329 ;; Erc stuff not in Emacs:
330 "ChangeLog.2001" "ChangeLog.2002" "ChangeLog.2003" "ChangeLog.2004"
332 "README.extras" "dir-template" "mkChangeLog" "MkChangeLog" "erc-auto.in"
337 "debian/maint/conffiles"
338 "debian/maint/conffiles.in"
339 "debian/maint/postinst"
340 "debian/maint/postinst.in"
342 "debian/maint/prerm.in"
343 "debian/README.Debian"
344 "debian/README.erc-speak"
346 "debian/scripts/install"
347 "debian/scripts/install.in"
348 "debian/scripts/remove"
349 "debian/scripts/remove.in"
350 "debian/scripts/startup"
351 "debian/scripts/startup.erc"
352 "debian/scripts/startup.erc-speak"
353 ;; Used to be in admin, not very interesting.
354 "emacs-pretesters" "make-announcement" "make-changelog-diff"
355 ;; Textual comments that are not files.
356 "All" "Version" "Everywhere" "Many" "Various" "files"
358 "vms" "mac" "url" "tree-widget"
360 "List of files and directories to ignore.
361 Changes to files in this list are not listed.")
363 ;; List via: find . -name '*.el' | sed 's/.*\///g' | sort | uniq -d
364 ;; FIXME It would be better to discover these dynamically.
365 (defconst authors-ambiguous-files
420 "List of basenames occurring more than once in the source.")
422 ;; FIXME :cowrote entries here can be overwritten by :wrote entries
423 ;; derived from a file's Author: header (eg mh-e). This really means
424 ;; the Author: header is erroneous.
425 (defconst authors-fixed-entries
426 '(("Richard M. Stallman" :wrote
"[The original GNU Emacs and numerous files]")
427 ("Joseph Arceneaux" :wrote
"xrdb.c")
428 ;; This refers to the obsolete Willisson (qv) version.
429 ;;; ("Blitz Product Development Corporation" :wrote "ispell.el")
430 ("Frank Bresz" :wrote
"diff.el")
431 ("David M. Brown" :wrote
"array.el")
432 ;; No longer distributed.
433 ;;; ("Gary Byers" :changed "xenix.h")
434 ;; No longer distributed: freebsd.h
435 ;; Only trivial pieces remain, merged into configure.ac.
436 ("Shawn M. Carey" :wrote
"[some early FreeBSD support]")
437 ;; hp800.h renamed from hp9000s800.h, hpux.h merged into hpux10-20.h.
438 ;; FIXME overwritten by Author:.
439 ("Satyaki Das" :cowrote
"mh-search.el")
440 ;; No longer distributed: hp800.h, hpux10-20.h.
441 ;; Only trivial pieces remain, merged into configure.ac.
442 ("Eric Decker" :changed
"sysdep.c (and other files for HP-UX support)")
443 ("Lawrence R. Dodd" :cowrote
"dired-x.el")
444 ;; No longer distributed.
445 ;;; ("Viktor Dukhovni" :wrote "unexsunos4.c")
446 ("Paul Eggert" :wrote
"rcs2log") ; "vcdiff"
447 ("Fred Fish" :changed
"unexcoff.c")
448 ;; No longer distributed.
449 ;;; ("Tim Fleehart" :wrote "makefile.nt")
450 ("Keith Gabryelski" :wrote
"hexl.c")
451 ("Kevin Gallagher" :wrote
"flow-ctrl.el")
452 ;; Also wrote an earlier version of disp-table.el, since replaced
453 ;; by Erik Naggum's version; also iso-syntax.el, later renamed to
454 ;; latin-1.el, since deleted.
455 ("Howard Gayle" :wrote
"casetab.c")
456 ;; :wrote mh-pick.el, since merged into mh-search.el.
457 ;; Originally wrote mh-funcs.el, but it has been rewritten since.
458 ("Stephen Gildea" :wrote
"refcard.tex"
459 :cowrote
"mh-funcs.el" "mh-search.el")
460 ;; cl.texinfo renamed to cl.texi.
461 ("David Gillespie" :wrote
"cl.texi")
462 ;; No longer distributed: emacsserver.c.
463 ("Hewlett-Packard" :changed
"emacsclient.c" "server.el" "keyboard.c")
464 ;; No longer distributed.
465 ;;; ("Thomas Horsley" :wrote "cxux.h" "cxux7.h")
466 ("Indiana University Foundation" :changed
"buffer.c" "buffer.h"
467 "indent.c" "search.c" "xdisp.c" "region-cache.c" "region-cache.h")
468 ;; ibmrt.h, ibmrt-aix.h no longer distributed.
469 ("International Business Machines" :changed
"emacs.c" "fileio.c"
470 "process.c" "sysdep.c" "unexcoff.c")
471 ;; No longer distributed.
472 ;;; ("Ishikawa Chiaki" :changed "aviion.h" "dgux.h")
473 ;; No longer distributed: ymakefile, intel386.h, mem-limits.h, template.h,
474 ;; linux.h (was renamed to lignux.h, then to gnu-linux.h, then removed)
475 ("Michael K. Johnson" :changed
"configure.ac" "emacs.c"
476 "process.c" "sysdep.c" "syssignal.h" "systty.h" "unexcoff.c")
477 ;; No longer distributed.
478 ;;; ("Kyle Jones" :wrote "mldrag.el")
479 ("Henry Kautz" :wrote
"bib-mode.el")
480 ;; No longer distributed: vms-pwd.h, vmsfns.c, uaf.h,
481 ;; dir.h (was renamed to vmsdir.h, then removed)
482 ("Joseph M. Kelsey" :changed
"fileio.c")
483 ("Sam Kendall" :changed
"etags.c" "etags.el")
484 ;; ack.texi: "We're not using his backquote.el any more."
485 ("Richard King" :wrote
"userlock.el" "filelock.c")
486 ("Sebastian Kremer" :changed
"add-log.el")
487 ("Mark Lambert" :changed
"process.c" "process.h")
488 ("Aaron Larson" :changed
"bibtex.el")
489 ;; It was :wrote, but it has been rewritten since.
490 ("James R. Larus" :cowrote
"mh-e.el")
491 ("Lars Lindberg" :changed
"dabbrev.el" :cowrote
"imenu.el")
492 ;; No longer distributed: lselect.el.
493 ("Lucid, Inc." :changed
"bytecode.c" "byte-opt.el" "byte-run.el"
494 "bytecomp.el" "delsel.el" "disass.el" "faces.el" "font-lock.el"
495 "lmenu.el" "mailabbrev.el" "select.el" "xfaces.c" "xselect.c")
496 ;; MCC. No longer distributed: emacsserver.c.
497 ("Microelectronics and Computer Technology Corporation"
498 :changed
"etags.c" "emacsclient.c" "movemail.c"
499 "rmail.el" "rmailedit.el" "rmailkwd.el"
500 "rmailmsc.el" "rmailout.el" "rmailsum.el" "scribe.el"
501 ;; It was :wrote for xmenu.c, but it has been rewritten since.
502 "server.el" "lisp.h" "sysdep.c" "unexcoff.c" "xmenu.c")
503 ("Niall Mansfield" :changed
"etags.c")
504 ("Brian Marick" :cowrote
"hideif.el")
505 ("Marko Kohtala" :changed
"info.el")
506 ("Sidney Markowitz" :changed
"doctor.el")
507 ;; No longer distributed: env.c.
508 ("Richard Mlynarik" :wrote
"ehelp.el")
509 ("Mosur Mohan" :changed
"etags.c")
510 ("Jeff Morgenthaler" :changed
"flow-ctrl.el" "vt200.el" "vt201.el"
511 "vt220.el" "vt240.el")
512 ("Motorola" :changed
"buff-menu.el")
513 ("Hiroshi Nakano" :changed
"ralloc.c")
514 ;; File removed in Emacs 24.1.
515 ;;; ("Sundar Narasimhan" :changed "rnewspost.el")
516 ;; No longer distributed.
517 ;;; ("NeXT, Inc." :wrote "unexnext.c")
518 ("Mark Neale" :changed
"fortran.el")
519 ;; Renamed from sc.el.
520 ("Martin Neitzel" :changed
"supercite.el")
521 ("Andrew Oram" :changed
"calendar.texi (and other doc files)")
522 ("Frederic Pierresteguy" :wrote
"widget.c")
523 ("Michael D. Prange" :changed
"tex-mode.el")
524 ;; No longer distributed (dgux5-4r3.h was renamed to dgux5-4-3.h).
525 ;;; ("Paul Reilly" :wrote "gux5-4r2.h" "dgux5-4-3.h")
526 ("Rob Riepel" :wrote
"tpu-edt.doc")
527 ("Roland B. Roberts" :changed
"files.el" "sort.el"
528 "buffer.h" "callproc.c" "dired.c" "process.c" "sysdep.c" "systty.h")
529 ;; No longer distributed.
530 ;;; "vmspaths.h" "build.com" "compile.com" "kepteditor.com" "precomp.com"
531 ;;; "vmsproc.el" :wrote "logout.com" "mailemacs.com")
532 ;;; ("Guillermo J. Rozas" :wrote "fakemail.c")
533 ("Wolfgang Rupprecht" :changed
"lisp-mode.el" "loadup.el"
534 "sort.el" "alloc.c" "callint.c"
535 ;; config.in renamed from config.h.in, now a generated file.
536 ;; ecrt0.c renamed from crt0.c, then removed.
538 "lisp.h" "lread.c" ; "sun3.h" "ymakefile" - no longer distributed
539 "print.c" :wrote
"float-sup.el" "floatfns.c")
540 ("Schlumberger Technology Corporation" :changed
"gud.el")
541 ;; Replaced by tcl.el.
542 ;;; ("Gregor Schmid" :wrote "tcl-mode.el")
543 ;; No longer distributed since 24.1.
544 ;;; ("Rainer Schöpf" :wrote "alpha.h" "unexalpha.c")
545 ;; No longer distributed: emacsserver.c.
546 ("William Sommerfeld" :wrote
"emacsclient.c" "scribe.el")
547 ;; No longer distributed: emacsserver.c.
548 ("Leigh Stoller" :changed
"emacsclient.c" "server.el")
549 ("Steve Strassmann" :wrote
"spook.el")
550 ("Shinichirou Sugou" :changed
"etags.c")
551 ;; No longer distributed: emacsserver.c.
552 ("Sun Microsystems, Inc" :changed
"emacsclient.c" "server.el"
553 :wrote
"emacs.icon" "sun.el")
554 ;; No longer distributed.
555 ;;; "emacstool.1" "emacstool.c" "sun-curs.el"
556 ;;; "sun-fns.el" "sun-mouse.el" "sunfns.c")
557 ;; Renamed from sc.el.
558 ("Kayvan Sylvan" :changed
"supercite.el")
559 ;; No longer distributed: emacsserver.c, tcp.c.
560 ("Spencer Thomas" :changed
"emacsclient.c" "server.el"
561 "dabbrev.el" "unexcoff.c" "gnus.texi")
562 ("Jonathan Vail" :changed
"vc.el")
563 ;; No longer distributed: usg5-4.h
564 ("James Van Artsdalen" :changed
"unexcoff.c")
565 ;; No longer distributed: src/makefile.nt, lisp/makefile.nt
566 ;; winnt.el renamed to w32-fns.el; nt.[ch] to w32.[ch];
567 ;; ntheap.[ch] to w32heap.[ch]; ntinevt.c to w32inevt.c;
568 ;; ntproc.c to w32proc.c; ntterm.c to w32term.c;
569 ;; windowsnt.h to ms-w32.h.
570 ("Geoff Voelker" :wrote
"w32-fns.el" "w32.c" "w32.h" "w32heap.c"
571 "w32heap.h" "w32inevt.c" "w32proc.c" "w32term.c" "ms-w32.h")
572 ("Morten Welinder" :wrote
"dosfns.c" "[many MS-DOS files]" "msdos.h")
573 ("Eli Zaretskii" :wrote
"bidi.c" "[bidirectional display in xdisp.c]"
574 "[tty menus in term.c]")
575 ;; Not using this version any more.
576 ;;; ("Pace Willisson" :wrote "ispell.el")
577 ;; FIXME overwritten by Author:.
578 ("Bill Wohler" :cowrote
"mh-e.el")
579 ("Garrett Wollman" :changed
"sendmail.el")
580 ("Dale R. Worley" :changed
"mail-extr.el")
581 ("Jamie Zawinski" :changed
"bytecode.c" :wrote
"tar-mode.el"
582 :cowrote
"disass.el"))
583 "Actions taken from the original, manually (un)maintained AUTHORS file.")
586 (defconst authors-valid-file-names
596 ;; There were a few of these, not just the generated top-level one.
597 "configure" "config.h"
598 "is_exec.c" "sigaction.c"
600 "ebuild.bat" "install.bat" "fast-install.bat"
601 "debug.bat.in" "emacs.bat.in" "addsection.c"
602 "inc/sys/dir.h" "inc/gettext.h"
614 "permute-index" "index.perm"
616 "b2m.c" "b2m.1" "b2m.pl" "rcs-checkin.1"
617 "emacs.bash" "emacs.csh" "ms-kermit"
620 "emacs.py" "emacs2.py" "emacs3.py"
621 "BABYL" "LPF" "LEDIT" "OTHER.EMACSES"
622 "emacs16_mac.png" "emacs24_mac.png"
623 "emacs256_mac.png" "emacs32_mac.png"
624 "emacs48_mac.png" "emacs512_mac.png"
625 "ps-prin2.ps" "ps-prin3.ps"
626 "emacs.xbm" "gnu.xpm" "gnus-pointer.xbm" "gnus-pointer.xpm"
627 ;; Moved from etc/ to etc/images, and/or removed.
628 "gnus.pbm" "gnus.xbm" "gnus.xpm" "letter.pbm" "letter.xbm" "letter.xpm"
629 "splash.pbm" "splash.xbm" "splash.xpm" "splash8.xpm"
630 "images/execute.pbm" "images/execute.xpm" "images/fld-open.pbm"
631 "images/fld-open.xpm" "images/highlight.pbm" "images/highlight.xpm"
632 "images/mail.pbm" "images/mail.xpm" "images/mail/alias.pbm"
633 "images/mail/alias.xpm" "images/mail/refile.pbm"
634 "images/mail/refile.xpm" "images/page-down.pbm"
635 "images/page-down.xpm" "images/widen.pbm" "images/widen.xpm"
636 "images/gnus/bar.xbm" "images/gnus/bar.xpm"
637 "images/gnus/reverse-smile.xpm"
638 "notes/commits" "notes/changelogs"
640 "vcdiff" "rcs-checkin" "tindex.pl"
641 "mainmake" "sed1.inp" "sed2.inp" "sed3.inp" ; msdos/
643 ;; Deleted vms stuff:
644 "temacs.opt" "descrip.mms" "compile.com" "link.com"
645 "compact.el" "fadr.el"
647 "emacs-lisp/cl-specs.el"
648 "emacs-lisp/eieio-comp.el"
650 "eshell/esh-maint.el"
651 "language/persian.el"
652 "ledit.el" "meese.el" "iswitchb.el" "longlines.el"
653 "mh-exec.el" "mh-init.el" "mh-customize.el"
654 "net/zone-mode.el" "xesam.el"
655 "term/mac-win.el" "sup-mouse.el"
656 "term/vt102.el" "term/vt201.el" "term/vt220.el" "term/vt300.el"
657 "term/vt320.el" "term/vt400.el" "term/vt420.el"
659 "org-mac-message.el" "org-mew.el" "org-w3m.el" "org-vm.el" "org-wl.el"
660 "org-mks.el" "org-remember.el" "org-xoxo.el" "org-docbook.el"
661 "org-freemind.el" "ox-jsinfo.el"
662 "org-exp-blocks.el" ; maybe this is ob-exp now? dunno
664 "org-special-blocks.el" "org-taskjuggler.el"
665 "progmodes/cap-words.el"
668 "nnwfm.el" "nnlistserv.el" "nnkiboze.el" "nndb.el" "nnsoup.el"
669 "netrc.el" "password.el" "sasl-cram.el" "sasl-digest.el" "sasl-ntlm.el"
670 "sasl.el" "dig.el" "dns.el" "hex-util.el" "sha1.el" "md4.el"
671 "hmac-def.el" "hmac-md5.el" "ntlm.el" "hashcash.el" "smime-ldap.el"
672 "assistant.el" "gnus-utils.el" "tls.el" "pgg-def.el" "pgg-gpg.el"
673 "gnus-compat.el" "pgg-parse.el" "pgg-pgp.el" "pgg-pgp5.el" "pgg.el"
674 "dns-mode.el" "run-at-time.el" "gnus-encrypt.el" "sha1-el.el"
675 "gnus-gl.el" "gnus.sum.el" "proto-stream.el" "color.el" "color-lab.el"
676 "eww.el" "shr-color.el" "shr.el" "earcon.el" "gnus-audio.el" "encrypt.el"
677 "format-spec.el" "gnus-move.el"
679 "getopt.c" "texindex.c" "news.texi" "vc.texi" "vc2-xtra.texi"
680 "back.texi" "vol1.texi" "vol2.texi" "elisp-covers.texi" "two.el"
681 "front-cover-1.texi" "locals.texi" "calendar.texi" "info-stnd.texi"
683 "advice.texi" "picture.texi" "texinfo.tex"
685 "dispatch.c" "dispatch.h" "xrdb-cpp.c" "xrdb.c"
686 "lwlib-Xol.c" "lwlib-Xol.h" "lwlib-Xolmb.c" "lwlib-Xolmb.h"
689 "lib/stdio.c" "lib/gl_openssl.h" "lib/sigprocmask.c"
690 "lib/pthread_sigprocmask.c" "lib/ldtoastr.c" "lib/dummy.c"
693 "cvtmail.c" "digest-doc.c" "emacsserver.c" "emacstool.c" "env.c"
694 "etags-vmslib.c" "fakemail.c" "getdate.c" "getopt.h" "getopt1.c"
695 "getopt_.h" "getopt_int.h" "gettext.h" "leditcfns.c" "loadst.c"
696 "make-path.c" "qsort.c" "sorted-doc.c" "tcp.c" "timer.c" "wakeup.c"
697 "yow.c" "grep-changelog" "grep-changelog.1"
699 "emacsclient.c" "etags.c" "hexl.c" "make-docfile.c" "movemail.c"
700 "test-distrib.c" "testfile"
701 "tpu-edt.doc" ; see below
703 "File names which are valid, but no longer exist (or cannot be found)
706 ;; Note that any directory part on the RHS is retained.
707 ;; Cf authors-renamed-files-regexps.
708 ;; NB So only add a directory if needed to disambiguate.
710 ;; Although perhaps we could let authors-disambiguate-file-name do that?
711 (defconst authors-renamed-files-alist
712 '(("nt.c" .
"w32.c") ("nt.h" .
"w32.h")
713 ("ntheap.c" .
"w32heap.c") ("ntheap.h" .
"w32heap.h")
714 ("ntinevt.c" .
"w32inevt.c") ("ntinevt.h" .
"w32inevt.h")
715 ("ntproc.c" .
"w32proc.c")
716 ("w32console.c" .
"w32term.c")
717 ("unexnt.c" .
"unexw32.c")
718 ("s/windowsnt.h" .
"s/ms-w32.h")
719 ("s/ms-w32.h" .
"inc/ms-w32.h")
720 ("src/config.h" .
"config.h")
721 ("winnt.el" .
"w32-fns.el")
722 ("linux.h" .
"gnu-linux.h")
723 ("emacs.manifest" .
"emacs-x86.manifest")
724 ("config.emacs" .
"configure")
725 ("configure.in" .
"configure.ac")
726 ("config.h.dist" .
"config.in")
727 ("config.h-dist" .
"config.in")
728 ("config.h.in" .
"config.in")
729 ("debug.bat" .
"debug.bat.in")
730 ("emacs.bat" .
"emacs.bat.in")
731 ;; paths.h.dist -> paths.h-dist -> paths.h.in -> paths.in -> epaths.in.
732 ("paths.h.dist" .
"epaths.in")
733 ("paths.h-dist" .
"epaths.in")
734 ("paths.h.in" .
"epaths.in")
735 ("paths.in" .
"epaths.in")
736 ("emacs.rc" .
"emacs.rc.in")
737 ("emacsclient.rc" .
"emacsclient.rc.in")
738 ("patch1" .
"sed1.inp")
739 ("INSTALL.MSYS" .
"INSTALL")
740 ("server.c" .
"emacsserver.c")
741 ("lib-src/etags.c" .
"etags.c")
743 ("is-exec.c" .
"is_exec.c")
744 ("enriched.doc" .
"enriched.txt")
745 ("GETTING.GNU.SOFTWARE" .
"FTP")
746 ("etc/MACHINES" .
"MACHINES")
747 ("ONEWS" .
"NEWS.19")
748 ("ONEWS.1" .
"NEWS.1-17")
749 ("ONEWS.2" .
"NEWS.1-17")
750 ("ONEWS.3" .
"NEWS.18")
751 ("ONEWS.4" .
"NEWS.18")
752 ("ORDERS.USA" .
"ORDERS")
753 ("EUROPE" .
"ORDERS")
754 ("DIFF" .
"OTHER.EMACSES")
755 ("CCADIFF" .
"OTHER.EMACSES")
756 ("GOSDIFF" .
"OTHER.EMACSES")
757 ;; Moved from lisp/tpu-doc.el to etc/tpu-edt.doc in Emacs 19.29.
758 ;; Removed in Emacs 19.30, replaced by new file etc/edt-user.doc
759 ;; (no associated ChangeLog entry).
760 ("tpu-doc.el" .
"tpu-edt.doc")
761 ("Makefile.in.in" .
"Makefile.in")
762 ("leim-Makefile" .
"leim/Makefile")
763 ("leim-Makefile.in" .
"leim/Makefile.in")
764 ("emacs-lisp/testcover-ses.el" .
"tcover-ses.el")
765 ("emacs-lisp/testcover-unsafep.el" .
"tcover-unsafep.el")
766 ("progmodes/dos.el" .
"bat-mode.el")
767 ;; index and pick merged into search.
768 ("mh-index.el" .
"mh-search.el")
769 ("mh-pick.el" .
"mh-search.el")
770 ("font-setting.el" .
"dynamic-setting.el")
771 ("help-funs.el" .
"help-fns.el")
772 ("erc-notifications.el" .
"erc-desktop-notifications.el")
773 ("org-complete.el" .
"org-pcomplete.el")
774 ("org-export.el" .
"ox.el") ; ?
775 ;; Was definitely renamed to org-latex.el, then... ?
776 ("org-export-latex.el" .
"ox-latex.el") ; ?
777 ("org-exp.el" .
"ox.el") ; ?
778 ("progmodes/cfengine3.el" .
"cfengine.el")
779 ("progmodes/delphi.el" .
"opascal.el")
780 ("octave-inf.el" .
"octave.el")
781 ("octave-mod.el" .
"octave.el")
782 ("progmodes/octave-inf.el" .
"octave.el")
783 ("progmodes/octave-mod.el" .
"octave.el")
785 ("emacs-lisp/assoc.el" .
"assoc.el")
786 ("emacs-lisp/cust-print.el" .
"cust-print.el")
787 ("emacs-lisp/gulp.el" .
"gulp.el")
788 ("emulation/crisp.el" .
"crisp.el")
789 ("emulation/tpu-edt.el" .
"tpu-edt.el")
790 ("emulation/tpu-extras.el" .
"tpu-extras.el")
791 ("emulation/vi.el" .
"vi.el")
792 ("emulation/vip.el" .
"vip.el")
793 ("emulation/ws-mode.el" .
"ws-mode.el")
794 ("mail/mailpost.el" .
"mailpost.el")
795 ("play/bruce.el" .
"bruce.el")
796 ("play/yow.el" .
"yow.el")
797 ("patcomp.el" .
"patcomp.el")
798 ;; From lisp to etc/forms.
799 ("forms-d2.el" .
"forms-d2.el")
800 ("forms-pass.el" .
"forms-pass.el")
801 ;; From lisp/ to etc/nxml.
802 ("nxml/test.invalid.xml" .
"test-invalid.xml")
803 ("nxml/test.valid.xml" .
"test-valid.xml")
804 ;; The one in lisp is eshell/eshell.el.
805 ("eshell.el" .
"automated/eshell.el")
806 ("eshell/esh-test.el" .
"automated/eshell.el")
807 ("automated/cl-lib.el" .
"automated/cl-lib-tests.el")
808 ("automated/package-x-test.el" .
"automated/package-test.el")
809 ;; INSTALL-CVS -> .CVS -> .BZR -> .REPO
810 ("INSTALL-CVS" .
"INSTALL.REPO")
811 ("INSTALL.CVS" .
"INSTALL.REPO")
812 ("INSTALL.BZR" .
"INSTALL.REPO")
813 ("gnus-logo.eps" .
"gnus-logo.eps") ; moved to refcards/
814 ("build-install" .
"build-ins.in")
815 ("build-install.in" .
"build-ins.in")
816 ("unidata/Makefile" .
"unidata/Makefile.in")
817 ("mac/uvs.el" .
"unidata/uvs.el")
818 ;; Moved from top to etc/
819 ("CONTRIBUTE" .
"CONTRIBUTE")
821 ;; Moved from top to build-aux/
822 ("move-if-change" .
"move-if-change")
823 ("update-subdirs" .
"update-subdirs")
824 ("emacs.tex" .
"emacs.texi")
825 ("faq.texi" .
"efaq.texi")
826 ("major.texi" .
"modes.texi")
827 ("msdog-xtra.texi" .
"msdos-xtra.texi")
828 ("msdog.texi" .
"msdos.texi")
829 ;; And from emacs/ to misc/ and back again.
830 ("ns-emacs.texi" .
"macos.texi")
831 ("overrides.texi" .
"gnus-overrides.texi")
832 ("xresmini.texi" .
"xresources.texi")
833 ;; Not renamed, but we only have the latter in the Emacs repo.
834 ("trampver.texi.in" .
"trampver.texi")
835 ;; Renamed with same directory.
836 ("e/eterm" .
"eterm-color")
837 ("e/eterm.ti" .
"eterm-color.ti")
838 ("README.txt" .
"README")
839 ("emacs.names" .
"JOKES")
840 ("ED.WORSHIP" .
"JOKES")
841 ("GNU.JOKES" .
"JOKES")
842 ("CHARACTERS" .
"TODO")
843 ("images/gnus/mail_send.xpm" .
"mail-send.xpm") ; still in images/gnus
844 ;; Renamed within same directory.
845 ("schema/xhtml-basic-form.rnc" .
"xhtml-bform.rnc" )
846 ("schema/xhtml-basic-table.rnc" .
"xhtml-btable.rnc")
847 ("schema/xhtml-list.rnc" .
"xhtml-lst.rnc")
848 ("schema/xhtml-target.rnc" .
"xhtml-tgt.rnc")
849 ("schema/xhtml-style.rnc" .
"xhtml-xstyle.rnc")
850 ("schema/docbook-dyntbl.rnc" .
"docbk-dyntbl.rnc")
851 ("schema/docbook-soextbl.rnc" .
"docbk-soextbl.rn" )
852 ("edt-user.doc" .
"edt.texi")
853 ("DEV-NOTES" .
"nextstep")
854 ("org/COPYRIGHT-AND-LICENSE" .
"org/README")
855 ;; Moved to different directories.
856 ("ctags.1" .
"ctags.1")
857 ("etags.1" .
"etags.1")
858 ("emacs.1" .
"emacs.1")
859 ("emacsclient.1" .
"emacsclient.1")
860 ("icons/emacs21.ico" .
"emacs21.ico")
861 ("ja-dic" .
"leim/ja-dic")
862 ("quail" .
"leim/quail")
863 ;; Moved from autogen/ to admin/.
864 ("autogen/update_autogen" .
"update_autogen")
865 ;; Moved from etc/ to admin/.
866 ("grammars" .
"grammars")
867 ;; Moved from lisp/emacs-lisp/ to admin/.
868 ("emacs-lisp/authors.el" .
"authors.el")
869 ;; From etc to lisp/cedet/semantic/.
870 ("grammars/bovine-grammar.el" .
"bovine/grammar.el")
871 ("grammars/wisent-grammar.el" .
"wisent/grammar.el")
872 ;; Moved from admin/nt/ to nt/.
873 ("nt/README.W32" .
"README.W32")
874 ("notes/BRANCH" .
"notes/repo")
875 ("notes/bzr" .
"notes/repo")
877 "Alist of files which have been renamed during their lifetime.
878 Elements are (OLDNAME . NEWNAME).")
880 ;; Should still test that the renamed file exists. Does it?
881 ;; But it might be relative to a different ChangeLog...
883 ;; Note that only the basename of the RHS is used.
884 ;; Cf authors-renamed-files-alist.
885 (defconst authors-renamed-files-regexps
886 '(("\\`\\(arg-nonnull\\|c\\+\\+defs\\|warn-on-use\\)\\.h\\'"
887 "build-aux/snippet/\\&")
888 ("\\`\\(ebuild\\|emacs\\|install\\|fast-install\\)\\.cmd\\'" "\\1.bat")
889 ("\\`\\(book-spine\\|cl\\|forms\\|functions\\|gnus\\|sc\\|texinfo\\|vip\\)\
890 \\.texinfo\\'" "\\1.texi")
891 ("\\`\\(\\(calc\\|org\\|vip\\)card\\|viperCard\\|\
892 \\(\\(cs\\|fr\\|sk\\)-\\)?dired-ref\\|\
893 \\(\\(cs\\|de\\|fr\\|gnus\\|pl\\|pt-br\\|ru\\|sk\\)-\\)?refcard\\|\
894 \\(\\(cs\\|fr\\|sk\\)-\\)?survival\\)\\.tex\\'" "refcards/\\&")
895 ("\\`refcard-\\(de\\|pl\\)\\.tex\\'" "refcards/\\1-refcard.tex")
896 ("\\`\\(refcards/\\)?fr-drdref\\.tex\\'" "refcards/fr-dired-ref.tex")
897 ("^\\(TUTORIAL[^/]*\\)" "tutorials/\\1")
898 ("\\`themes/dev-\\(tsdh-\\(?:light\\|dark\\)-theme\\.el\\)\\'"
900 ;; Moved from lisp/toolbar to etc/images.
901 ("\\`toolbar/\\(back\\|fwd\\|left\\|right\\|up\\)_arrow\
902 \\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/\\1-arrow\\2")
903 ("\\`toolbar/lc-\\(back\\|fwd\\|left\\|right\\|up\\)_arrow\
904 \\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/low-color/\\1-arrow\\2")
905 ("\\`toolbar/mail_\\(compose\\|send\\)\\(\\.[xp]bm\\)\\'"
907 ("\\`toolbar/jump_to\\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/jump-to\\1")
908 ("\\`toolbar/lc-jump_to\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
909 "images/low-color/jump-to\\1")
910 ("\\`toolbar/\\(attach\\|cancel\\|close\\|copy\\|cut\\|\
911 diropen\\|exit\\|help\\|home\\|index\\|info\\|mail\\|new\\|open\\|\
912 paste\\|preferences\\|print\\|save\\|saveas\\|search\\|search-replace\\|\
913 spell\\|undo\\)\\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/\\1\\2")
914 ("\\`toolbar/gud-\\(break\\|cont\\|down\\|finish\\|print\\|pstar\\|\
915 remove\\|run\\|until\\|up\\|watch\\)\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
917 ("\\`\\(toolbar/gud-\\|images/gud/\\)n\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
918 "images/gud/next\\2\\3")
919 ("\\`\\(toolbar/gud-\\|images/gud/\\)s\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
920 "images/gud/step\\2\\3")
921 ("\\`toolbar/lc-\\([-a-z]+\\.xpm\\)\\'" "images/low-color/\\1")
922 ("^\\(tree-widget/\\(?:default\\|folder\\)/[-a-z]+\\.\\(png\\|xpm\\)\\)$"
924 ("^\\(images/icons/\\)mac\\(emacs\\)_\\([0-9]+\\)\\(\\.png\\)"
926 ("\\(images/icons/\\)emacs_\\([0-9][0-9]\\)\\.png"
927 "\\1hicolor/\\2x\\2/apps/emacs.png")
928 ;; Moved from leim/ to lisp/leim/.
929 ("\\`quail/[-a-z0-9]+\\.el\\'" "leim/\\&")
930 ("\\`ja-dic/ja-dic\\.el\\'" "leim/\\&")
931 ("\\`vc-\\(rcs\\|cvs\\|sccs\\)-hooks\\.el\\'" "vc/vc-\\1.el")
932 ("\\`vc-\\(annotate\\|arch\\|bzr\\|cvs\\|dav\\|dir\\|dispatcher\\|\
933 git\\|hg\\|hooks\\|mtn\\|rcs\\|sccs\\|svn\\)\\.el\\'" "vc/\\&")
934 ("\\`ediff-\\(diff\\|help\\|hook\\|init\\|merg\\|mult\\|ptch\\|util\\|\
935 vers\\|wind\\)\\.el\\'" "vc/\\&")
936 ("\\`pcvs-\\(defs\\|info\\|parse\\|util\\)\\.el\\'" "vc/\\&")
937 ("\\`\\(add-log\\|compare-w\\|cvs-status\\|diff-mode\\|diff\\|\
938 ediff\\|emerge\\|log-edit\\|log-view\\|pcvs\\|smerge-mode\\|vc\\)\\.el\\'"
940 ("\\`\\(emacs-lisp/\\)?helpers\\.el\\'" "emacs-lisp/subr-x.el")
941 ;; I assume this is (essentially) what happened, org/ChangeLog is vague.
942 ("\\`org-\\(ascii\\|beamer\\|html\\|icalendar\\|jsinfo\\|latex\
943 \\|odt\\|publish\\)\\.el\\'" "ox-\\1.el")
944 ;; From test/ to test/automated/.
945 ("comint-testsuite.el" "automated/\\&")
946 ("\\`\\(bytecomp\\|font-parse\\|icalendar\\|occur\\|newsticker\\)\
947 -testsuite\\.el" "automated/\\1-tests.el")
948 ("automated/flymake/warnpred/\\(Makefile\\|test\\.\\(?:c\\|pl\\)\\)\\'"
949 "automated/data/flymake/\\1")
950 ;; NB lax rules should come last.
951 ("^m/m-\\(.*\\.h\\)$" "m/\\1" t
)
952 ("^m-\\(.*\\.h\\)$" "\\1" t
)
953 ("^s/s-\\(.*\\.h\\)$" "s/\\1" t
)
954 ("^s-\\(.*\\.h\\)$" "\\1" t
)
955 ("\\.\\(el\\|[ch]\\|x[pb]m\\|pbm\\)\\'" t t
)
957 "List of regexps and rewriting rules for renamed files.
958 Elements are (REGEXP REPLACE [LAX]). If REPLACE is a string, the file
959 name matching REGEXP is replaced by REPLACE using `replace-string'.
960 Otherwise, the file name is accepted as is.
961 Elements with LAX non-nil are only used in `authors-lax-changelogs'.")
963 ;; It's really not worth trying to make these old logs fully valid.
964 ;; All the obvious real errors are gone.
965 ;; The main issue is _lots_ of moving around of files.
966 ;; Eg the progmodes/ (etc) directories did not exist before 1997.
967 ;; Also, lib-src/ did not exist, the files were in etc/.
968 ;; And various other things.
969 ;; Maybe this should just be any ChangeLog with a . extension,
970 ;; assuming we always fix logs fully before rotating them?
971 (defconst authors-lax-changelogs
972 '("erc/ChangeLog\\.0[1-8]\\'"
973 "gnus/ChangeLog\\.[1-2]\\'"
974 "lisp/ChangeLog\\.\\([1-9]\\|1[0-5]\\)\\'"
975 "mh-e/ChangeLog\\.1\\'"
976 "src/ChangeLog\\.\\([1-9]\\|1[0-2]\\)\\'")
977 "List of regexps matching ChangeLogs that we do not print errors from.
978 These are older ChangeLogs that have various issues.
979 Additionally, for these logs we apply the `lax' elements of
980 `authors-renamed-files-regexps'.")
983 (defvar authors-checked-files-alist
)
984 (defvar authors-invalid-file-names
)
986 ;; This has become rather yucky. :(
987 (defun authors-disambiguate-file-name (fullname)
988 "Convert FULLNAME to an unambiguous relative-name."
989 (let ((relname (file-name-nondirectory fullname
))
991 (if (and (member relname authors-ambiguous-files
)
992 ;; Try to identify the top-level directory.
993 ;; FIXME should really use ROOT from M-x authors.
994 (not (and (file-directory-p
997 (setq dir
(file-name-directory fullname
))))
998 (file-directory-p (expand-file-name "etc" dir
)))))
999 ;; I think it looks weird to see eg "lisp/simple.el".
1000 ;; But for eg Makefile.in, we do want to say "lisp/Makefile.in".
1001 (if (and (string-equal "lisp"
1002 (setq parent
(file-name-nondirectory
1003 (directory-file-name dir
))))
1004 ;; TODO better to simply have hard-coded list?
1005 ;; Only really Makefile.in where this applies.
1007 (expand-file-name (concat "../" relname
) dir
))))
1009 ;; In case of ambiguity, just prepend the parent directory.
1010 ;; FIXME obviously this is not a perfect solution.
1011 (format "%s/%s" (file-name-nondirectory (directory-file-name dir
))
1015 (defun authors-lax-changelog-p (file)
1016 "Return non-nil if FILE matches `authors-lax-changelogs'."
1017 (let ((list authors-lax-changelogs
)
1020 (setq list
(if (setq found
(string-match-p (car list
) file
))
1025 (defun authors-canonical-file-name (file log-file pos author
)
1026 "Return canonical file name for FILE found in LOG-FILE.
1027 Checks whether FILE is a valid (existing) file name, has been renamed,
1028 or is on the list of removed files. Returns the non-directory part of
1029 the file name. Only uses the LOG-FILE position POS and associated AUTHOR
1030 to print a message if FILE is not found."
1031 ;; FILE should be re-checked in every different directory associated
1032 ;; with a LOG-FILE. Eg configure.ac from src/ChangeLog is not the
1033 ;; same as that from top-level/ChangeLog.
1034 (let* ((fullname (expand-file-name file
(file-name-directory log-file
)))
1035 (entry (assoc fullname authors-checked-files-alist
))
1036 laxlog relname valid
)
1039 (setq relname
(file-name-nondirectory file
))
1040 (if (or (member file authors-valid-file-names
)
1041 (member relname authors-valid-file-names
)
1042 (file-exists-p file
)
1043 (file-exists-p relname
) ; FIXME? appropriate?
1045 (setq valid
(authors-disambiguate-file-name fullname
))
1046 (if (setq valid
(assoc file authors-renamed-files-alist
))
1047 (setq valid
(cdr valid
))
1048 (setq laxlog
(authors-lax-changelog-p log-file
))
1049 (let ((rules authors-renamed-files-regexps
)
1052 (setq rule
(car rules
))
1053 (if (and (or laxlog
(not (nth 2 rule
)))
1054 (string-match (car rule
) file
))
1055 (setq valid
(if (stringp (nth 1 rule
))
1056 (file-name-nondirectory
1057 (replace-match (nth 1 rule
) t nil file
))
1060 (setq rules
(cdr rules
)))))))
1061 (setq authors-checked-files-alist
1062 (cons (cons fullname valid
) authors-checked-files-alist
))
1064 (member file authors-ignored-files
)
1065 (authors-obsolete-file-p file
)
1066 (string-match "[*]" file
)
1067 (string-match "^[0-9.]+$" file
)
1069 (setq authors-invalid-file-names
1070 (cons (format "%s:%d: unrecognized `%s' for %s"
1072 (1+ (count-lines (point-min) pos
))
1074 authors-invalid-file-names
)))
1077 (defun authors-add-fixed-entries (table)
1078 "Add actions from `authors-fixed-entries' to TABLE."
1079 (dolist (entry authors-fixed-entries
)
1080 (let ((author (car entry
))
1082 (dolist (item (cdr entry
))
1085 (authors-add author item action table
))))))
1088 (defun authors-obsolete-file-p (file)
1089 "Return non-nil if FILE is obsolete.
1090 FILE is considered obsolete if it matches one of the regular expressions
1091 from `authors-obsolete-files-regexps'."
1093 (regexps authors-obsolete-files-regexps
))
1094 (while (and regexps
(not obsolete-p
))
1095 (setq obsolete-p
(string-match (car regexps
) file
)
1096 regexps
(cdr regexps
)))
1099 (defun authors-no-scan-file-p (file)
1100 "Return non-nil if FILE should not be scanned.
1101 FILE is not scanned if it matches any of `authors-no-scan-regexps'."
1103 (regexps authors-no-scan-regexps
))
1104 (while (and regexps
(not no-scan-p
))
1105 (setq no-scan-p
(string-match-p (car regexps
) file
)
1106 regexps
(cdr regexps
)))
1109 (defun authors-add (author file action table
)
1110 "Record that AUTHOR worked on FILE.
1111 ACTION is a keyword symbol describing what he did. Record file,
1112 author and what he did in hash table TABLE. See the description of
1113 `authors-scan-change-log' for the structure of the hash table."
1114 (unless (or (member file authors-ignored-files
)
1115 (authors-obsolete-file-p file
)
1117 (let* ((value (gethash author table
))
1118 (entry (assoc file value
))
1121 (puthash author
(cons (list file
(cons action
1)) value
) table
)
1122 (if (setq slot
(assoc action
(cdr entry
)))
1123 (setcdr slot
(1+ (cdr slot
)))
1124 (nconc entry
(list (cons action
1))))))))
1127 (defun authors-canonical-author-name (author)
1128 "Return a canonicalized form of AUTHOR, an author name.
1129 If AUTHOR has an entry in `authors-aliases', use that. Remove
1130 email addresses. Capitalize words in the author's name, unless
1131 it is found in `authors-fixed-case'."
1132 (let* ((aliases authors-aliases
)
1135 (setq realname
(car (car aliases
))
1136 regexps
(cdr (car aliases
))
1137 aliases
(cdr aliases
))
1139 (if (string-match (car regexps
) author
)
1140 (setq author realname
1143 (setq regexps
(cdr regexps
))))))
1145 (setq author
(replace-regexp-in-string "[ \t]*[(<].*$" "" author
))
1146 (setq author
(replace-regexp-in-string "\`[ \t]+" "" author
))
1147 (setq author
(replace-regexp-in-string "[ \t]+$" "" author
))
1148 (setq author
(replace-regexp-in-string "[ \t]+" " " author
))
1149 (unless (string-match "[-, \t]" author
)
1151 (or (car (member author authors-fixed-case
))
1152 (capitalize author
))))
1154 (defun authors-scan-change-log (log-file table
)
1155 "Scan change log LOG-FILE for author information.
1157 For each change mentioned in the log, add an entry to hash table TABLE
1158 under the author's canonical name.
1160 Keys of TABLE are author names. Values are alists of entries (FILE
1161 \(ACTION . COUNT) ...). FILE is one file the author worked on. The
1162 rest of the entry is a list of keyword symbols describing what he did
1163 with the file and the number of each action:
1165 :wrote means the author wrote the file
1166 :cowrote means he wrote the file in collaboration with others
1167 :changed means he changed the file COUNT times."
1169 (let* ((enable-local-variables :safe
) ; for find-file, hence let*
1170 (enable-local-eval nil
)
1171 (existing-buffer (get-file-buffer log-file
))
1172 (buffer (find-file-noselect log-file
))
1174 (with-current-buffer buffer
1177 (goto-char (point-min))
1178 (while (re-search-forward "^[0-9]\\|^[ \t]+\\* " nil t
)
1181 (cond ((looking-at "^[0-9]+-[0-9]+-[0-9]+")
1182 ;; Handle joint authorship of changes.
1183 ;; This can be a bit fragile, and is not too common.
1186 (skip-chars-forward " \t+:0-9-")
1187 (not (looking-at "\\($\\|\\*\\|\
1188 Suggested\\|Trivial\\|Version\\|Originally\\|From:\\|Patch[ \t]+[Bb]y\\)")))
1189 (push (authors-canonical-author-name
1190 (buffer-substring-no-properties
1191 (point) (line-end-position))) authors
)
1193 ((looking-at "^[ \t]+\\*")
1194 (let ((line (buffer-substring-no-properties
1195 (match-end 0) (line-end-position))))
1196 (while (and (not (string-match ":" line
))
1198 (not (looking-at ":\\|^[ \t]*$")))
1199 (setq line
(concat line
1200 (buffer-substring-no-properties
1201 (line-beginning-position)
1202 (line-end-position)))))
1203 (when (string-match ":" line
)
1204 (setq line
(substring line
0 (match-beginning 0)))
1205 (setq line
(replace-regexp-in-string "[[(<{].*$" "" line
))
1206 (setq line
(replace-regexp-in-string "," "" line
))
1207 (dolist (file (split-string line
))
1208 (when (setq file
(authors-canonical-file-name file log-file pos
(car authors
)))
1209 (dolist (author authors
)
1210 ;;(message "%s changed %s" author file)
1211 (authors-add author file
:changed table
)))))
1212 (forward-line 1)))))))
1213 (unless existing-buffer
1214 (kill-buffer buffer
))))
1217 (defun authors-scan-el (file table
)
1218 "Scan Lisp file FILE for author information.
1219 TABLE is a hash table to add author information to."
1220 (let* ((existing-buffer (get-file-buffer file
))
1221 (enable-local-variables :safe
) ; for find-file, hence let*
1222 (enable-local-eval nil
)
1223 (buffer (find-file-noselect file
)))
1224 (setq file
(authors-disambiguate-file-name (expand-file-name file
)))
1225 (with-current-buffer buffer
1228 (goto-char (point-min))
1229 (while (and (re-search-forward
1230 "^;+[ \t]*\\(Authors?\\|Commentary\\|Code\\):[ \t]*" nil t
)
1231 (not (member (match-string 1) '("Commentary" "Code"))))
1236 ;; Some entries contain a year range in front of the
1238 (skip-chars-forward "-0-9 \t")
1239 (push (authors-canonical-author-name
1240 (buffer-substring-no-properties
1241 (point) (line-end-position))) authors
)
1242 ;; tips.texi says the continuation line should begin
1243 ;; with a tab, but often spaces are used.
1245 (and (zerop (forward-line 1))
1246 (looking-at ";;;?\\(\t+ *\\| +\\)[[:alnum:]]")
1247 (goto-char (1- (match-end 0)))
1248 (not (looking-at "[[:upper:]][-[:alpha:]]+:[ \t]")))))
1249 (and (> (length authors
) 1)
1250 (setq action
:cowrote
))
1251 (mapc (lambda (author)
1252 (authors-add author file action table
))
1254 (unless existing-buffer
1255 (kill-buffer buffer
))))
1258 (defun authors-public-domain-p (file)
1259 "Return t if FILE is a file that was put in public domain."
1260 (let ((public-domain-p nil
)
1261 (list authors-public-domain-files
))
1262 (while (and list
(not public-domain-p
))
1263 (when (string-match (car list
) file
)
1264 (setq public-domain-p t
))
1265 (setq list
(cdr list
)))
1268 (defvar authors-author-list
)
1270 (defun authors-add-to-author-list (author changes
)
1271 "Insert information about AUTHOR's work on Emacs into `authors-author-list'.
1272 CHANGES is an alist of entries (FILE (ACTION . COUNT) ...), as produced by
1273 `authors-scan-change-log'.
1274 The element added to `authors-author-list' is (AUTHOR WROTE CO-WROTE CHANGED),
1275 where WROTE, CO-WROTE, and CHANGED are lists of the files written, co-written
1276 and changed by AUTHOR."
1282 (dolist (change changes
)
1283 (let* ((actions (cdr change
))
1285 (filestat (if (authors-public-domain-p file
)
1286 (concat file
" (public domain)")
1288 (cond ((assq :wrote actions
)
1289 (setq wrote-list
(cons filestat wrote-list
)))
1290 ((assq :cowrote actions
)
1291 (setq cowrote-list
(cons filestat cowrote-list
)))
1294 (cons (cons file
(cdr (assq :changed actions
)))
1297 (setq wrote-list
(sort wrote-list
'string-lessp
)))
1299 (setq cowrote-list
(sort cowrote-list
'string-lessp
)))
1301 (setq changed-list
(sort changed-list
1303 (if (= (cdr a
) (cdr b
))
1304 (string-lessp (car a
) (car b
))
1305 (> (cdr a
) (cdr b
))))))
1306 (setq nchanged
(length changed-list
))
1307 (setq changed-list
(mapcar 'car changed-list
)))
1308 (if (> (- nchanged authors-many-files
) 2)
1309 (setcdr (nthcdr authors-many-files changed-list
)
1310 (list (format "and %d other files" (- nchanged authors-many-files
)))))
1311 (setq authors-author-list
1312 (cons (list author wrote-list cowrote-list changed-list
)
1313 authors-author-list
)))))
1315 (defun authors (root)
1316 "Extract author information from change logs and Lisp source files.
1317 ROOT is the root directory under which to find the files. If called
1318 interactively, ROOT is read from the minibuffer.
1319 Result is a buffer *Authors* containing authorship information, and a
1320 buffer *Authors Errors* containing references to unknown files."
1321 (interactive "DEmacs source directory: ")
1322 (setq root
(expand-file-name root
))
1323 (let ((logs (process-lines find-program root
"-name" "ChangeLog*"))
1324 (table (make-hash-table :test
'equal
))
1325 (buffer-name "*Authors*")
1326 authors-checked-files-alist
1327 authors-invalid-file-names
)
1328 (authors-add-fixed-entries table
)
1329 (unless (file-exists-p (expand-file-name "src/emacs.c" root
))
1331 (format "Not the root directory of Emacs: %s, continue? " root
))
1332 (error "Not the root directory")))
1334 (when (string-match "ChangeLog\\(.[0-9]+\\)?$" log
)
1335 (message "Scanning %s..." log
)
1336 (authors-scan-change-log log table
)))
1337 (let ((els (process-lines find-program root
"-name" "*.el")))
1339 (unless (authors-no-scan-file-p file
)
1340 (message "Scanning %s..." file
)
1341 (authors-scan-el file table
))))
1342 (message "Generating buffer %s..." buffer-name
)
1343 (set-buffer (get-buffer-create buffer-name
))
1345 (set-buffer-file-coding-system authors-coding-system
)
1347 "Many people have contributed code included in the Free Software
1348 Foundation's distribution of GNU Emacs. To show our appreciation for
1349 their public spirit, we list here in alphabetical order a condensed
1350 list of their contributions.\n")
1351 (let (authors-author-list)
1352 (maphash #'authors-add-to-author-list table
)
1353 (setq authors-author-list
1354 (sort authors-author-list
1356 (string-collate-lessp (car a
) (car b
)
1357 (if (eq system-type
'windows-nt
)
1360 (dolist (a authors-author-list
)
1361 (let ((author (car a
))
1364 (changed (nth 3 a
)))
1365 (insert "\n" author
": ")
1368 (dolist (file wrote
)
1369 (if (> (+ (current-column) (length file
)) 72)
1377 (dolist (file cowrote
)
1378 (if (> (+ (current-column) (length file
)) 72)
1383 (if (or wrote cowrote
)
1386 (dolist (file changed
)
1387 (if (> (+ (current-column) (length file
)) 72)
1391 (insert "\nLocal" " Variables:\ncoding: "
1392 (symbol-name authors-coding-system
) "\nEnd:\n")
1393 (message "Generating buffer %s... done" buffer-name
)
1394 (unless noninteractive
1395 (when authors-invalid-file-names
1396 (with-current-buffer (get-buffer-create "*Authors Errors*")
1397 (setq buffer-read-only nil
)
1399 (set-buffer-file-coding-system authors-coding-system
)
1400 (insert "Unrecognized file entries found:\n\n")
1401 (mapc (lambda (f) (if (not (string-match "^[A-Za-z]+$" f
)) (insert f
"\n")))
1402 (sort authors-invalid-file-names
'string-lessp
))
1403 (goto-char (point-min))
1405 (message "Errors were found. See buffer %s" (buffer-name))))
1406 (pop-to-buffer buffer-name
))))
1409 (defun batch-update-authors ()
1410 "Produce an AUTHORS file.
1411 Call this function in batch mode with two command line arguments FILE
1412 and ROOT. FILE is the file to write, ROOT is the root directory of
1413 the Emacs source tree, from which to build the file."
1414 (unless noninteractive
1415 (error "`batch-update-authors' is to be used only with -batch"))
1416 (when (/= (length command-line-args-left
) 2)
1417 (error "Call `batch-update-authors' with the name of the file to write"))
1418 (let* ((file (pop command-line-args-left
))
1419 (root (pop command-line-args-left
)))
1425 ;;; authors.el ends here