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