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