1 ;;; authors.el --- utility for maintaining Emacs's AUTHORS file -*-coding: utf-8 -*-
3 ;; Copyright (C) 2000-2014 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 ("Paul Eggert" "Paul R\\. Eggert")
125 ("Pavel Janík" "Pavel Janík Ml." "Pavel Janik Ml." "Pavel Janik")
126 ("Pavel Kobiakov" "Pavel Kobyakov")
127 ("Per Abrahamsen" "Per Abhiddenware")
128 ("Per Starbäck" "Per Starback")
129 ("Peter J. Weisberg" "PJ Weisberg")
130 ("Peter S. Galbraith" "Peter S Galbraith" "Peter Galbraith")
131 ("Peter Runestig" "Peter 'luna' Runestig")
132 ("Piotr Zieliński" "Piotr Zielinski")
133 ("Rainer Schöpf" "Rainer Schoepf")
134 ("Raja R. Harinath" "Raja R Harinath")
135 ("Richard G. Bielawski" "Richard G Bielawski" "Richard Bielawski")
136 ("Richard King" "Dick King")
137 ("Richard M. Stallman" "Richard Stallman" "rms@gnu.org")
138 ("Robert J. Chassell" "Bob Chassell")
139 ("Roberto Huelga Díaz" "Roberto Huelga")
140 ("Roland B. Roberts" "Roland B Roberts" "Roland Roberts")
141 ("Rui-Tao Dong" "Rui-Tao Dong ~{6-HpLN~}")
142 ("Sacha Chua" "Sandra Jean Chua")
143 ("Sam Steingold" "Sam Shteingold")
144 ("Satyaki Das" "Indexed search by Satyaki Das")
145 ("Sébastien Vauban" "Sebastien Vauban")
146 ;; There are other Stefans.
147 ;;; ("Stefan Monnier" "Stefan")
148 ("Steven L. Baur" "SL Baur" "Steven L Baur")
149 ("Stewart M. Clamen" "Stewart Clamen")
150 ("Stuart D. Herring" "Stuart Herring" "Davis Herring")
151 ("T.V. Raman" "T\\. V\\. Raman")
152 ("Taichi Kawabata" "KAWABATA,? Taichi")
153 ("Takaaki Ota" "Tak Ota")
154 ("Takahashi Naoto" "Naoto Takahashi")
155 ("Teodor Zlatanov" "Ted Zlatanov")
156 ("Thomas Dye" "Tom Dye")
157 ("Thomas Horsley" "Tom Horsley") ; FIXME ?
158 ("Thomas Wurgler" "Tom Wurgler")
159 ("Toby Cubitt" "Toby S\\. Cubitt")
160 ("Tomohiko Morioka" "MORIOKA Tomohiko")
161 ("Torbjörn Axelsson" "Torbjvrn Axelsson")
162 ("Torbjörn Einarsson" "Torbj.*rn Einarsson")
163 ("Toru Tomabechi" "Toru TOMABECHI")
164 ("Tsugutomo Enami" "enami tsugutomo")
165 ("Ulrich Müller" "Ulrich Mueller")
166 ("Vincent Del Vecchio" "Vince Del Vecchio")
167 ("William M. Perry" "Bill Perry")
168 ("Wlodzimierz Bzyl" "W.*dek Bzyl")
169 ("Yoni Rabkin" "Yoni Rabkin Katzenell")
170 ("Yoshinori Koseki" "KOSEKI Yoshinori" "小関 吉則")
171 ("Yutaka NIIBE" "NIIBE Yutaka")
173 "Alist of author aliases.
175 Each entry is of the form (REALNAME REGEXP...). If an author's name
176 matches one of the REGEXPs, use REALNAME instead.
177 If REALNAME is nil, ignore that author.")
179 ;; FIXME seems it would be less fragile to check for O', Mc, etc.
180 (defconst authors-fixed-case
181 '("Brian van den Broek"
183 "Christian von Roques"
184 "Christophe de Dinechin"
189 "Devon Sean McCullough"
190 "Dominique de Waleffe"
192 "Exal de Jesus Garcia Carrillo"
201 "Nelson Jose dos Santos Ferreira"
210 "List of authors whose names cannot be simply capitalized.")
212 (defvar authors-public-domain-files
227 "List of regexps matching files for which the FSF doesn't need papers.")
230 (defvar authors-obsolete-files-regexps
231 '(".*loaddefs.el$" ; not obsolete, but auto-generated
232 "\\.\\(cvs\\|git\\)ignore$" ; obsolete or uninteresting
234 ;; TODO lib/? Matches other things?
235 "build-aux/" "m4/" "Emacs.xcodeproj" "mapfiles" "\\.map\\'"
236 "preferences\\.\\(nib\\|gorm\\)"
237 ;; Generated files that have since been removed.
238 "\\(refcard\\(-de\\|-pl\\)?\\|calccard\\|dired-ref\\|orgcard\\|\
239 gnus-booklet\\|fr-drdref\\)\\.p\\(df\\|s\\)\\'")
240 "List of regexps matching obsolete files.
241 Changes to files matching one of the regexps in this list are not listed.")
243 (defconst authors-ignored-files
245 "lock" "share-lib" "local-lisp"
247 "NEWS" "ORDERS" "PROBLEMS" "FAQ" "AUTHORS" "FOR-RELEASE" "TODO" "todo"
249 "README.unicode" "README.multi-tty" "TUTORIAL.translators"
250 "NEWS.unicode" "COPYING.DJ" "Makefile.old" "Makefile.am"
251 "NEWS.1" "OOOOONEWS...OONEWS" "OOOONEWS" "etc/NEWS"
252 "NEWS.1-17" "NEWS.18" "NEWS.19" "NEWS.20" "NEWS.21" "NEWS.22"
253 "MAINTAINERS" "MH-E-NEWS"
254 "install.sh" "install-sh" "missing" "mkinstalldirs"
255 "termcap.dat" "termcap.src" "termcap.ucb" "termcap"
256 "ChangeLog.nextstep" "Emacs.clr" "spec.txt"
259 "Imakefile" "icons/sink.ico" "aixcc.lex"
260 "nxml/char-name/unicode"
262 "js2-mode.el" ; only installed very briefly, replaced by js.el
263 ;; In the old imported lisp/url ChangeLog, but never in Emacs.
265 ;; Only briefly present.
266 "tests/gnustest-nntp.el" "tests/gnustest-registry.el"
267 "cedet/tests/testtemplates.cpp"
268 "cedet/tests/testusing.cpp"
269 "cedet/tests/scopetest.cpp"
270 "cedet/tests/scopetest.java"
271 "cedet/tests/test.cpp"
272 "cedet/tests/test.py"
273 "cedet/tests/teststruct.cpp"
276 "cus-load.el" "finder-inf.el" "ldefs-boot.el" "loaddefs-boot.el"
277 "compile" "config.guess" "config.sub" "depcomp"
278 "autogen/compile" "autogen/config.guess" "autogen/config.in"
279 "autogen/config.sub" "autogen/depcomp" "autogen/install-sh"
280 "autogen/missing" "autogen"
281 "autogen/copy_autogen" ; not generated, but trivial and now removed
283 ;; Only existed briefly, then renamed:
284 "images/icons/allout-widgets-dark-bg"
285 "images/icons/allout-widgets-light-bg"
286 ;; Never had any meaningful changes logged, now deleted:
287 "lib/stdarg.in.h" "lib/stdbool.in.h"
288 "unidata/bidimirror.awk" "unidata/biditype.awk"
289 "split-man" "Xkeymap.txt" "ms-7bkermit" "ulimit.hack"
290 "gnu-hp300" "refcard.bit" "ledit.l" "forms.README" "forms-d2.dat"
291 "CXTERM-DIC/PY.tit" "CXTERM-DIC/ZIRANMA.tit"
292 "CXTERM-DIC/CTLau.tit" "CXTERM-DIC/CTLauB.tit"
293 "copying.paper" "celibacy.1" "condom.1" "echo.msg" "sex.6"
294 "COOKIES" "INTERVIEW" "MAILINGLISTS" "MOTIVATION"
295 "NICKLES.WORTH" "INTERVAL.IDEAS" "RCP"
296 "3B-MAXMEM" "AIX.DUMP" "SUN-SUPPORT" "XENIX"
298 "calc/INSTALL" "calc/Makefile" "calc/README.prev"
299 "vms-pp.trans" "_emacs" "batcomp.com" "notes/cpp" ; admin/
302 "Cocoa/Emacs.base/Contents/Info.plist"
303 "Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings"
304 "GNUstep/Emacs.base/Resources/Info-gnustep.plist"
305 "GNUstep/Emacs.base/Resources/Emacs.desktop"
306 "Cocoa/Emacs.base/Contents/Resources/English.lproj"
307 ;; Only existed briefly, then deleted:
308 "coccinelle/overlay.cocci" "coccinelle/symbol.cocci"
309 ;; MH-E stuff not in Emacs:
310 "import-emacs" "release-utils"
311 ;; Erc stuff not in Emacs:
312 "ChangeLog.2001" "ChangeLog.2002" "ChangeLog.2003" "ChangeLog.2004"
314 "README.extras" "dir-template" "mkChangeLog" "MkChangeLog" "erc-auto.in"
319 "debian/maint/conffiles"
320 "debian/maint/conffiles.in"
321 "debian/maint/postinst"
322 "debian/maint/postinst.in"
324 "debian/maint/prerm.in"
325 "debian/README.Debian"
326 "debian/README.erc-speak"
328 "debian/scripts/install"
329 "debian/scripts/install.in"
330 "debian/scripts/remove"
331 "debian/scripts/remove.in"
332 "debian/scripts/startup"
333 "debian/scripts/startup.erc"
334 "debian/scripts/startup.erc-speak"
335 ;; Used to be in admin, not very interesting.
336 "emacs-pretesters" "make-announcement" "make-changelog-diff"
337 ;; Textual comments that are not files.
338 "All" "Version" "Everywhere" "Many" "Various" "files"
340 "vms" "mac" "url" "tree-widget"
342 "List of files and directories to ignore.
343 Changes to files in this list are not listed.")
345 ;; List via: find . -name '*.el' | sed 's/.*\///g' | sort | uniq -d
346 ;; FIXME It would be better to discover these dynamically.
347 (defconst authors-ambiguous-files
402 "List of basenames occurring more than once in the source.")
404 ;; FIXME :cowrote entries here can be overwritten by :wrote entries
405 ;; derived from a file's Author: header (eg mh-e). This really means
406 ;; the Author: header is erroneous.
407 (defconst authors-fixed-entries
408 '(("Richard M. Stallman" :wrote
"[The original GNU Emacs and numerous files]")
409 ("Joseph Arceneaux" :wrote
"xrdb.c")
410 ;; This refers to the obsolete Willisson (qv) version.
411 ;;; ("Blitz Product Development Corporation" :wrote "ispell.el")
412 ("Frank Bresz" :wrote
"diff.el")
413 ("David M. Brown" :wrote
"array.el")
414 ;; No longer distributed.
415 ;;; ("Gary Byers" :changed "xenix.h")
416 ;; No longer distributed: freebsd.h
417 ;; Only trivial pieces remain, merged into configure.ac.
418 ("Shawn M. Carey" :wrote
"[some early FreeBSD support]")
419 ;; hp800.h renamed from hp9000s800.h, hpux.h merged into hpux10-20.h.
420 ;; FIXME overwritten by Author:.
421 ("Satyaki Das" :cowrote
"mh-search.el")
422 ;; No longer distributed: hp800.h, hpux10-20.h.
423 ;; Only trivial pieces remain, merged into configure.ac.
424 ("Eric Decker" :changed
"sysdep.c (and other files for HP-UX support)")
425 ("Lawrence R. Dodd" :cowrote
"dired-x.el")
426 ;; No longer distributed.
427 ;;; ("Viktor Dukhovni" :wrote "unexsunos4.c")
428 ("Paul Eggert" :wrote
"rcs2log") ; "vcdiff"
429 ("Fred Fish" :changed
"unexcoff.c")
430 ;; No longer distributed.
431 ;;; ("Tim Fleehart" :wrote "makefile.nt")
432 ("Keith Gabryelski" :wrote
"hexl.c")
433 ("Kevin Gallagher" :wrote
"flow-ctrl.el")
434 ;; Also wrote an earlier version of disp-table.el, since replaced
435 ;; by Erik Naggum's version; also iso-syntax.el, later renamed to
436 ;; latin-1.el, since deleted.
437 ("Howard Gayle" :wrote
"casetab.c")
438 ;; :wrote mh-pick.el, since merged into mh-search.el.
439 ;; Originally wrote mh-funcs.el, but it has been rewritten since.
440 ("Stephen Gildea" :wrote
"refcard.tex"
441 :cowrote
"mh-funcs.el" "mh-search.el")
442 ;; cl.texinfo renamed to cl.texi.
443 ("David Gillespie" :wrote
"cl.texi")
444 ;; No longer distributed: emacsserver.c.
445 ("Hewlett-Packard" :changed
"emacsclient.c" "server.el" "keyboard.c")
446 ;; No longer distributed.
447 ;;; ("Thomas Horsley" :wrote "cxux.h" "cxux7.h")
448 ("Indiana University Foundation" :changed
"buffer.c" "buffer.h"
449 "indent.c" "search.c" "xdisp.c" "region-cache.c" "region-cache.h")
450 ;; ibmrt.h, ibmrt-aix.h no longer distributed.
451 ("International Business Machines" :changed
"emacs.c" "fileio.c"
452 "process.c" "sysdep.c" "unexcoff.c")
453 ;; No longer distributed.
454 ;;; ("Ishikawa Chiaki" :changed "aviion.h" "dgux.h")
455 ;; No longer distributed: ymakefile, intel386.h, mem-limits.h, template.h,
456 ;; linux.h (was renamed to lignux.h, then to gnu-linux.h, then removed)
457 ("Michael K. Johnson" :changed
"configure.ac" "emacs.c"
458 "process.c" "sysdep.c" "syssignal.h" "systty.h" "unexcoff.c")
459 ;; No longer distributed.
460 ;;; ("Kyle Jones" :wrote "mldrag.el")
461 ("Henry Kautz" :wrote
"bib-mode.el")
462 ;; No longer distributed: vms-pwd.h, vmsfns.c, uaf.h,
463 ;; dir.h (was renamed to vmsdir.h, then removed)
464 ("Joseph M. Kelsey" :changed
"fileio.c")
465 ("Sam Kendall" :changed
"etags.c" "etags.el")
466 ;; ack.texi: "We're not using his backquote.el any more."
467 ("Richard King" :wrote
"userlock.el" "filelock.c")
468 ("Sebastian Kremer" :changed
"add-log.el")
469 ("Mark Lambert" :changed
"process.c" "process.h")
470 ("Aaron Larson" :changed
"bibtex.el")
471 ;; It was :wrote, but it has been rewritten since.
472 ("James R. Larus" :cowrote
"mh-e.el")
473 ("Lars Lindberg" :changed
"dabbrev.el" :cowrote
"imenu.el")
474 ;; No longer distributed: lselect.el.
475 ("Lucid, Inc." :changed
"bytecode.c" "byte-opt.el" "byte-run.el"
476 "bytecomp.el" "delsel.el" "disass.el" "faces.el" "font-lock.el"
477 "lmenu.el" "mailabbrev.el" "select.el" "xfaces.c" "xselect.c")
478 ;; MCC. No longer distributed: emacsserver.c.
479 ("Microelectronics and Computer Technology Corporation"
480 :changed
"etags.c" "emacsclient.c" "movemail.c"
481 "rmail.el" "rmailedit.el" "rmailkwd.el"
482 "rmailmsc.el" "rmailout.el" "rmailsum.el" "scribe.el"
483 ;; It was :wrote for xmenu.c, but it has been rewritten since.
484 "server.el" "lisp.h" "sysdep.c" "unexcoff.c" "xmenu.c")
485 ("Niall Mansfield" :changed
"etags.c")
486 ("Brian Marick" :cowrote
"hideif.el")
487 ("Marko Kohtala" :changed
"info.el")
488 ("Sidney Markowitz" :changed
"doctor.el")
489 ;; No longer distributed: env.c.
490 ("Richard Mlynarik" :wrote
"ehelp.el")
491 ("Mosur Mohan" :changed
"etags.c")
492 ("Jeff Morgenthaler" :changed
"flow-ctrl.el" "vt200.el" "vt201.el"
493 "vt220.el" "vt240.el")
494 ("Motorola" :changed
"buff-menu.el")
495 ("Hiroshi Nakano" :changed
"ralloc.c")
496 ;; File removed in Emacs 24.1.
497 ;;; ("Sundar Narasimhan" :changed "rnewspost.el")
498 ;; No longer distributed.
499 ;;; ("NeXT, Inc." :wrote "unexnext.c")
500 ("Mark Neale" :changed
"fortran.el")
501 ;; Renamed from sc.el.
502 ("Martin Neitzel" :changed
"supercite.el")
503 ("Andrew Oram" :changed
"calendar.texi (and other doc files)")
504 ("Frederic Pierresteguy" :wrote
"widget.c")
505 ("Michael D. Prange" :changed
"tex-mode.el")
506 ;; No longer distributed (dgux5-4r3.h was renamed to dgux5-4-3.h).
507 ;;; ("Paul Reilly" :wrote "gux5-4r2.h" "dgux5-4-3.h")
508 ("Rob Riepel" :wrote
"tpu-edt.doc")
509 ("Roland B. Roberts" :changed
"files.el" "sort.el"
510 "buffer.h" "callproc.c" "dired.c" "process.c" "sysdep.c" "systty.h")
511 ;; No longer distributed.
512 ;;; "vmspaths.h" "build.com" "compile.com" "kepteditor.com" "precomp.com"
513 ;;; "vmsproc.el" :wrote "logout.com" "mailemacs.com")
514 ;;; ("Guillermo J. Rozas" :wrote "fakemail.c")
515 ("Wolfgang Rupprecht" :changed
"lisp-mode.el" "loadup.el"
516 "sort.el" "alloc.c" "callint.c"
517 ;; config.in renamed from config.h.in, now a generated file.
518 ;; ecrt0.c renamed from crt0.c, then removed.
520 "lisp.h" "lread.c" ; "sun3.h" "ymakefile" - no longer distributed
521 "print.c" :wrote
"float-sup.el" "floatfns.c")
522 ("Schlumberger Technology Corporation" :changed
"gud.el")
523 ;; Replaced by tcl.el.
524 ;;; ("Gregor Schmid" :wrote "tcl-mode.el")
525 ;; No longer distributed since 24.1.
526 ;;; ("Rainer Schöpf" :wrote "alpha.h" "unexalpha.c")
527 ;; No longer distributed: emacsserver.c.
528 ("William Sommerfeld" :wrote
"emacsclient.c" "scribe.el")
529 ;; No longer distributed: emacsserver.c.
530 ("Leigh Stoller" :changed
"emacsclient.c" "server.el")
531 ("Steve Strassmann" :wrote
"spook.el")
532 ("Shinichirou Sugou" :changed
"etags.c")
533 ;; No longer distributed: emacsserver.c.
534 ("Sun Microsystems, Inc" :changed
"emacsclient.c" "server.el"
535 :wrote
"emacs.icon" "sun.el")
536 ;; No longer distributed.
537 ;;; "emacstool.1" "emacstool.c" "sun-curs.el"
538 ;;; "sun-fns.el" "sun-mouse.el" "sunfns.c")
539 ;; Renamed from sc.el.
540 ("Kayvan Sylvan" :changed
"supercite.el")
541 ;; No longer distributed: emacsserver.c, tcp.c.
542 ("Spencer Thomas" :changed
"emacsclient.c" "server.el"
543 "dabbrev.el" "unexcoff.c" "gnus.texi")
544 ("Jonathan Vail" :changed
"vc.el")
545 ;; No longer distributed: usg5-4.h
546 ("James Van Artsdalen" :changed
"unexcoff.c")
547 ;; No longer distributed: src/makefile.nt, lisp/makefile.nt
548 ;; winnt.el renamed to w32-fns.el; nt.[ch] to w32.[ch];
549 ;; ntheap.[ch] to w32heap.[ch]; ntinevt.c to w32inevt.c;
550 ;; ntproc.c to w32proc.c; ntterm.c to w32term.c;
551 ;; windowsnt.h to ms-w32.h.
552 ("Geoff Voelker" :wrote
"w32-fns.el" "w32.c" "w32.h" "w32heap.c"
553 "w32heap.h" "w32inevt.c" "w32proc.c" "w32term.c" "ms-w32.h")
554 ("Morten Welinder" :wrote
"dosfns.c" "[many MS-DOS files]" "msdos.h")
555 ("Eli Zaretskii" :wrote
"bidi.c" "[bidirectional display in xdisp.c]"
556 "[tty menus in term.c]")
557 ;; Not using this version any more.
558 ;;; ("Pace Willisson" :wrote "ispell.el")
559 ;; FIXME overwritten by Author:.
560 ("Bill Wohler" :cowrote
"mh-e.el")
561 ("Garrett Wollman" :changed
"sendmail.el")
562 ("Dale R. Worley" :changed
"mail-extr.el")
563 ("Jamie Zawinski" :changed
"bytecode.c" :wrote
"tar-mode.el"
564 :cowrote
"disass.el"))
565 "Actions taken from the original, manually (un)maintained AUTHORS file.")
568 (defconst authors-valid-file-names
578 ;; There were a few of these, not just the generated top-level one.
579 "configure" "config.h"
580 "is_exec.c" "sigaction.c"
582 "ebuild.bat" "install.bat" "fast-install.bat"
583 "debug.bat.in" "emacs.bat.in" "addsection.c"
584 "inc/sys/dir.h" "inc/gettext.h"
596 "permute-index" "index.perm"
598 "b2m.c" "b2m.1" "b2m.pl" "rcs-checkin.1"
599 "emacs.bash" "emacs.csh" "ms-kermit"
602 "emacs.py" "emacs2.py" "emacs3.py"
603 "BABYL" "LPF" "LEDIT" "OTHER.EMACSES"
604 "emacs16_mac.png" "emacs24_mac.png"
605 "emacs256_mac.png" "emacs32_mac.png"
606 "emacs48_mac.png" "emacs512_mac.png"
607 "ps-prin2.ps" "ps-prin3.ps"
608 "emacs.xbm" "gnu.xpm" "gnus-pointer.xbm" "gnus-pointer.xpm"
609 ;; Moved from etc/ to etc/images, and/or removed.
610 "gnus.pbm" "gnus.xbm" "gnus.xpm" "letter.pbm" "letter.xbm" "letter.xpm"
611 "splash.pbm" "splash.xbm" "splash.xpm" "splash8.xpm"
612 "images/execute.pbm" "images/execute.xpm" "images/fld-open.pbm"
613 "images/fld-open.xpm" "images/highlight.pbm" "images/highlight.xpm"
614 "images/mail.pbm" "images/mail.xpm" "images/mail/alias.pbm"
615 "images/mail/alias.xpm" "images/mail/refile.pbm"
616 "images/mail/refile.xpm" "images/page-down.pbm"
617 "images/page-down.xpm" "images/widen.pbm" "images/widen.xpm"
618 "images/gnus/bar.xbm" "images/gnus/bar.xpm"
619 "images/gnus/reverse-smile.xpm"
621 "vcdiff" "rcs-checkin" "tindex.pl"
622 "mainmake" "sed1.inp" "sed2.inp" "sed3.inp" ; msdos/
624 ;; Deleted vms stuff:
625 "temacs.opt" "descrip.mms" "compile.com" "link.com"
626 "compact.el" "fadr.el"
628 "emacs-lisp/cl-specs.el"
629 "emacs-lisp/eieio-comp.el"
631 "eshell/esh-maint.el"
632 "language/persian.el"
633 "ledit.el" "meese.el" "iswitchb.el" "longlines.el"
634 "mh-exec.el" "mh-init.el" "mh-customize.el"
635 "net/zone-mode.el" "xesam.el"
636 "term/mac-win.el" "sup-mouse.el"
637 "term/vt102.el" "term/vt201.el" "term/vt220.el" "term/vt300.el"
638 "term/vt320.el" "term/vt400.el" "term/vt420.el"
640 "org-mac-message.el" "org-mew.el" "org-w3m.el" "org-vm.el" "org-wl.el"
641 "org-mks.el" "org-remember.el" "org-xoxo.el" "org-docbook.el"
642 "org-freemind.el" "ox-jsinfo.el"
643 "org-exp-blocks.el" ; maybe this is ob-exp now? dunno
645 "org-special-blocks.el" "org-taskjuggler.el"
646 "progmodes/cap-words.el"
648 "nnwfm.el" "nnlistserv.el" "nnkiboze.el" "nndb.el" "nnsoup.el"
649 "netrc.el" "password.el" "sasl-cram.el" "sasl-digest.el" "sasl-ntlm.el"
650 "sasl.el" "dig.el" "dns.el" "hex-util.el" "sha1.el" "md4.el"
651 "hmac-def.el" "hmac-md5.el" "ntlm.el" "hashcash.el" "smime-ldap.el"
652 "assistant.el" "gnus-utils.el" "tls.el" "pgg-def.el" "pgg-gpg.el"
653 "gnus-compat.el" "pgg-parse.el" "pgg-pgp.el" "pgg-pgp5.el" "pgg.el"
654 "dns-mode.el" "run-at-time.el" "gnus-encrypt.el" "sha1-el.el"
655 "gnus-gl.el" "gnus.sum.el" "proto-stream.el" "color.el" "color-lab.el"
656 "eww.el" "shr-color.el" "shr.el" "earcon.el" "gnus-audio.el" "encrypt.el"
657 "format-spec.el" "gnus-move.el"
659 "getopt.c" "texindex.c" "news.texi" "vc.texi" "vc2-xtra.texi"
660 "back.texi" "vol1.texi" "vol2.texi" "elisp-covers.texi" "two.el"
661 "front-cover-1.texi" "locals.texi" "calendar.texi" "info-stnd.texi"
663 "advice.texi" "picture.texi" "texinfo.tex"
665 "dispatch.c" "dispatch.h" "xrdb-cpp.c" "xrdb.c"
666 "lwlib-Xol.c" "lwlib-Xol.h" "lwlib-Xolmb.c" "lwlib-Xolmb.h"
669 "lib/stdio.c" "lib/gl_openssl.h" "lib/sigprocmask.c"
670 "lib/pthread_sigprocmask.c" "lib/ldtoastr.c" "lib/dummy.c"
673 "cvtmail.c" "digest-doc.c" "emacsserver.c" "emacstool.c" "env.c"
674 "etags-vmslib.c" "fakemail.c" "getdate.c" "getopt.h" "getopt1.c"
675 "getopt_.h" "getopt_int.h" "gettext.h" "leditcfns.c" "loadst.c"
676 "make-path.c" "qsort.c" "sorted-doc.c" "tcp.c" "timer.c" "wakeup.c"
679 "emacsclient.c" "etags.c" "hexl.c" "make-docfile.c" "movemail.c"
680 "test-distrib.c" "testfile"
681 "tpu-edt.doc" ; see below
683 "File names which are valid, but no longer exist (or cannot be found)
686 ;; Note that any directory part on the RHS is retained.
687 ;; Cf authors-renamed-files-regexps.
688 ;; NB So only add a directory if needed to disambiguate.
690 ;; Although perhaps we could let authors-disambiguate-file-name do that?
691 (defconst authors-renamed-files-alist
692 '(("nt.c" .
"w32.c") ("nt.h" .
"w32.h")
693 ("ntheap.c" .
"w32heap.c") ("ntheap.h" .
"w32heap.h")
694 ("ntinevt.c" .
"w32inevt.c") ("ntinevt.h" .
"w32inevt.h")
695 ("ntproc.c" .
"w32proc.c")
696 ("w32console.c" .
"w32term.c")
697 ("unexnt.c" .
"unexw32.c")
698 ("s/windowsnt.h" .
"s/ms-w32.h")
699 ("s/ms-w32.h" .
"inc/ms-w32.h")
700 ("src/config.h" .
"config.h")
701 ("winnt.el" .
"w32-fns.el")
702 ("linux.h" .
"gnu-linux.h")
703 ("emacs.manifest" .
"emacs-x86.manifest")
704 ("config.emacs" .
"configure")
705 ("configure.in" .
"configure.ac")
706 ("config.h.dist" .
"config.in")
707 ("config.h-dist" .
"config.in")
708 ("config.h.in" .
"config.in")
709 ("debug.bat" .
"debug.bat.in")
710 ("emacs.bat" .
"emacs.bat.in")
711 ;; paths.h.dist -> paths.h-dist -> paths.h.in -> paths.in -> epaths.in.
712 ("paths.h.dist" .
"epaths.in")
713 ("paths.h-dist" .
"epaths.in")
714 ("paths.h.in" .
"epaths.in")
715 ("paths.in" .
"epaths.in")
716 ("patch1" .
"sed1.inp")
717 ("INSTALL.MSYS" .
"INSTALL")
718 ("server.c" .
"emacsserver.c")
719 ("lib-src/etags.c" .
"etags.c")
721 ("is-exec.c" .
"is_exec.c")
722 ("enriched.doc" .
"enriched.txt")
723 ("GETTING.GNU.SOFTWARE" .
"FTP")
724 ("etc/MACHINES" .
"MACHINES")
725 ("ONEWS" .
"NEWS.19")
726 ("ONEWS.1" .
"NEWS.1-17")
727 ("ONEWS.2" .
"NEWS.1-17")
728 ("ONEWS.3" .
"NEWS.18")
729 ("ONEWS.4" .
"NEWS.18")
730 ("ORDERS.USA" .
"ORDERS")
731 ("EUROPE" .
"ORDERS")
732 ("DIFF" .
"OTHER.EMACSES")
733 ("CCADIFF" .
"OTHER.EMACSES")
734 ("GOSDIFF" .
"OTHER.EMACSES")
735 ;; Moved from lisp/tpu-doc.el to etc/tpu-edt.doc in Emacs 19.29.
736 ;; Removed in Emacs 19.30, replaced by new file etc/edt-user.doc
737 ;; (no associated ChangeLog entry).
738 ("tpu-doc.el" .
"tpu-edt.doc")
739 ("Makefile.in.in" .
"Makefile.in")
740 ("leim-Makefile" .
"leim/Makefile")
741 ("leim-Makefile.in" .
"leim/Makefile.in")
742 ("emacs-lisp/testcover-ses.el" .
"tcover-ses.el")
743 ("emacs-lisp/testcover-unsafep.el" .
"tcover-unsafep.el")
744 ("progmodes/dos.el" .
"bat-mode.el")
745 ;; index and pick merged into search.
746 ("mh-index.el" .
"mh-search.el")
747 ("mh-pick.el" .
"mh-search.el")
748 ("font-setting.el" .
"dynamic-setting.el")
749 ("help-funs.el" .
"help-fns.el")
750 ("erc-notifications.el" .
"erc-desktop-notifications.el")
751 ("org-complete.el" .
"org-pcomplete.el")
752 ("org-export.el" .
"ox.el") ; ?
753 ;; Was definitely renamed to org-latex.el, then... ?
754 ("org-export-latex.el" .
"ox-latex.el") ; ?
755 ("org-exp.el" .
"ox.el") ; ?
756 ("progmodes/cfengine3.el" .
"cfengine.el")
757 ("progmodes/delphi.el" .
"opascal.el")
758 ("octave-inf.el" .
"octave.el")
759 ("octave-mod.el" .
"octave.el")
760 ("progmodes/octave-inf.el" .
"octave.el")
761 ("progmodes/octave-mod.el" .
"octave.el")
763 ("emacs-lisp/assoc.el" .
"assoc.el")
764 ("emacs-lisp/cust-print.el" .
"cust-print.el")
765 ("emacs-lisp/gulp.el" .
"gulp.el")
766 ("emulation/crisp.el" .
"crisp.el")
767 ("emulation/tpu-edt.el" .
"tpu-edt.el")
768 ("emulation/tpu-extras.el" .
"tpu-extras.el")
769 ("emulation/vi.el" .
"vi.el")
770 ("emulation/vip.el" .
"vip.el")
771 ("emulation/ws-mode.el" .
"ws-mode.el")
772 ("mail/mailpost.el" .
"mailpost.el")
773 ("play/bruce.el" .
"bruce.el")
774 ("play/yow.el" .
"yow.el")
775 ("patcomp.el" .
"patcomp.el")
776 ;; From lisp to etc/forms.
777 ("forms-d2.el" .
"forms-d2.el")
778 ("forms-pass.el" .
"forms-pass.el")
779 ;; From lisp/ to etc/nxml.
780 ("nxml/test.invalid.xml" .
"test-invalid.xml")
781 ("nxml/test.valid.xml" .
"test-valid.xml")
782 ;; The one in lisp is eshell/eshell.el.
783 ("eshell.el" .
"automated/eshell.el")
784 ("eshell/esh-test.el" .
"automated/eshell.el")
785 ;; INSTALL-CVS -> .CVS -> .BZR -> .REPO
786 ("INSTALL-CVS" .
"INSTALL.REPO")
787 ("INSTALL.CVS" .
"INSTALL.REPO")
788 ("INSTALL.BZR" .
"INSTALL.REPO")
789 ("gnus-logo.eps" .
"gnus-logo.eps") ; moved to refcards/
790 ("build-install" .
"build-ins.in")
791 ("build-install.in" .
"build-ins.in")
792 ("unidata/Makefile" .
"unidata/Makefile.in")
793 ("mac/uvs.el" .
"unidata/uvs.el")
794 ;; Moved from top to etc/
795 ("CONTRIBUTE" .
"CONTRIBUTE")
797 ;; Moved from top to build-aux/
798 ("move-if-change" .
"move-if-change")
799 ("update-subdirs" .
"update-subdirs")
800 ("emacs.tex" .
"emacs.texi")
801 ("faq.texi" .
"efaq.texi")
802 ("major.texi" .
"modes.texi")
803 ("msdog-xtra.texi" .
"msdos-xtra.texi")
804 ("msdog.texi" .
"msdos.texi")
805 ;; And from emacs/ to misc/ and back again.
806 ("ns-emacs.texi" .
"macos.texi")
807 ("overrides.texi" .
"gnus-overrides.texi")
808 ("xresmini.texi" .
"xresources.texi")
809 ;; Not renamed, but we only have the latter in the Emacs repo.
810 ("trampver.texi.in" .
"trampver.texi")
811 ;; Renamed with same directory.
812 ("e/eterm" .
"eterm-color")
813 ("e/eterm.ti" .
"eterm-color.ti")
814 ("README.txt" .
"README")
815 ("emacs.names" .
"JOKES")
816 ("ED.WORSHIP" .
"JOKES")
817 ("GNU.JOKES" .
"JOKES")
818 ("CHARACTERS" .
"TODO")
819 ("images/gnus/mail_send.xpm" .
"mail-send.xpm") ; still in images/gnus
820 ;; Renamed within same directory.
821 ("schema/xhtml-basic-form.rnc" .
"xhtml-bform.rnc" )
822 ("schema/xhtml-basic-table.rnc" .
"xhtml-btable.rnc")
823 ("schema/xhtml-list.rnc" .
"xhtml-lst.rnc")
824 ("schema/xhtml-target.rnc" .
"xhtml-tgt.rnc")
825 ("schema/xhtml-style.rnc" .
"xhtml-xstyle.rnc")
826 ("schema/docbook-dyntbl.rnc" .
"docbk-dyntbl.rnc")
827 ("schema/docbook-soextbl.rnc" .
"docbk-soextbl.rn" )
828 ("edt-user.doc" .
"edt.texi")
829 ("DEV-NOTES" .
"nextstep")
830 ("org/COPYRIGHT-AND-LICENSE" .
"org/README")
831 ;; Moved to different directories.
832 ("ctags.1" .
"ctags.1")
833 ("etags.1" .
"etags.1")
834 ("emacs.1" .
"emacs.1")
835 ("emacsclient.1" .
"emacsclient.1")
836 ("icons/emacs21.ico" .
"emacs21.ico")
837 ("ja-dic" .
"leim/ja-dic")
838 ("quail" .
"leim/quail")
839 ;; Moved from autogen/ to admin/.
840 ("autogen/update_autogen" .
"update_autogen")
841 ;; Moved from etc/ to admin/.
842 ("grammars" .
"grammars")
843 ;; Moved from lisp/emacs-lisp/ to admin/.
844 ("emacs-lisp/authors.el" .
"authors.el")
845 ;; From etc to lisp/cedet/semantic/.
846 ("grammars/bovine-grammar.el" .
"bovine/grammar.el")
847 ("grammars/wisent-grammar.el" .
"wisent/grammar.el")
848 ;; Moved from admin/nt/ to nt/.
849 ("nt/README.W32" .
"README.W32")
851 "Alist of files which have been renamed during their lifetime.
852 Elements are (OLDNAME . NEWNAME).")
854 ;; Should still test that the renamed file exists. Does it?
855 ;; But it might be relative to a different ChangeLog...
857 ;; Note that only the basename of the RHS is used.
858 ;; Cf authors-renamed-files-alist.
859 (defconst authors-renamed-files-regexps
860 '(("\\`\\(arg-nonnull\\|c\\+\\+defs\\|warn-on-use\\)\\.h\\'"
861 "build-aux/snippet/\\&")
862 ("\\`\\(ebuild\\|emacs\\|install\\|fast-install\\)\\.cmd\\'" "\\1.bat")
863 ("\\`\\(book-spine\\|cl\\|forms\\|functions\\|gnus\\|sc\\|texinfo\\|vip\\)\
864 \\.texinfo\\'" "\\1.texi")
865 ("\\`\\(\\(calc\\|org\\|vip\\)card\\|viperCard\\|\
866 \\(\\(cs\\|fr\\|sk\\)-\\)?dired-ref\\|\
867 \\(\\(cs\\|de\\|fr\\|gnus\\|pl\\|pt-br\\|ru\\|sk\\)-\\)?refcard\\|\
868 \\(\\(cs\\|fr\\|sk\\)-\\)?survival\\)\\.tex\\'" "refcards/\\&")
869 ("\\`refcard-\\(de\\|pl\\)\\.tex\\'" "refcards/\\1-refcard.tex")
870 ("\\`\\(refcards/\\)?fr-drdref\\.tex\\'" "refcards/fr-dired-ref.tex")
871 ("^\\(TUTORIAL[^/]*\\)" "tutorials/\\1")
872 ("\\`themes/dev-\\(tsdh-\\(?:light\\|dark\\)-theme\\.el\\)\\'"
874 ;; Moved from lisp/toolbar to etc/images.
875 ("\\`toolbar/\\(back\\|fwd\\|left\\|right\\|up\\)_arrow\
876 \\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/\\1-arrow\\2")
877 ("\\`toolbar/lc-\\(back\\|fwd\\|left\\|right\\|up\\)_arrow\
878 \\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/low-color/\\1-arrow\\2")
879 ("\\`toolbar/mail_\\(compose\\|send\\)\\(\\.[xp]bm\\)\\'"
881 ("\\`toolbar/jump_to\\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/jump-to\\1")
882 ("\\`toolbar/lc-jump_to\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
883 "images/low-color/jump-to\\1")
884 ("\\`toolbar/\\(attach\\|cancel\\|close\\|copy\\|cut\\|\
885 diropen\\|exit\\|help\\|home\\|index\\|info\\|mail\\|new\\|open\\|\
886 paste\\|preferences\\|print\\|save\\|saveas\\|search\\|search-replace\\|\
887 spell\\|undo\\)\\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/\\1\\2")
888 ("\\`toolbar/gud-\\(break\\|cont\\|down\\|finish\\|print\\|pstar\\|\
889 remove\\|run\\|until\\|up\\|watch\\)\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
891 ("\\`\\(toolbar/gud-\\|images/gud/\\)n\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
892 "images/gud/next\\2\\3")
893 ("\\`\\(toolbar/gud-\\|images/gud/\\)s\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
894 "images/gud/step\\2\\3")
895 ("\\`toolbar/lc-\\([-a-z]+\\.xpm\\)\\'" "images/low-color/\\1")
896 ("^\\(tree-widget/\\(?:default\\|folder\\)/[-a-z]+\\.\\(png\\|xpm\\)\\)$"
898 ("^\\(images/icons/\\)mac\\(emacs\\)_\\([0-9]+\\)\\(\\.png\\)"
900 ("\\(images/icons/\\)emacs_\\([0-9][0-9]\\)\\.png"
901 "\\1hicolor/\\2x\\2/apps/emacs.png")
902 ;; Moved from leim/ to lisp/leim/.
903 ("\\`quail/[-a-z0-9]+\\.el\\'" "leim/\\&")
904 ("\\`ja-dic/ja-dic\\.el\\'" "leim/\\&")
905 ("\\`vc-\\(rcs\\|cvs\\|sccs\\)-hooks\\.el\\'" "vc/vc-\\1.el")
906 ("\\`vc-\\(annotate\\|arch\\|bzr\\|cvs\\|dav\\|dir\\|dispatcher\\|\
907 git\\|hg\\|hooks\\|mtn\\|rcs\\|sccs\\|svn\\)\\.el\\'" "vc/\\&")
908 ("\\`ediff-\\(diff\\|help\\|hook\\|init\\|merg\\|mult\\|ptch\\|util\\|\
909 vers\\|wind\\)\\.el\\'" "vc/\\&")
910 ("\\`pcvs-\\(defs\\|info\\|parse\\|util\\)\\.el\\'" "vc/\\&")
911 ("\\`\\(add-log\\|compare-w\\|cvs-status\\|diff-mode\\|diff\\|\
912 ediff\\|emerge\\|log-edit\\|log-view\\|pcvs\\|smerge-mode\\|vc\\)\\.el\\'"
914 ("\\`\\(emacs-lisp/\\)?helpers\\.el\\'" "emacs-lisp/subr-x.el")
915 ;; I assume this is (essentially) what happened, org/ChangeLog is vague.
916 ("\\`org-\\(ascii\\|beamer\\|html\\|icalendar\\|jsinfo\\|latex\
917 \\|odt\\|publish\\)\\.el\\'" "ox-\\1.el")
918 ;; From test/ to test/automated/.
919 ("comint-testsuite.el" "automated/\\&")
920 ("\\`\\(bytecomp\\|font-parse\\|icalendar\\|occur\\|newsticker\\)\
921 -testsuite\\.el" "automated/\\1-tests.el")
922 ;; NB lax rules should come last.
923 ("^m/m-\\(.*\\.h\\)$" "m/\\1" t
)
924 ("^m-\\(.*\\.h\\)$" "\\1" t
)
925 ("^s/s-\\(.*\\.h\\)$" "s/\\1" t
)
926 ("^s-\\(.*\\.h\\)$" "\\1" t
)
927 ("\\.\\(el\\|[ch]\\|x[pb]m\\|pbm\\)\\'" t t
)
929 "List of regexps and rewriting rules for renamed files.
930 Elements are (REGEXP REPLACE [LAX]). If REPLACE is a string, the file
931 name matching REGEXP is replaced by REPLACE using `replace-string'.
932 Otherwise, the file name is accepted as is.
933 Elements with LAX non-nil are only used in `authors-lax-changelogs'.")
935 ;; It's really not worth trying to make these old logs fully valid.
936 ;; All the obvious real errors are gone.
937 ;; The main issue is _lots_ of moving around of files.
938 ;; Eg the progmodes/ (etc) directories did not exist before 1997.
939 ;; Also, lib-src/ did not exist, the files were in etc/.
940 ;; And various other things.
941 ;; Maybe this should just be any ChangeLog with a . extension,
942 ;; assuming we always fix logs fully before rotating them?
943 (defconst authors-lax-changelogs
944 '("erc/ChangeLog\\.0[1-8]\\'"
945 "gnus/ChangeLog\\.[1-2]\\'"
946 "lisp/ChangeLog\\.\\([1-9]\\|1[0-5]\\)\\'"
947 "mh-e/ChangeLog\\.1\\'"
948 "src/ChangeLog\\.\\([1-9]\\|1[0-2]\\)\\'")
949 "List of regexps matching ChangeLogs that we do not print errors from.
950 These are older ChangeLogs that have various issues.
951 Additionally, for these logs we apply the `lax' elements of
952 `authors-renamed-files-regexps'.")
955 (defvar authors-checked-files-alist
)
956 (defvar authors-invalid-file-names
)
958 ;; This has become rather yucky. :(
959 (defun authors-disambiguate-file-name (fullname)
960 "Convert FULLNAME to an unambiguous relative-name."
961 (let ((relname (file-name-nondirectory fullname
))
963 (if (and (member relname authors-ambiguous-files
)
964 ;; Try to identify the top-level directory.
965 ;; FIXME should really use ROOT from M-x authors.
966 (not (and (file-directory-p
969 (setq dir
(file-name-directory fullname
))))
970 (file-directory-p (expand-file-name "etc" dir
)))))
971 ;; I think it looks weird to see eg "lisp/simple.el".
972 ;; But for eg Makefile.in, we do want to say "lisp/Makefile.in".
973 (if (and (string-equal "lisp"
974 (setq parent
(file-name-nondirectory
975 (directory-file-name dir
))))
976 ;; TODO better to simply have hard-coded list?
977 ;; Only really Makefile.in where this applies.
979 (expand-file-name (concat "../" relname
) dir
))))
981 ;; In case of ambiguity, just prepend the parent directory.
982 ;; FIXME obviously this is not a perfect solution.
983 (format "%s/%s" (file-name-nondirectory (directory-file-name dir
))
987 (defun authors-lax-changelog-p (file)
988 "Return non-nil if FILE matches `authors-lax-changelogs'."
989 (let ((list authors-lax-changelogs
)
992 (setq list
(if (setq found
(string-match-p (car list
) file
))
997 (defun authors-canonical-file-name (file log-file pos author
)
998 "Return canonical file name for FILE found in LOG-FILE.
999 Checks whether FILE is a valid (existing) file name, has been renamed,
1000 or is on the list of removed files. Returns the non-directory part of
1001 the file name. Only uses the LOG-FILE position POS and associated AUTHOR
1002 to print a message if FILE is not found."
1003 ;; FILE should be re-checked in every different directory associated
1004 ;; with a LOG-FILE. Eg configure.ac from src/ChangeLog is not the
1005 ;; same as that from top-level/ChangeLog.
1006 (let* ((fullname (expand-file-name file
(file-name-directory log-file
)))
1007 (entry (assoc fullname authors-checked-files-alist
))
1008 laxlog relname valid
)
1011 (setq relname
(file-name-nondirectory file
))
1012 (if (or (member file authors-valid-file-names
)
1013 (member relname authors-valid-file-names
)
1014 (file-exists-p file
)
1015 (file-exists-p relname
) ; FIXME? appropriate?
1017 (setq valid
(authors-disambiguate-file-name fullname
))
1018 (if (setq valid
(assoc file authors-renamed-files-alist
))
1019 (setq valid
(cdr valid
))
1020 (setq laxlog
(authors-lax-changelog-p log-file
))
1021 (let ((rules authors-renamed-files-regexps
)
1024 (setq rule
(car rules
))
1025 (if (and (or laxlog
(not (nth 2 rule
)))
1026 (string-match (car rule
) file
))
1027 (setq valid
(if (stringp (nth 1 rule
))
1028 (file-name-nondirectory
1029 (replace-match (nth 1 rule
) t nil file
))
1032 (setq rules
(cdr rules
)))))))
1033 (setq authors-checked-files-alist
1034 (cons (cons fullname valid
) authors-checked-files-alist
))
1036 (member file authors-ignored-files
)
1037 (authors-obsolete-file-p file
)
1038 (string-match "[*]" file
)
1039 (string-match "^[0-9.]+$" file
)
1041 (setq authors-invalid-file-names
1042 (cons (format "%s:%d: unrecognized `%s' for %s"
1044 (1+ (count-lines (point-min) pos
))
1046 authors-invalid-file-names
)))
1049 (defun authors-add-fixed-entries (table)
1050 "Add actions from `authors-fixed-entries' to TABLE."
1051 (dolist (entry authors-fixed-entries
)
1052 (let ((author (car entry
))
1054 (dolist (item (cdr entry
))
1057 (authors-add author item action table
))))))
1060 (defun authors-obsolete-file-p (file)
1061 "Return non-nil if FILE is obsolete.
1062 FILE is considered obsolete if it matches one of the regular expressions
1063 from `authors-obsolete-files-regexps'."
1065 (regexps authors-obsolete-files-regexps
))
1066 (while (and regexps
(not obsolete-p
))
1067 (setq obsolete-p
(string-match (car regexps
) file
)
1068 regexps
(cdr regexps
)))
1072 (defun authors-add (author file action table
)
1073 "Record that AUTHOR worked on FILE.
1074 ACTION is a keyword symbol describing what he did. Record file,
1075 author and what he did in hash table TABLE. See the description of
1076 `authors-scan-change-log' for the structure of the hash table."
1077 (unless (or (member file authors-ignored-files
)
1078 (authors-obsolete-file-p file
)
1080 (let* ((value (gethash author table
))
1081 (entry (assoc file value
))
1084 (puthash author
(cons (list file
(cons action
1)) value
) table
)
1085 (if (setq slot
(assoc action
(cdr entry
)))
1086 (setcdr slot
(1+ (cdr slot
)))
1087 (nconc entry
(list (cons action
1))))))))
1090 (defun authors-canonical-author-name (author)
1091 "Return a canonicalized form of AUTHOR, an author name.
1092 If AUTHOR has an entry in `authors-aliases', use that. Remove
1093 email addresses. Capitalize words in the author's name, unless
1094 it is found in `authors-fixed-case'."
1095 (let* ((aliases authors-aliases
)
1098 (setq realname
(car (car aliases
))
1099 regexps
(cdr (car aliases
))
1100 aliases
(cdr aliases
))
1102 (if (string-match (car regexps
) author
)
1103 (setq author realname
1106 (setq regexps
(cdr regexps
))))))
1108 (setq author
(replace-regexp-in-string "[ \t]*[(<].*$" "" author
))
1109 (setq author
(replace-regexp-in-string "\`[ \t]+" "" author
))
1110 (setq author
(replace-regexp-in-string "[ \t]+$" "" author
))
1111 (setq author
(replace-regexp-in-string "[ \t]+" " " author
))
1112 (unless (string-match "[-, \t]" author
)
1114 (or (car (member author authors-fixed-case
))
1115 (capitalize author
))))
1117 (defun authors-scan-change-log (log-file table
)
1118 "Scan change log LOG-FILE for author information.
1120 For each change mentioned in the log, add an entry to hash table TABLE
1121 under the author's canonical name.
1123 Keys of TABLE are author names. Values are alists of entries (FILE
1124 \(ACTION . COUNT) ...). FILE is one file the author worked on. The
1125 rest of the entry is a list of keyword symbols describing what he did
1126 with the file and the number of each action:
1128 :wrote means the author wrote the file
1129 :cowrote means he wrote the file in collaboration with others
1130 :changed means he changed the file COUNT times."
1132 (let* ((enable-local-variables :safe
) ; for find-file, hence let*
1133 (enable-local-eval nil
)
1134 (existing-buffer (get-file-buffer log-file
))
1135 (buffer (find-file-noselect log-file
))
1137 (with-current-buffer buffer
1140 (goto-char (point-min))
1141 (while (re-search-forward "^[0-9]\\|^[ \t]+\\* " nil t
)
1144 (cond ((looking-at "^[0-9]+-[0-9]+-[0-9]+")
1145 ;; Handle joint authorship of changes.
1146 ;; This can be a bit fragile, and is not too common.
1149 (skip-chars-forward " \t+:0-9-")
1150 (not (looking-at "\\($\\|\\*\\|\
1151 Suggested\\|Trivial\\|Version\\|Originally\\|From:\\|Patch[ \t]+[Bb]y\\)")))
1152 (push (authors-canonical-author-name
1153 (buffer-substring-no-properties
1154 (point) (line-end-position))) authors
)
1156 ((looking-at "^[ \t]+\\*")
1157 (let ((line (buffer-substring-no-properties
1158 (match-end 0) (line-end-position))))
1159 (while (and (not (string-match ":" line
))
1161 (not (looking-at ":\\|^[ \t]*$")))
1162 (setq line
(concat line
1163 (buffer-substring-no-properties
1164 (line-beginning-position)
1165 (line-end-position)))))
1166 (when (string-match ":" line
)
1167 (setq line
(substring line
0 (match-beginning 0)))
1168 (setq line
(replace-regexp-in-string "[[(<{].*$" "" line
))
1169 (setq line
(replace-regexp-in-string "," "" line
))
1170 (dolist (file (split-string line
))
1171 (when (setq file
(authors-canonical-file-name file log-file pos
(car authors
)))
1172 (dolist (author authors
)
1173 ;;(message "%s changed %s" author file)
1174 (authors-add author file
:changed table
)))))
1175 (forward-line 1)))))))
1176 (unless existing-buffer
1177 (kill-buffer buffer
))))
1180 (defun authors-scan-el (file table
)
1181 "Scan Lisp file FILE for author information.
1182 TABLE is a hash table to add author information to."
1183 (let* ((existing-buffer (get-file-buffer file
))
1184 (enable-local-variables :safe
) ; for find-file, hence let*
1185 (enable-local-eval nil
)
1186 (buffer (find-file-noselect file
)))
1187 (setq file
(authors-disambiguate-file-name (expand-file-name file
)))
1188 (with-current-buffer buffer
1191 (goto-char (point-min))
1192 (while (and (re-search-forward
1193 "^;+[ \t]*\\(Authors?\\|Commentary\\|Code\\):[ \t]*" nil t
)
1194 (not (member (match-string 1) '("Commentary" "Code"))))
1199 ;; Some entries contain a year range in front of the
1201 (skip-chars-forward "-0-9 \t")
1202 (push (authors-canonical-author-name
1203 (buffer-substring-no-properties
1204 (point) (line-end-position))) authors
)
1205 ;; tips.texi says the continuation line should begin
1206 ;; with a tab, but often spaces are used.
1208 (and (zerop (forward-line 1))
1209 (looking-at ";;;?\\(\t+ *\\| +\\)[[:alnum:]]")
1210 (goto-char (1- (match-end 0)))
1211 (not (looking-at "[[:upper:]][-[:alpha:]]+:[ \t]")))))
1212 (and (> (length authors
) 1)
1213 (setq action
:cowrote
))
1214 (mapc (lambda (author)
1215 (authors-add author file action table
))
1217 (unless existing-buffer
1218 (kill-buffer buffer
))))
1221 (defun authors-public-domain-p (file)
1222 "Return t if FILE is a file that was put in public domain."
1223 (let ((public-domain-p nil
)
1224 (list authors-public-domain-files
))
1225 (while (and list
(not public-domain-p
))
1226 (when (string-match (car list
) file
)
1227 (setq public-domain-p t
))
1228 (setq list
(cdr list
)))
1231 (defvar authors-author-list
)
1233 (defun authors-add-to-author-list (author changes
)
1234 "Insert information about AUTHOR's work on Emacs into `authors-author-list'.
1235 CHANGES is an alist of entries (FILE (ACTION . COUNT) ...), as produced by
1236 `authors-scan-change-log'.
1237 The element added to `authors-author-list' is (AUTHOR WROTE CO-WROTE CHANGED),
1238 where WROTE, CO-WROTE, and CHANGED are lists of the files written, co-written
1239 and changed by AUTHOR."
1245 (dolist (change changes
)
1246 (let* ((actions (cdr change
))
1248 (filestat (if (authors-public-domain-p file
)
1249 (concat file
" (public domain)")
1251 (cond ((assq :wrote actions
)
1252 (setq wrote-list
(cons filestat wrote-list
)))
1253 ((assq :cowrote actions
)
1254 (setq cowrote-list
(cons filestat cowrote-list
)))
1257 (cons (cons file
(cdr (assq :changed actions
)))
1260 (setq wrote-list
(sort wrote-list
'string-lessp
)))
1262 (setq cowrote-list
(sort cowrote-list
'string-lessp
)))
1264 (setq changed-list
(sort changed-list
1266 (if (= (cdr a
) (cdr b
))
1267 (string-lessp (car a
) (car b
))
1268 (> (cdr a
) (cdr b
))))))
1269 (setq nchanged
(length changed-list
))
1270 (setq changed-list
(mapcar 'car changed-list
)))
1271 (if (> (- nchanged authors-many-files
) 2)
1272 (setcdr (nthcdr authors-many-files changed-list
)
1273 (list (format "and %d other files" (- nchanged authors-many-files
)))))
1274 (setq authors-author-list
1275 (cons (list author wrote-list cowrote-list changed-list
)
1276 authors-author-list
)))))
1278 (defun authors (root)
1279 "Extract author information from change logs and Lisp source files.
1280 ROOT is the root directory under which to find the files. If called
1281 interactively, ROOT is read from the minibuffer.
1282 Result is a buffer *Authors* containing authorship information, and a
1283 buffer *Authors Errors* containing references to unknown files."
1284 (interactive "DEmacs source directory: ")
1285 (setq root
(expand-file-name root
))
1286 (let ((logs (process-lines find-program root
"-name" "ChangeLog*"))
1287 (table (make-hash-table :test
'equal
))
1288 (buffer-name "*Authors*")
1289 authors-checked-files-alist
1290 authors-invalid-file-names
)
1291 (authors-add-fixed-entries table
)
1292 (unless (file-exists-p (expand-file-name "src/emacs.c" root
))
1294 (format "Not the root directory of Emacs: %s, continue? " root
))
1295 (error "Not the root directory")))
1297 (when (string-match "ChangeLog\\(.[0-9]+\\)?$" log
)
1298 (message "Scanning %s..." log
)
1299 (authors-scan-change-log log table
)))
1300 (let ((els (process-lines find-program root
"-name" "*.el")))
1302 (message "Scanning %s..." file
)
1303 (authors-scan-el file table
)))
1304 (message "Generating buffer %s..." buffer-name
)
1305 (set-buffer (get-buffer-create buffer-name
))
1307 (set-buffer-file-coding-system authors-coding-system
)
1309 "Many people have contributed code included in the Free Software
1310 Foundation's distribution of GNU Emacs. To show our appreciation for
1311 their public spirit, we list here in alphabetical order a condensed
1312 list of their contributions.\n")
1313 (let (authors-author-list)
1314 (maphash #'authors-add-to-author-list table
)
1315 (setq authors-author-list
1316 (sort authors-author-list
1318 (string-collate-lessp (car a
) (car b
)
1319 (if (eq system-type
'windows-nt
)
1322 (dolist (a authors-author-list
)
1323 (let ((author (car a
))
1326 (changed (nth 3 a
)))
1327 (insert "\n" author
": ")
1330 (dolist (file wrote
)
1331 (if (> (+ (current-column) (length file
)) 72)
1339 (dolist (file cowrote
)
1340 (if (> (+ (current-column) (length file
)) 72)
1345 (if (or wrote cowrote
)
1348 (dolist (file changed
)
1349 (if (> (+ (current-column) (length file
)) 72)
1353 (insert "\nLocal" " Variables:\ncoding: "
1354 (symbol-name authors-coding-system
) "\nEnd:\n")
1355 (message "Generating buffer %s... done" buffer-name
)
1356 (unless noninteractive
1357 (when authors-invalid-file-names
1358 (with-current-buffer (get-buffer-create "*Authors Errors*")
1359 (setq buffer-read-only nil
)
1361 (set-buffer-file-coding-system authors-coding-system
)
1362 (insert "Unrecognized file entries found:\n\n")
1363 (mapc (lambda (f) (if (not (string-match "^[A-Za-z]+$" f
)) (insert f
"\n")))
1364 (sort authors-invalid-file-names
'string-lessp
))
1365 (goto-char (point-min))
1367 (message "Errors were found. See buffer %s" (buffer-name))))
1368 (pop-to-buffer buffer-name
))))
1371 (defun batch-update-authors ()
1372 "Produce an AUTHORS file.
1373 Call this function in batch mode with two command line arguments FILE
1374 and ROOT. FILE is the file to write, ROOT is the root directory of
1375 the Emacs source tree, from which to build the file."
1376 (unless noninteractive
1377 (error "`batch-update-authors' is to be used only with -batch"))
1378 (when (/= (length command-line-args-left
) 2)
1379 (error "Call `batch-update-authors' with the name of the file to write"))
1380 (let* ((file (pop command-line-args-left
))
1381 (root (pop command-line-args-left
)))
1387 ;;; authors.el ends here