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