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