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