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