Implement dots and dashes on Android
[emacs.git] / admin / authors.el
blobda9f42571538d15d12d910387aea9cad4c901cbb
1 ;;; authors.el --- utility for maintaining Emacs's AUTHORS file -*- lexical-binding: t; -*-
3 ;; Copyright (C) 2000-2024 Free Software Foundation, Inc.
5 ;; Author: Gerd Moellmann <gerd@gnu.org>
6 ;; Maintainer: emacs-devel@gnu.org
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 <https://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 (nil "Anticrisis")
45 (nil "akater")
46 ("Aaron S. Hawley" "Aaron Hawley")
47 ("Alan Third" "Alan J Third")
48 ("Alexander Gramiak" "Alex Gramiak")
49 ("Alexandru Harsanyi" "Alex Harsanyi")
50 ("Álvar Jesús Ibeas Martín" "Álvar Ibeas")
51 ("Andrea Corallo" "AndreaCorallo")
52 ("Andrew Csillag" "Drew Csillag")
53 ("Andrew G Cohen" "Andrew Cohen")
54 ("Anna M. Bigatti" "Anna Bigatti")
55 ("Aurélien Aptel" "Aurelien Aptel")
56 ("Barry A. Warsaw" "Barry A. Warsaw, Century Computing, Inc."
57 "Barry A. Warsaw, ITB" "Barry Warsaw")
58 ("Bastien Guerry" "Bastien .*bzg")
59 ("Bill Carpenter" "WJ Carpenter")
60 ("Bill Mann" "William F. Mann")
61 ("Bill Rozas" "Guillermo J. Rozas")
62 (nil "binjo.cn@gmail.com")
63 (nil "bug-gnu-emacs@gnu.org") ; mistake
64 ("Björn Torkelsson" "Bjorn Torkelsson")
65 ("Brian Fox" "Brian J. Fox")
66 ("Brian P Templeton" "BT Templeton")
67 ("Brian Sniffen" "Brian T. Sniffen")
68 (nil "castor@my-dejanews")
69 (nil "chengang31@gmail.com")
70 (nil "chuntaro")
71 ("Clément Pit-Claudel" "Clément Pit--Claudel")
72 ("David Abrahams" "Dave Abrahams")
73 ("David J. Biesack" "David Biesack")
74 ("David De La Harpe Golden" "David Golden")
75 ("David Gillespie" "Dave Gillespie")
76 ("David S. Goldberg" "Dave Goldberg")
77 ("David Kågedal" "David K..edal")
78 ("David M. Koppelman" "David Koppelman")
79 ("David M. Smith" "David Smith" "David M Smith")
80 ("David O'Toole" "David T. O'Toole")
81 ("Daniel Laurens Nicolai" "dalanicolai")
82 (nil "deech@deech")
83 ("Deepak Goel" "D. Goel")
84 ("Earl Hyatt" "Earl" "ej32u@protonmail.com")
85 ("Ed L. Cashin" "Ed L Cashin")
86 ("Edward M. Reingold" "Ed\\(ward\\( M\\)?\\)? Reingold" "Reingold Edward M")
87 ("Emilio C. Lopes" "Emilio Lopes")
88 ("Eric M. Ludlam" "Eric Ludlam")
89 ("Eric S. Raymond" "Eric Raymond")
90 ("Etienne Prud’Homme" "Etienne Prud'Homme")
91 ("Fabián Ezequiel Gallina" "Fabian Ezequiel Gallina" "Fabi.n E\\. Gallina")
92 (nil "felix.*EmacsWiki")
93 (nil "felix\\.dick@web\\.de")
94 ("Felicián Németh" "Felician Nemeth")
95 (nil "foudfou")
96 ("Francis Litterio" "Fran Litterio")
97 ("Francis J. Wright" "Dr Francis J. Wright" "Francis Wright")
98 ("François Pinard" "Francois Pinard")
99 ("Francesco Potortì" "Francesco Potorti" "Francesco Potorti`")
100 ("Frederic Pierresteguy" "Fred Pierresteguy")
101 (nil "^FSF")
102 ("Gerd Möllmann" "Gerd Moellmann")
103 (nil "haqle314")
104 ("Grégoire Jadi" "Gregoire Jadi")
105 ("Hallvard B. Furuseth" "Hallvard B Furuseth" "Hallvard Furuseth")
106 ("Hrvoje Nikšić" "Hrvoje Niksic")
107 ("Ian Dunn" "^Ian D\\>")
108 ;; lisp/org/ChangeLog.1 2010-11-11.
109 (nil "immerrr")
110 (nil "aaa bbb")
111 (nil "Code Extracted") ; lisp/newcomment.el's "Author:" header
112 (nil "jakanakaevangeli")
113 ("J. Alexander Branham" "Alex Branham")
114 ("Jaeyoun Chung" "Jae-youn Chung" "Jae-you Chung" "Chung Jae-youn")
115 ("Jan Djärv" "Jan D\\>" "Jan Djarv")
116 ("Jan Synáček" "Jan Synacek")
117 ("João Távora" "João Tãvora")
118 ("Jay K. Adams" "Jay Adams")
119 ("J.D. Smith" "Jd Smith")
120 ("Jérôme Marant" "Jérôme Marant" "Jerome Marant")
121 ("Jens Lechtenbörger" "Jens Lechtenboerger")
122 ("Jens-Ulrik Holger Petersen" "Jens-Ulrik Petersen")
123 ("Jérémie Courrèges-Anglas" "Jeremie Courreges-Anglas")
124 ("Jeremy Bertram Maitin-Shepard" "Jeremy Maitin-Shepard")
125 ("Jérémy Compostella" "Jeremy Compostella")
126 ("Jimmy Aguilar Mena" "Ergus")
127 ("Jindřich Makovička" "Jindrich Makovicka")
128 ("Johan Bockgård" "Johan Bockgard")
129 ("John F. Carr" "John F Carr")
130 ("John J Foerch" "John Foerch")
131 ("John W. Eaton" "John Eaton")
132 ("Jonathan I. Kamens" "Jonathan Kamens")
133 ("Jorgen Schäfer" "Jorgen Schaefer")
134 ("Jose A. Ortega Ruiz" "Jose A Ortega Ruiz")
135 ("Joseph Arceneaux" "Joe Arceneaux")
136 ("Joseph M. Kelsey" "Joe Kelsey") ; FIXME ?
137 ("Juan León Lahoz García" "Juan-Leon Lahoz Garcia")
138 ("Jürgen Hötzel" "Juergen Hoetzel")
139 (nil "k3tu0isui")
140 ("K. Shane Hartman" "Shane Hartman")
141 ("Kai Großjohann" "Kai Grossjohann")
142 ("Karl Berry" "K. Berry")
143 ("Károly Lőrentey" "Károly Lőrentey" "Lőrentey Károly")
144 ("Kazushi Marukawa" "Kazushi (Jam) Marukawa")
145 ("Ken Manheimer" "Kenneth Manheimer")
146 ("Kenichi Handa" "Ken'ichi Handa" "Kenichi HANDA" "K\\. Handa")
147 ("Kevin Greiner" "Kevin J. Greiner")
148 ("Kim F. Storm" "Kim Storm")
149 ("Kjartan Óli Ágústsson" "Kjartan Oli Agustsson")
150 ;; The dash is a kludge, so this contributor is not ignored.
151 ("kobarity-" "kobarity@gmail\\.com")
152 ("Koen van Greevenbroek" "realcomplex" "koenvg@posteo\\.net")
153 ("Kyle Jones" "Kyle E. Jones")
154 ("Lars Magne Ingebrigtsen" "Lars Ingebrigtsen")
155 (nil "LynX@bk.ru")
156 (nil "lu4nx")
157 ("Marcus G. Daniels" "Marcus Daniels")
158 ("Mark D. Baushke" "Mark D Baushke")
159 ("Mark E. Shoulson" "Mark Shoulson")
160 ("Marko Kohtala" "Kohtala Marko")
161 ("Maxim Nikulin" "Max Nikulin")
162 ("Agustín Martín" "Agustin Martin" "Agustín Martín Domingo")
163 ("Martin Lorentzon" "Martin Lorentzson")
164 ("Matt Swift" "Matthew Swift")
165 ("Mattias Engdegård" "Mattias Engdegard")
166 (nil "^Madhu")
167 (nil "mu@magi.net.ru")
168 ("Maxime Edouard Robert Froumentin" "Max Froumentin")
169 ("Michael R. Mauger" "Michael Mauger")
170 ("Michael D. Ernst" "Michael Ernst")
171 ("Michaël Cadilhac" "Michael Cadilhac")
172 ("Michael I. Bushnell" "Michael I Bushnell" "Michael I. Bushnell, p/BSG")
173 ("Michael R. Cook" "Michael Cook")
174 ("Michael Sperber" "Mike Sperber" "Michael Sperber \\[Mr. Preprocessor\\]")
175 ("Michalis V" "^mvar")
176 ("Miha Rihtaršič" "Miha Rihtarsic")
177 ("Mikio Nakajima" "Nakajima Mikio")
178 (nil "montag451@laposte\\.net")
179 ("Morgan Smith" "Morgan J\\. Smith")
180 ("Mou Tong" "mou\\.tong@outlook\\.com")
181 (nil "na@aisrntairetnraoitn")
182 (nil "nibon7@163\\.com")
183 ("Nelson Jose dos Santos Ferreira" "Nelson Ferreira")
184 ("Noah Peart" "noah\\.v\\.peart@gmail\\.com")
185 ("Noorul Islam" "Noorul Islam K M")
186 ;;; ("Tetsurou Okazaki" "OKAZAKI Tetsurou") ; FIXME?
187 ("Óscar Fuentes" "Oscar Fuentes")
188 (nil "pillule")
189 (nil "psyberbits@gmail.com")
190 ("Paul Eggert" "Paul R\\. Eggert")
191 ("Pavel Janík" "Pavel Janík Ml." "Pavel Janik Ml." "Pavel Janik")
192 ("Pavel Kobiakov" "Pavel Kobyakov")
193 ("Per Abrahamsen" "Per Abhiddenware")
194 ("Per Starbäck" "Per Starback")
195 ("Peter J. Weisberg" "PJ Weisberg")
196 ("Peter S. Galbraith" "Peter S Galbraith" "Peter Galbraith")
197 ("Peter Runestig" "Peter 'luna' Runestig")
198 ("Philip Kaludercic" "Philip K\\." "Philip K")
199 ("Philipp Stephani" "Philipp .*phst@google")
200 ("Piotr Zieliński" "Piotr Zielinski")
201 ("Po Lu" "Po Lu Via" "Your Name") ; looks like a mistake
202 ("Przemysław Wojnowski" "Przemyslaw Wojnowski")
203 ("R. Bernstein" "rb@dustyfeet.com")
204 ("Rainer Schöpf" "Rainer Schoepf")
205 ("Raja R. Harinath" "Raja R Harinath")
206 ("Rasmus Pank Roulund" "Rasmus .*rasmus@gmx")
207 ("Richard G. Bielawski" "Richard G Bielawski" "Richard Bielawski")
208 ("Richard King" "Dick King")
209 ("Richard M. Stallman" "Richard Stallman" "rms@gnu.org")
210 ("Robert J. Chassell" "Bob Chassell")
211 ("Roberto Huelga Díaz" "Roberto Huelga")
212 ("Rodney J. Whitby" "Rod Whitby")
213 ("Roland B. Roberts" "Roland B Roberts" "Roland Roberts")
214 ("Ron Schnell" "Ronnie Schnell")
215 ("Rui-Tao Dong" "Rui-Tao Dong ~{6-HpLN~}")
216 ("Ryan Thompson" "Ryan .*rct@thompsonclan")
217 (nil "rzl24ozi")
218 ("Sacha Chua" "Sandra Jean Chua")
219 ("Sam Steingold" "Sam Shteingold")
220 ("Satyaki Das" "Indexed search by Satyaki Das")
221 ("Sébastien Vauban" "Sebastien Vauban")
222 ("Sergey Litvinov" "Litvinov Sergey")
223 ("Simen Heggestøyl" "simenheg@gmail.com")
224 (nil "prime.wizard")
225 ("Shun-ichi Goto" "Shun-ichi GOTO")
226 ;; The trailing dash is a kludge, so this contributor is not ignored.
227 ("skykanin-" "skykanin@users\\.noreply\\.github\\.com")
228 ;; There are other Stefans.
229 ;;; ("Stefan Monnier" "Stefan")
230 ("Steven L. Baur" "SL Baur" "Steven L Baur")
231 ("Stewart M. Clamen" "Stewart Clamen")
232 ("Stuart D. Herring" "Stuart Herring" "Davis Herring")
233 ("T.V. Raman" "T\\. V\\. Raman")
234 ("Taichi Kawabata" "KAWABATA,? Taichi")
235 ("Takaaki Ota" "Tak Ota")
236 ("Takahashi Naoto" "Naoto Takahashi")
237 ("Teodor Zlatanov" "Ted Zlatanov")
238 (nil "^TEC")
239 (nil "The PCL-CVS Trust")
240 ("Thomas Dye" "Tom Dye")
241 ("Thomas Horsley" "Tom Horsley") ; FIXME ?
242 ("Thomas Wurgler" "Tom Wurgler")
243 ("Toby Cubitt" "Toby S\\. Cubitt")
244 ("Tomohiko Morioka" "MORIOKA Tomohiko")
245 ("Torbjörn Axelsson" "Torbjvrn Axelsson")
246 ("Torbjörn Einarsson" "Torbj.*rn Einarsson")
247 ("Toru Tomabechi" "Toru TOMABECHI")
248 ("Tsugutomo Enami" "enami tsugutomo")
249 ("Ulrich Müller" "Ulrich Mueller")
250 (nil "vividsnow")
251 ("Vincent Del Vecchio" "Vince Del Vecchio")
252 ("William M. Perry" "Bill Perry")
253 ("Wlodzimierz Bzyl" "W.*dek Bzyl")
254 (nil "xyblor")
255 ("Yoni Rabkin" "Yoni Rabkin Katzenell")
256 ("Yoshinori Koseki" "KOSEKI Yoshinori" "小関 吉則")
257 ("Yutaka NIIBE" "NIIBE Yutaka")
258 (nil "stardiviner")
259 (nil "lin.sun")
260 ("Nitish Chinta" "nitishch")
261 ("Carlos Pita" "memeplex")
262 ("Vinicius Jose Latorre" "viniciusjl")
263 ("Gaby Launay" "galaunay")
264 ("Dick R. Chiang" "dickmao")
265 ("Lin Zhou" "georgealbert@qq.com")
266 (nil "yan@metatem.net")
267 (nil "gnu_lists@halloleo.hailmail.net")
269 "Alist of author aliases.
271 Each entry is of the form (REALNAME REGEXP...).
272 If an author's full name, as in \"J.R.Hacker <foobar.com>\",
273 matches one of the REGEXPs, use REALNAME instead.
274 If REALNAME is nil, ignore that author.")
276 ;; FIXME seems it would be less fragile to check for O', Mc, etc.
277 (defconst authors-fixed-case
278 '("Barry O'Reilly"
279 "Brian McKenna"
280 "Brian van den Broek"
281 "Bryan O'Sullivan"
282 "Christian von Roques"
283 "Christophe de Dinechin"
284 "Craig McDaniel"
285 "Daniel LaLiberte"
286 "Daniel McClanahan"
287 "David J. MacKenzie"
288 "David McCabe"
289 "David O'Toole"
290 "Devon Sean McCullough"
291 "Dominique de Waleffe"
292 "Theresa O'Connor"
293 "Exal de Jesus Garcia Carrillo"
294 "George McNinch"
295 "Greg McGary"
296 "Hans de Graaff"
297 "Ivan Vilata i Balaguer"
298 "Jae-hyeon Park"
299 "James TD Smith"
300 "Jay McCarthy"
301 "Joel N. Weber II"
302 "Matt McClure"
303 "Mike McLean"
304 "Michael McNamara"
305 "Mike McEwan"
306 "Nelson Jose dos Santos Ferreira"
307 "Peter von der Ahé"
308 "Peter O'Gorman"
309 "Piet van Oostrum"
310 "Roland McGrath"
311 "Santiago Payà i Miralta"
312 "Sean O'Halpin"
313 "Sean O'Rourke"
314 "Shun-ichi Goto"
315 "Thomas DeWeese"
316 "Tijs van Bakel"
317 "Titus von der Malsburg"
318 "Yu-ji Hosokawa")
319 "List of authors whose names cannot be simply capitalized.")
321 (defvar authors-public-domain-files
322 '("emerge\\.el"
323 "vi\\.el"
324 "feedmail\\.el"
325 "mailpost\\.el"
326 "hanoi\\.el"
327 "meese\\.el"
328 "studly\\.el"
329 "modula2\\.el"
330 "nnmaildir\\.el"
331 "nnil\\.el"
332 "b2m\\.c"
333 "unexhp9k800\\.c"
334 "emacsclient\\.1"
335 "check-doc-strings")
336 "List of regexps matching files for which the FSF doesn't need papers.")
339 (defvar authors-obsolete-files-regexps
340 '(".*loaddefs\\.el\\'" ; not obsolete, but auto-generated
341 "\\.\\(bzr\\|cvs\\|git\\)ignore\\'" ; obsolete or uninteresting
342 "\\.arch-inventory\\'"
343 "ChangeLog\\(\\.[0-9]+\\)?\\'"
344 "\\(automated\\|test\\)/data/" ; not interesting
345 "cedet/tests/"
346 "test/etags/"
347 "\\`\\(indent\\|automated\\)\\'" "indent/" "mod-test/"
348 "-resources/"
349 "unidata/.*\\.txt\\'"
350 "BidiCharacterTest\\.txt"
351 ;; TODO lib/? Matches other things?
352 "build-aux/" "m4/" "Emacs\\.xcodeproj" "mapfiles" "\\.map\\'"
353 "preferences\\.\\(nib\\|gorm\\)"
354 ;; Generated files that have since been removed.
355 "\\(refcard\\(-de\\|-pl\\)?\\|calccard\\|dired-ref\\|orgcard\\|\
356 gnus-booklet\\|fr-drdref\\)\\.p\\(df\\|s\\)\\'"
357 ;; Removed as obsolete
358 "README-ftp-server"
360 "List of regexps matching obsolete files.
361 Changes to files matching one of the regexps in this list are not listed.")
363 (defconst authors-no-scan-regexps
364 '("etc/nxml/"
365 "test/data/"
366 "test/.*-resources/")
367 "Lists of regexps matching files not to scan for authorship.")
369 (defconst authors-ignored-files
370 '("external-lisp"
371 "lock" "share-lib" "local-lisp"
372 "noleim-Makefile.in"
373 "NEWS" "ORDERS" "PROBLEMS" "FAQ" "AUTHORS" "release-process" "TODO" "todo"
374 "MACHINES" "SERVICE"
375 "README.unicode" "README.multi-tty" "TUTORIAL.translators"
376 "NEWS.unicode" "COPYING.DJ" "Makefile.old" "Makefile.am"
377 "NEWS.1" "OOOOONEWS...OONEWS" "OOOONEWS" "etc/NEWS"
378 "NEWS.1-17" "NEWS.18" "NEWS.19" "NEWS.20" "NEWS.21" "NEWS.22"
379 "NEWS.23" "NEWS.24" "NEWS.25" "NEWS.26" "NEWS.27" "NEWS.28"
380 "MAINTAINERS" "ERC-NEWS" "MH-E-NEWS" "NXML-NEWS"
381 "install.sh" "install-sh" "missing" "mkinstalldirs"
382 "termcap.dat" "termcap.src" "termcap.ucb" "termcap"
383 "ChangeLog.nextstep" "Emacs.clr" "spec.txt"
384 "gfdl.1" "ledit.l"
385 "texi/Makefile.in"
386 "autodeps.mk"
387 "lwlib/autodeps.mk"
388 "oldXMenu/autodeps.mk"
389 "src/autodeps.mk"
390 "Imakefile" "icons/sink.ico" "aixcc.lex"
391 "nxml/char-name/unicode"
392 "spec.txt"
393 "js2-mode.el" ; only installed very briefly, replaced by js.el
394 ;; In the old imported lisp/url ChangeLog, but never in Emacs.
395 "mule-sysdp.el"
396 ;; Only briefly present.
397 "tests/gnustest-nntp.el" "tests/gnustest-registry.el"
398 "cedet/tests/testtemplates.cpp"
399 "cedet/tests/testusing.cpp"
400 "cedet/tests/scopetest.cpp"
401 "cedet/tests/scopetest.java"
402 "cedet/tests/test.cpp"
403 "cedet/tests/test.py"
404 "cedet/tests/teststruct.cpp"
405 "subdirs.el"
406 "etc/facemenu-removal.txt"
407 "src/bytecode.h"
408 "*.el"
409 ;; Autogen:
410 "cus-load.el" "finder-inf.el" "ldefs-boot.el" "loaddefs-boot.el"
411 "lisp/ldefs-boot-manual.el" "lisp/ldefs-boot-auto.el"
412 "compile" "config.guess" "config.sub" "depcomp"
413 "autogen/compile" "autogen/config.guess" "autogen/config.in"
414 "autogen/config.sub" "autogen/depcomp" "autogen/install-sh"
415 "autogen/missing" "autogen"
416 "autogen/copy_autogen" ; not generated, but trivial and now removed
417 "dir_top"
418 ;; Imported into Emacs but externally maintained.
419 "publicsuffix.txt" "SKK-JISYO.L"
420 ;; Only existed briefly, then renamed:
421 "images/icons/allout-widgets-dark-bg"
422 "images/icons/allout-widgets-light-bg"
423 "lisp/shorthand.el"
424 "test/lisp/shorthand-tests.el"
425 "lisp/shorthands.el"
426 "test/src/comp-test-funcs.el"
427 "lisp/net/link.el"
428 "lisp/net/connection.el"
429 "lisp/net/dictionary-link.el"
430 "test/src/comp-test-funcs-dyn.el"
431 ;; Never had any meaningful changes logged, now deleted:
432 "lib/stdarg.in.h" "lib/stdbool.in.h"
433 "unidata/bidimirror.awk" "unidata/biditype.awk"
434 "split-man" "Xkeymap.txt" "ms-7bkermit" "ulimit.hack"
435 "gnu-hp300" "refcard.bit" "forms.README" "forms-d2.dat"
436 "CXTERM-DIC/PY.tit" "CXTERM-DIC/ZIRANMA.tit"
437 "CXTERM-DIC/CTLau.tit" "CXTERM-DIC/CTLauB.tit"
438 "copying.paper" "celibacy.1" "condom.1" "echo.msg" "sex.6"
439 "COOKIES" "INTERVIEW" "MAILINGLISTS" "MOTIVATION"
440 "NICKLES.WORTH" "INTERVAL.IDEAS" "RCP"
441 "3B-MAXMEM" "AIX.DUMP" "SUN-SUPPORT" "XENIX"
442 "CODINGS" "CHARSETS"
443 "calc/INSTALL" "calc/Makefile" "calc/README.prev"
444 "vms-pp.trans" "_emacs" "batcomp.com" "notes/cpp" ; admin/
445 "notes/BRANCH" "notes/exit-value"
446 "emacsver.texi.in"
447 "vpath.sed"
448 "Cocoa/Emacs.base/Contents/Info.plist"
449 "Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings"
450 "GNUstep/Emacs.base/Resources/Info-gnustep.plist"
451 "GNUstep/Emacs.base/Resources/Emacs.desktop"
452 "Cocoa/Emacs.base/Contents/Resources/English.lproj"
453 ;; Only existed briefly, then deleted:
454 "coccinelle/overlay.cocci" "coccinelle/symbol.cocci"
455 ;; MH-E stuff not in Emacs:
456 "import-emacs" "release-utils"
457 ;; Erc stuff not in Emacs:
458 "ChangeLog.2001" "ChangeLog.2002" "ChangeLog.2003" "ChangeLog.2004"
459 "ChangeLog.2005"
460 "README.extras" "dir-template" "mkChangeLog" "MkChangeLog" "erc-auto.in"
461 "CREDITS" "HACKING"
462 "debian/changelog"
463 "debian/control"
464 "debian/copyright"
465 "debian/maint/conffiles"
466 "debian/maint/conffiles.in"
467 "debian/maint/postinst"
468 "debian/maint/postinst.in"
469 "debian/maint/prerm"
470 "debian/maint/prerm.in"
471 "debian/README.Debian"
472 "debian/README.erc-speak"
473 "debian/rules"
474 "debian/scripts/install"
475 "debian/scripts/install.in"
476 "debian/scripts/remove"
477 "debian/scripts/remove.in"
478 "debian/scripts/startup"
479 "debian/scripts/startup.erc"
480 "debian/scripts/startup.erc-speak"
481 ;; Used to be in admin, not very interesting.
482 "emacs-pretesters" "make-announcement" "make-changelog-diff" "admin/FOR-RELEASE" "etc/FOR-RELEASE" "nextstep/FOR-RELEASE" "FOR-RELEASE"
483 ;; Textual comments that are not files.
484 "All" "Version" "Everywhere" "Many" "Various" "files"
485 ;; Directories.
486 "vms" "mac" "url" "tree-widget"
487 "info/dir"
488 ;; Not in gnulib anymore
489 "lib/qset-acl.c" "lib/qcopy-acl.c" "lib/file-has-acl.c" "lib/secure_getenv.c"
490 "lib/malloca.c" "lib/malloca.h"
491 ;; Briefly added to repository from gnulib, but not used
492 "lib/localtime-buffer.c"
493 "lib/localtime-buffer.h"
494 ;; files from old MS Windows build procedures
495 "nt/gnulib-modules-to-delete.cfg"
496 "makefile.w32-in"
497 "admin/unidata/makefile.w32-in"
498 "unidata/makefile.w32-in"
499 "lib/makefile.w32-in"
500 "lib-src/makefile.w32-in"
501 "leim/makefile.w32-in"
502 "lisp/makefile.w32-in"
503 "src/makefile.w32-in"
504 "nt/emacs-src.tags"
505 "doc/emacs/makefile.w32-in"
506 "doc/lispintro/makefile.w32-in"
507 "doc/lispref/makefile.w32-in"
508 "doc/misc/makefile.w32-in"
509 "nt/paths.h"
510 "paths.h"
511 "src/paths.h"
512 "envadd.bat"
513 "multi-install-info.bat"
514 "INSTALL.OLD" "nt/INSTALL.OLD"
515 "nt/src/paths.h"
516 "nmake.defs"
517 "gmake.defs"
518 "zipdist.bat"
519 "nt/makefile.w32-in"
520 "nt/subdirs.el"
521 "config.nt"
522 "nextstep/WISHLIST"
523 ;; Removed, replaced by gitmerge.el
524 "admin/bzrmerge.el"
525 "bzrmerge.el"
526 ;; Removed in commit f5090b91299
527 "lib/fdatasync.c"
528 ;; Removed as obsolete
529 "nt/README-ftp-server"
530 "admin/notes/font-backend"
531 "gnus-overrides.texi"
532 "CENSORSHIP"
533 "GNU"
534 "LINUX-GNU"
535 "THE-GNU-PROJECT"
536 "WHY-FREE"
537 "MORE.STUFF"
538 "notes/font-backend"
539 "src/ftxfont.c"
540 "ftxfont.c"
541 "src/ptr-bounds.h"
542 "obsolete/options.el"
543 "obsolete/old-whitespace.el"
544 "obsolete/lucid.el"
545 ;; ada-mode has been deleted, now in GNU ELPA
546 "ada-mode.texi"
547 "doc/misc/ada-mode.texi"
548 "lisp/progmodes/ada-mode.el"
549 "lisp/progmodes/ada-prj.el"
550 "lisp/progmodes/ada-xref.el"
551 "GNUS-NEWS"
552 "etc/GNUS-NEWS"
553 "doc/misc/gnus-news.el"
554 "src/fingerprint-dummy.c"
555 "src/fingerprint.h"
556 ;; Replaced by lisp/thread.el
557 "lisp/emacs-lisp/thread-list.el"
558 "etc/images/slash.bmp"
559 "src/mini-gmp-emacs.c"
560 "lib/dosname.h"
561 "lib/putenv.c"
562 ;; Moved to the org-contrib repo
563 "ob-asymptote.el"
564 "ob-shen.el"
565 "ob-picolisp.el"
566 "ob-io.el"
567 "ob-mscgen.el"
568 "ob-ledger.el"
569 "lisp/org/ob-abc.el"
570 "lisp/org/ob-ebnf.el"
571 "lisp/org/ob-J.el"
572 ;; Removed -- for now.
573 "test/src/doc-tests.el"
575 "List of files and directories to ignore.
576 Changes to files in this list are not listed.")
578 ;; List via: find . -name '*.el' | sed 's/.*\///g' | sort | uniq -d
579 ;; FIXME It would be better to discover these dynamically.
580 (defconst authors-ambiguous-files
581 '("Makefile.in"
582 "makefile.w32-in"
583 "chart.el"
584 "cl-lib.el"
585 "compile.el"
586 "complete.el"
587 "cpp.el"
588 "ctxt.el"
589 "custom.el"
590 "cyrillic.el"
591 "czech.el"
592 "debug.el"
593 "dired.el"
594 "el.el"
595 "eshell.el"
596 "ethiopic.el"
597 "f90.el"
598 "files.el"
599 "find.el"
600 "format.el"
601 "generic.el"
602 "georgian.el"
603 "grammar.el"
604 "greek.el"
605 "grep.el"
606 "hebrew.el"
607 "imenu.el"
608 "indian.el"
609 "info-xref.el"
610 "japanese.el"
611 "java.el"
612 "lao.el"
613 "linux.el"
614 "locate.el"
615 "make.el"
616 "mode.el"
617 "mule-util.el"
618 "python.el"
619 "rmailmm.el"
620 "semantic.el"
621 "shell.el"
622 "simple.el"
623 "slovak.el"
624 "sort.el"
625 "speedbar.el"
626 "srecode.el"
627 "table.el"
628 "texi.el"
629 "thai.el"
630 "thingatpt.el"
631 "tibetan.el"
632 "util.el"
633 "vc-bzr.el"
634 "wisent.el")
635 "List of basenames occurring more than once in the source.")
637 ;; FIXME :cowrote entries here can be overwritten by :wrote entries
638 ;; derived from a file's Author: header (eg mh-e). This really means
639 ;; the Author: header is erroneous.
640 (defconst authors-fixed-entries
641 '(("Richard M. Stallman" :wrote "[The original GNU Emacs and numerous files]")
642 ("Joseph Arceneaux" :wrote "xrdb.c")
643 ;; This refers to the obsolete Willisson (qv) version.
644 ;;; ("Blitz Product Development Corporation" :wrote "ispell.el")
645 ("Frank Bresz" :wrote "diff.el")
646 ("David M. Brown" :wrote "array.el")
647 ;; No longer distributed.
648 ;;; ("Gary Byers" :changed "xenix.h")
649 ;; No longer distributed: freebsd.h
650 ;; Only trivial pieces remain, merged into configure.ac.
651 ("Shawn M. Carey" :wrote "[some early FreeBSD support]")
652 ;; hp800.h renamed from hp9000s800.h, hpux.h merged into hpux10-20.h.
653 ;; FIXME overwritten by Author:.
654 ("Satyaki Das" :cowrote "mh-search.el")
655 ;; No longer distributed: hp800.h, hpux10-20.h.
656 ;; Only trivial pieces remain, merged into configure.ac.
657 ("Eric Decker" :changed "sysdep.c (and other files for HP-UX support)")
658 ("Lawrence R. Dodd" :cowrote "dired-x.el")
659 ;; No longer distributed.
660 ;;; ("Viktor Dukhovni" :wrote "unexsunos4.c")
661 ("Paul Eggert" :wrote "rcs2log") ; "vcdiff"
662 ("Fred Fish" :changed "unexcoff.c")
663 ;; No longer distributed.
664 ;;; ("Tim Fleehart" :wrote "makefile.nt")
665 ("Keith Gabryelski" :wrote "hexl.c")
666 ("Kevin Gallagher" :wrote "flow-ctrl.el")
667 ;; Also wrote an earlier version of disp-table.el, since replaced
668 ;; by Erik Naggum's version; also iso-syntax.el, later renamed to
669 ;; latin-1.el, since deleted.
670 ("Howard Gayle" :wrote "casetab.c")
671 ;; :wrote mh-pick.el, since merged into mh-search.el.
672 ;; Originally wrote mh-funcs.el, but it has been rewritten since.
673 ("Stephen Gildea" :wrote "refcard.tex"
674 :cowrote "mh-funcs.el" "mh-search.el")
675 ;; cl.texinfo renamed to cl.texi.
676 ("David Gillespie" :wrote "cl.texi")
677 ;; No longer distributed: emacsserver.c.
678 ("Hewlett-Packard" :changed "emacsclient.c" "server.el" "keyboard.c")
679 ;; No longer distributed.
680 ;;; ("Thomas Horsley" :wrote "cxux.h" "cxux7.h")
681 ("Indiana University Foundation" :changed "buffer.c" "buffer.h"
682 "indent.c" "search.c" "xdisp.c" "region-cache.c" "region-cache.h")
683 ;; ibmrt.h, ibmrt-aix.h no longer distributed.
684 ("International Business Machines" :changed "emacs.c" "fileio.c"
685 "process.c" "sysdep.c" "unexcoff.c")
686 ;; No longer distributed.
687 ;;; ("Ishikawa Chiaki" :changed "aviion.h" "dgux.h")
688 ;; No longer distributed: ymakefile, intel386.h, mem-limits.h, template.h,
689 ;; linux.h (was renamed to lignux.h, then to gnu-linux.h, then removed)
690 ("Michael K. Johnson" :changed "configure.ac" "emacs.c"
691 "process.c" "sysdep.c" "syssignal.h" "systty.h" "unexcoff.c")
692 ;; No longer distributed.
693 ;;; ("Kyle Jones" :wrote "mldrag.el")
694 ("Henry Kautz" :wrote "bib-mode.el")
695 ;; No longer distributed: vms-pwd.h, vmsfns.c, uaf.h,
696 ;; dir.h (was renamed to vmsdir.h, then removed)
697 ("Joseph M. Kelsey" :changed "fileio.c")
698 ("Sam Kendall" :changed "etags.c" "etags.el")
699 ;; ack.texi: "We're not using his backquote.el any more."
700 ("Richard King" :wrote "userlock.el" "filelock.c")
701 ("Sebastian Kremer" :changed "add-log.el")
702 ("Mark Lambert" :changed "process.c" "process.h")
703 ("Aaron Larson" :changed "bibtex.el")
704 ;; It was :wrote, but it has been rewritten since.
705 ("James R. Larus" :cowrote "mh-e.el")
706 ("Lars Lindberg" :changed "dabbrev.el" :cowrote "imenu.el")
707 ;; No longer distributed: lselect.el.
708 ("Lucid, Inc." :changed "bytecode.c" "byte-opt.el" "byte-run.el"
709 "bytecomp.el" "delsel.el" "disass.el" "faces.el" "font-lock.el"
710 "mailabbrev.el" "select.el" "xfaces.c" "xselect.c")
711 ;; MCC. No longer distributed: emacsserver.c.
712 ("Microelectronics and Computer Technology Corporation"
713 :changed "etags.c" "emacsclient.c" "movemail.c"
714 "rmail.el" "rmailedit.el" "rmailkwd.el"
715 "rmailmsc.el" "rmailout.el" "rmailsum.el" "scribe.el"
716 ;; It was :wrote for xmenu.c, but it has been rewritten since.
717 "server.el" "lisp.h" "sysdep.c" "unexcoff.c" "xmenu.c")
718 ("Niall Mansfield" :changed "etags.c")
719 ("Brian Marick" :cowrote "hideif.el")
720 ("Marko Kohtala" :changed "info.el")
721 ("Sidney Markowitz" :changed "doctor.el")
722 ;; No longer distributed: env.c.
723 ("Richard Mlynarik" :wrote "ehelp.el")
724 ("Mosur Mohan" :changed "etags.c")
725 ("Jeff Morgenthaler" :changed "flow-ctrl.el" "vt200.el" "vt201.el"
726 "vt220.el" "vt240.el")
727 ("Motorola" :changed "buff-menu.el")
728 ("Hiroshi Nakano" :changed "ralloc.c")
729 ;; File removed in Emacs 24.1.
730 ;;; ("Sundar Narasimhan" :changed "rnewspost.el")
731 ;; No longer distributed.
732 ;;; ("NeXT, Inc." :wrote "unexnext.c")
733 ("Mark Neale" :changed "fortran.el")
734 ;; Renamed from sc.el.
735 ("Martin Neitzel" :changed "supercite.el")
736 ("Andrew Oram" :changed "calendar.texi (and other doc files)")
737 ("Frederic Pierresteguy" :wrote "widget.c")
738 ("Michael D. Prange" :changed "tex-mode.el")
739 ;; No longer distributed (dgux5-4r3.h was renamed to dgux5-4-3.h).
740 ;;; ("Paul Reilly" :wrote "gux5-4r2.h" "dgux5-4-3.h")
741 ("Rob Riepel" :wrote "tpu-edt.doc")
742 ("Roland B. Roberts" :changed "files.el" "sort.el"
743 "buffer.h" "callproc.c" "dired.c" "process.c" "sysdep.c" "systty.h")
744 ;; No longer distributed.
745 ;;; "vmspaths.h" "build.com" "compile.com" "kepteditor.com" "precomp.com"
746 ;;; "vmsproc.el" :wrote "logout.com" "mailemacs.com")
747 ;;; ("Guillermo J. Rozas" :wrote "fakemail.c")
748 ("Wolfgang Rupprecht" :changed "lisp-mode.el" "loadup.el"
749 "sort.el" "alloc.c" "callint.c"
750 ;; config.in renamed from config.h.in, now a generated file.
751 ;; ecrt0.c renamed from crt0.c, then removed.
752 "data.c" "fns.c"
753 "lisp.h" "lread.c" ; "sun3.h" "ymakefile" - no longer distributed
754 "print.c" :wrote "float-sup.el" "floatfns.c")
755 ("Schlumberger Technology Corporation" :changed "gud.el")
756 ;; Replaced by tcl.el.
757 ;;; ("Gregor Schmid" :wrote "tcl-mode.el")
758 ;; No longer distributed since 24.1.
759 ;;; ("Rainer Schöpf" :wrote "alpha.h" "unexalpha.c")
760 ;; No longer distributed: emacsserver.c.
761 ("William Sommerfeld" :wrote "emacsclient.c" "scribe.el")
762 ;; No longer distributed: emacsserver.c.
763 ("Leigh Stoller" :changed "emacsclient.c" "server.el")
764 ("Steve Strassmann" :wrote "spook.el")
765 ("Shinichirou Sugou" :changed "etags.c")
766 ;; No longer distributed: emacsserver.c.
767 ("Sun Microsystems, Inc" :changed "emacsclient.c" "server.el"
768 :wrote "emacs.icon" "sun.el")
769 ;; No longer distributed.
770 ;;; "emacstool.1" "emacstool.c" "sun-curs.el"
771 ;;; "sun-fns.el" "sun-mouse.el" "sunfns.c")
772 ;; Renamed from sc.el.
773 ("Kayvan Sylvan" :changed "supercite.el")
774 ;; No longer distributed: emacsserver.c, tcp.c.
775 ("Spencer Thomas" :changed "emacsclient.c" "server.el"
776 "dabbrev.el" "unexcoff.c" "gnus.texi")
777 ("Jonathan Vail" :changed "vc.el")
778 ;; No longer distributed: usg5-4.h
779 ("James Van Artsdalen" :changed "unexcoff.c")
780 ;; No longer distributed: src/makefile.nt, lisp/makefile.nt
781 ;; winnt.el renamed to w32-fns.el; nt.[ch] to w32.[ch];
782 ;; ntheap.[ch] to w32heap.[ch]; ntinevt.c to w32inevt.c;
783 ;; ntproc.c to w32proc.c; ntterm.c to w32term.c;
784 ;; windowsnt.h to ms-w32.h.
785 ("Geoff Voelker" :wrote "w32-fns.el" "w32.c" "w32.h" "w32heap.c"
786 "w32heap.h" "w32inevt.c" "w32proc.c" "w32term.c" "ms-w32.h")
787 ("Bob Weiner" :changed "dframe.el" "etags.c" "info.el" "quail.el"
788 "rmail.el" "rmailsum.el" "speedbar.el")
789 ("Morten Welinder" :wrote "dosfns.c" "[many MS-DOS files]" "msdos.h")
790 ("Eli Zaretskii" :wrote "bidi.c" "[bidirectional display in xdisp.c]"
791 "[tty menus in term.c]")
792 ;; Not using this version any more.
793 ;;; ("Pace Willisson" :wrote "ispell.el")
794 ;; FIXME overwritten by Author:.
795 ("Bill Wohler" :cowrote "mh-e.el")
796 ("Garrett Wollman" :changed "sendmail.el")
797 ("Dale R. Worley" :changed "mail-extr.el")
798 ("Jamie Zawinski" :changed "bytecode.c" :wrote "tar-mode.el"
799 :cowrote "disass.el"))
800 "Actions taken from the original, manually (un)maintained AUTHORS file.")
803 (defconst authors-valid-file-names
804 '("aclocal.m4"
805 "build-ins.in"
806 "Makefile"
807 "Makefile.noleim"
808 "makedist.bat"
809 "makefile.def"
810 "makefile.nt"
811 "ns.mk"
812 "README"
813 ;; There were a few of these, not just the generated top-level one.
814 "configure" "config.h"
815 "is_exec.c" "sigaction.c"
816 ;; nt/
817 "config.nt" "gmake.defs" "gnulib.mk" "nmake.defs"
818 "ebuild.bat" "envadd.bat" "fast-install.bat" "install.bat"
819 "multi-install-info.bat" "zipdist.bat"
820 "debug.bat.in" "emacs.bat.in" "addsection.c"
821 "inc/sys/dir.h" "inc/gettext.h" "nt/inc/socket.h"
822 "time.h"
823 ".gdbinit-union"
824 "alloca.s"
825 "make-delta"
826 "config.w95"
827 "msysconfig.sh"
828 "emacstool.1"
829 "align.umax"
830 "cxux-crt0.s"
831 "gould-sigvec.s"
832 "getdate.y"
833 "ymakefile"
834 "permute-index" "index.perm"
835 "ibmrs6000.inp"
836 "b2m.c" "b2m.1" "b2m.pl" "rcs-checkin.1"
837 "emacs.bash" "emacs.csh" "ms-kermit"
838 "emacs.ico"
839 "emacs21.ico"
840 "emacs.py" "emacs2.py" "emacs3.py"
841 "BABYL" "LPF" "LEDIT" "OTHER.EMACSES"
842 "emacs16_mac.png" "emacs24_mac.png"
843 "emacs256_mac.png" "emacs32_mac.png"
844 "emacs48_mac.png" "emacs512_mac.png"
845 "ps-prin2.ps" "ps-prin3.ps"
846 "emacs.xbm" "gnu.xpm" "gnus-pointer.xbm" "gnus-pointer.xpm"
847 ;; Moved from etc/ to etc/images, and/or removed.
848 "gnus.pbm" "gnus.xbm" "gnus.xpm" "letter.pbm" "letter.xbm" "letter.xpm"
849 "splash.pbm" "splash.xbm" "splash.xpm" "splash8.xpm"
850 "images/execute.pbm" "images/execute.xpm" "images/fld-open.pbm"
851 "images/fld-open.xpm" "images/highlight.pbm" "images/highlight.xpm"
852 "images/mail.pbm" "images/mail.xpm" "images/mail/alias.pbm"
853 "images/mail/alias.xpm" "images/mail/refile.pbm"
854 "images/mail/refile.xpm" "images/page-down.pbm"
855 "images/page-down.xpm" "images/widen.pbm" "images/widen.xpm"
856 "images/gnus/bar.xbm" "images/gnus/bar.xpm"
857 "images/gnus/reverse-smile.xpm"
858 "notes/commits" "notes/changelogs"
859 "revdiff" ; admin/
860 "admin/ldefs-clean.el"
861 "vcdiff" "rcs-checkin" "tindex.pl"
862 "mainmake" "sed1.inp" "sed2.inp" "sed3.inp" ; msdos/
863 "mac-fix-env.m"
864 ;; Deleted vms stuff:
865 "temacs.opt" "descrip.mms" "compile.com" "link.com"
866 "compact.el" "fadr.el"
867 "calc/calc-maint.el"
868 "emacs-lisp/cl-specs.el"
869 "emacs-lisp/eieio-comp.el"
870 "emacs-lisp/eieio-generic.el"
871 "erc-hecomplete.el"
872 "eshell/esh-maint.el"
873 "language/persian.el"
874 "meese.el" "iswitchb.el" "longlines.el"
875 "mh-exec.el" "mh-init.el" "mh-customize.el"
876 "net/zone-mode.el" "xesam.el"
877 "term/mac-win.el" "sup-mouse.el"
878 "term/apollo.el"
879 "term/vt102.el" "term/vt125.el" "term/vt201.el" "term/vt220.el"
880 "term/vt240.el" "term/vt300.el" "term/vt320.el" "term/vt400.el"
881 "term/vt420.el"
882 "url-https.el"
883 "org-mac-message.el" "org-mew.el" "org-w3m.el" "org-vm.el" "org-wl.el"
884 "org-mks.el" "org-remember.el" "org-xoxo.el" "org-docbook.el"
885 "org-freemind.el" "ox-jsinfo.el"
886 "org-irc.el" "org-rmail.el" "org-docview.el" "org-keys.el" "org-mhe.el"
887 "org-gnus.el" "org-bibtex.el" "org-bbdb.el" "org-info.el" "org-eshell.el"
888 "ob-keys.el"
889 "org-exp-blocks.el" ; maybe this is ob-exp now? dunno
890 "org-lparse.el"
891 "org-special-blocks.el" "org-taskjuggler.el"
892 "ob-sh.el"
893 "ob-scala.el"
894 "progmodes/cap-words.el"
895 "w32-common-fns.el"
896 ;; gnus
897 "nnwfm.el" "nnlistserv.el" "nnkiboze.el" "nndb.el" "nnsoup.el"
898 "netrc.el" "password.el" "sasl-cram.el" "sasl-digest.el" "sasl-ntlm.el"
899 "sasl.el" "dig.el" "dns.el" "hex-util.el" "sha1.el" "md4.el"
900 "hmac-def.el" "hmac-md5.el" "ntlm.el" "hashcash.el" "smime-ldap.el"
901 "assistant.el" "gnus-utils.el" "tls.el" "pgg-def.el" "pgg-gpg.el"
902 "gnus-compat.el" "pgg-parse.el" "pgg-pgp.el" "pgg-pgp5.el" "pgg.el"
903 "dns-mode.el" "run-at-time.el" "gnus-encrypt.el" "sha1-el.el"
904 "gnus-gl.el" "gnus.sum.el" "proto-stream.el" "color.el" "color-lab.el"
905 "earcon.el" "gnus-audio.el" "encrypt.el"
906 "gnus-move.el" "gnus-sync.el"
907 "gnus-ems.el"
908 ;; doc
909 "getopt.c" "texindex.c" "news.texi" "vc.texi" "vc2-xtra.texi"
910 "back.texi" "vol1.texi" "vol2.texi" "elisp-covers.texi" "two.el"
911 "front-cover-1.texi" "locals.texi" "calendar.texi" "info-stnd.texi"
912 "tasks.texi"
913 "advice.texi" "picture.texi" "texinfo.tex"
914 ;; lwlib:
915 "dispatch.c" "dispatch.h" "xrdb-cpp.c" "xrdb.c"
916 "lwlib-Xol.c" "lwlib-Xol.h" "lwlib-Xolmb.c" "lwlib-Xolmb.h"
917 "lwlib-XolmbP.h"
918 ;; lib/
919 "lib/stdio.c" "lib/gl_openssl.h" "lib/sigprocmask.c"
920 "lib/pthread_sigprocmask.c" "lib/ldtoastr.c" "lib/dummy.c"
921 "lib/ignore-value.h" "lib/Makefile.am"
922 "lib/pathmax.h" "lib/stat.c" "lib/strtoul.c" "lib/strtoull.c"
923 "lib/strtoumax.c" "lib/unsetenv.c"
924 "lib/getopt_cdefs.in.h" "lib/getopt_core.h" "lib/getopt_ext.h"
925 "lib/getopt_pfx_core.h" "lib/getopt_pfx_ext.h"
926 ;; lib-src/
927 "cvtmail.c" "digest-doc.c" "emacsserver.c" "emacstool.c" "env.c"
928 "etags-vmslib.c" "fakemail.c" "getdate.c" "getopt.h" "getopt1.c"
929 "getopt_.h" "getopt_int.h" "gettext.h" "leditcfns.c" "loadst.c"
930 "make-path.c" "qsort.c" "sorted-doc.c" "tcp.c" "timer.c" "wakeup.c"
931 "yow.c" "grep-changelog" "grep-changelog.1"
932 ;; semantic files now removed from the repository
933 "semantic/bovine/c-by.el" "semantic/bovine/make-by.el"
934 "semantic/bovine/scm-by.el" "semantic/wisent/javat-wy.el"
935 "semantic/wisent/js-wy.el" "semantic/wisent/python-wy.el"
936 "srecode/srt-wy.el"
937 ;; etc/
938 "emacsclient.c" "etags.c" "hexl.c" "make-docfile.c" "movemail.c"
939 "test-distrib.c" "testfile"
940 "tpu-edt.doc" ; see below
941 "iso-swed.el"
942 "lisp/obsolete/vc-mcvs.el"
943 "obsolete/vc-mcvs.el"
944 "nnwarchive.el"
945 "nnultimate.el"
946 "nnslashdot.el"
947 "keyswap.el"
948 "mouse-sel.el"
949 "nxml-glyph.el"
950 "tramp-gw.el"
951 "webmail.el"
952 "biditest.el"
953 "redisplay-testsuite.el"
954 "cedet-utests.el" "ede-tests.el" "semantic-ia-utest.el"
955 "semantic-tests.el" "semantic-utest-c.el" "semantic-utest.el"
956 "srecode-tests.el" "make-test-deps.emacs-lisp"
957 "nxml-uchnm.el"
958 "decoder-tests.el"
959 "obsolete/scribe.el"
960 "cp51932.el"
961 "eucjp-ms.el"
962 "lisp.mk"
963 "update-game-score.exe.manifest"
964 "lisp/obsolete/awk-mode.el"
965 "lisp/obsolete/iso-acc.el"
966 "lisp/obsolete/iso-insert.el"
967 "lisp/obsolete/resume.el"
968 "lisp/obsolete/scribe.el"
969 "lisp/obsolete/swedish.el"
970 "lisp/obsolete/spell.el"
971 "lisp/obsolete/swedish.el"
972 "lisp/obsolete/sym-comp.el"
973 "obsolete/sym-comp.el"
974 "library-of-babel.org"
975 "flymake-elisp.el"
976 "flymake-ui.el"
977 "pinentry.el"
978 "ledit.el"
979 "lmenu.el")
980 "File names which are valid, but no longer exist (or cannot be found)
981 in the repository.")
983 ;; Note that any directory part on the RHS is retained.
984 ;; Cf authors-renamed-files-regexps.
985 ;; NB So only add a directory if needed to disambiguate.
986 ;; FIXME?
987 ;; Although perhaps we could let authors-disambiguate-file-name do that?
989 ;; WARNING: The semantics of these entries is tricky to grasp without
990 ;; reading the code!
991 ;; The rule is: for every file that was renamed or moved to another
992 ;; directory, add an entry (OLD-NAME . NEW-BASENAME), where OLD-NAME
993 ;; is the old name of the file as it appears in the ChangeLog files,
994 ;; and NEW-BASENAME is the _basename_ of its new name. Yes, this
995 ;; means that a file which was moved to another directory but kept its
996 ;; basename will have a seemingly-silly entry ("foo" . "foo"). (Told
997 ;; you: this is tricky!) If the moved/renamed file was mentioned in
998 ;; several ChangeLog files with different leading directories, you
999 ;; need to provide an entry for each such instance. For example, if
1000 ;; some ChangeLog mentioned a moved file as lisp/gnus/something.el and
1001 ;; another ChangeLog mentioned it as gnus/something.el, you need to
1002 ;; have two entries:
1004 ;; ("gnus/something.el" . "something.el")
1005 ;; ("lisp/gnus/something.el" . "something.el")
1007 ;; The important part is that the car of the entry should be identical
1008 ;; to how a file was mentioned in the respective ChangeLog. It is
1009 ;; advisable to run a Grep command such as
1011 ;; grep -F -R BASENAME . --include='ChangeLog*'
1013 ;; where BASENAME is the old basename of the renamed file. This will
1014 ;; show all the different reference forms of the file in the various
1015 ;; ChangeLog* files, and you can then prepare a separate entry for
1016 ;; each reference form.
1018 ;; The cdr of the entry should generally be only the basename of the
1019 ;; file's current name, because that's how AUTHORS references files.
1020 ;; It _can_ have leading directories, but that is only
1021 ;; needed/advisable if there are several files in the tree that have
1022 ;; the same basename, and you want to disambiguate them, so that
1023 ;; people who actually contributed to different files aren't mentioned
1024 ;; as if they contributed to the same single file.
1025 (defconst authors-renamed-files-alist
1026 '(("nt.c" . "w32.c") ("nt.h" . "w32.h")
1027 ("ntheap.c" . "w32heap.c") ("ntheap.h" . "w32heap.h")
1028 ("ntinevt.c" . "w32inevt.c") ("ntinevt.h" . "w32inevt.h")
1029 ("ntproc.c" . "w32proc.c")
1030 ("w32console.c" . "w32term.c")
1031 ("unexnt.c" . "unexw32.c")
1032 ("m/windowsnt.h" . "ms-w32.h")
1033 ("s/windowsnt.h" . "ms-w32.h")
1034 ("s/ms-w32.h" . "ms-w32.h")
1035 ("src/config.h" . "config.h")
1036 ("winnt.el" . "w32-fns.el")
1037 ("linux.h" . "gnu-linux.h")
1038 ("emacs.manifest" . "emacs-x86.manifest")
1039 ("config.emacs" . "configure")
1040 ("configure.in" . "configure.ac")
1041 ("config.h.dist" . "config.in")
1042 ("config.h-dist" . "config.in")
1043 ("config.h.in" . "config.in")
1044 ("debug.bat" . "debug.bat.in")
1045 ("emacs.bat" . "emacs.bat.in")
1046 ;; paths.h.dist -> paths.h-dist -> paths.h.in -> paths.in -> epaths.in.
1047 ("paths.h.dist" . "epaths.in")
1048 ("paths.h-dist" . "epaths.in")
1049 ("paths.h.in" . "epaths.in")
1050 ("paths.in" . "epaths.in")
1051 ("emacs.rc" . "emacs.rc.in")
1052 ("emacsclient.rc" . "emacsclient.rc.in")
1053 ("patch1" . "sed1.inp")
1054 ("INSTALL.MSYS" . "INSTALL")
1055 ("server.c" . "emacsserver.c")
1056 ("lib-src/etags.c" . "etags.c")
1057 ;; gnulib
1058 ("lib/strftime.c" . "nstrftime.c")
1059 ("src/mini-gmp.c" . "mini-gmp.c")
1060 ("src/mini-gmp.h" . "mini-gmp.h")
1061 ;; msdos/
1062 ("is-exec.c" . "is_exec.c")
1063 ("enriched.doc" . "enriched.txt")
1064 ("GETTING.GNU.SOFTWARE" . "FTP")
1065 ("etc/MACHINES" . "MACHINES")
1066 ("ONEWS" . "NEWS.19")
1067 ("ONEWS.1" . "NEWS.1-17")
1068 ("ONEWS.2" . "NEWS.1-17")
1069 ("ONEWS.3" . "NEWS.18")
1070 ("ONEWS.4" . "NEWS.18")
1071 ("ORDERS.USA" . "ORDERS")
1072 ("EUROPE" . "ORDERS")
1073 ("DIFF" . "OTHER.EMACSES")
1074 ("CCADIFF" . "OTHER.EMACSES")
1075 ("GOSDIFF" . "OTHER.EMACSES")
1076 ("emacs.appdata.xml" . "emacs.metainfo.xml")
1077 ;; Nextstep
1078 ("nextstep/Cocoa/Emacs.base/Contents/Info.plist" . "nextstep/templates/Info.plist.in")
1079 ;; Moved from lisp/tpu-doc.el to etc/tpu-edt.doc in Emacs 19.29.
1080 ;; Removed in Emacs 19.30, replaced by new file etc/edt-user.doc
1081 ;; (no associated ChangeLog entry).
1082 ("tpu-doc.el" . "tpu-edt.doc")
1083 ("Makefile.in.in" . "Makefile.in")
1084 ("leim-Makefile" . "leim/Makefile")
1085 ("leim-Makefile.in" . "leim/Makefile.in")
1086 ("emacs-lisp/testcover-ses.el" . "tcover-ses.el")
1087 ("emacs-lisp/testcover-unsafep.el" . "tcover-unsafep.el")
1088 ("progmodes/dos.el" . "bat-mode.el")
1089 ;; index and pick merged into search.
1090 ("mh-index.el" . "mh-search.el")
1091 ("mh-pick.el" . "mh-search.el")
1092 ("font-setting.el" . "dynamic-setting.el")
1093 ("help-funs.el" . "help-fns.el")
1094 ("erc-notifications.el" . "erc-desktop-notifications.el")
1095 ("org-complete.el" . "org-pcomplete.el")
1096 ("org-export.el" . "ox.el") ; ?
1097 ;; Was definitely renamed to org-latex.el, then... ?
1098 ("org-export-latex.el" . "ox-latex.el") ; ?
1099 ("org-exp.el" . "ox.el") ; ?
1100 ("progmodes/cfengine3.el" . "cfengine.el")
1101 ("progmodes/delphi.el" . "opascal.el")
1102 ("octave-inf.el" . "octave.el")
1103 ("octave-mod.el" . "octave.el")
1104 ("progmodes/octave-inf.el" . "octave.el")
1105 ("progmodes/octave-mod.el" . "octave.el")
1106 ;; Obsolete.
1107 ("lisp/gs.el" . "gs.el")
1108 ("emacs-lisp/assoc.el" . "assoc.el")
1109 ("emacs-lisp/cust-print.el" . "cust-print.el")
1110 ("emacs-lisp/gulp.el" . "gulp.el")
1111 ("abbrevlist.el" . "abbrevlist.el")
1112 ("emulation/crisp.el" . "crisp.el")
1113 ("emulation/tpu-edt.el" . "tpu-edt.el")
1114 ("emulation/tpu-extras.el" . "tpu-extras.el")
1115 ("emulation/tpu-mapper.el" . "tpu-mapper.el")
1116 ("emulation/vi.el" . "vi.el")
1117 ("emulation/vip.el" . "vip.el")
1118 ("emulation/ws-mode.el" . "ws-mode.el")
1119 ("mail/mailpost.el" . "mailpost.el")
1120 ("net/eudcb-ph.el" . "eudcb-ph.el")
1121 ("play/bruce.el" . "bruce.el")
1122 ("play/landmark.el" . "landmark.el")
1123 ("lisp/play/landmark.el" . "landmark.el")
1124 ("play/yow.el" . "yow.el")
1125 ("patcomp.el" . "patcomp.el")
1126 ("emulation/ws-mode.el" . "ws-mode.el")
1127 ("vc/vc-arch.el" . "vc-arch.el")
1128 ("lisp/gnus/messcompat.el" . "messcompat.el")
1129 ("html2text.el" . "html2text.el")
1130 ("lisp/net/html2text.el" . "html2text.el")
1131 ;; Obsolete in 28.1.
1132 ("inversion.el" . "inversion.el")
1133 ("test/lisp/cedet/inversion-tests.el" . "inversion-tests.el")
1134 ("test/lisp/mail/rfc2368-tests.el" . "rfc2368-tests.el")
1135 ;; This file was briefly obsolete:
1136 ("lisp/obsolete/erc-compat.el" . "erc-compat.el")
1137 ;; From lisp to etc/forms.
1138 ("forms-d2.el" . "forms-d2.el")
1139 ("forms-pass.el" . "forms-pass.el")
1140 ;; From lisp/ to etc/nxml.
1141 ("nxml/test.invalid.xml" . "test-invalid.xml")
1142 ("nxml/test.valid.xml" . "test-valid.xml")
1143 ("automated/Makefile.in" . "test/Makefile.in")
1144 ;; rmailmm tests wandered from test/ to test/manual to test/lisp/mail/
1145 ("rmailmm.el" . "rmailmm-tests.el")
1146 ("test/rmailmm.el" . "rmailmm-tests.el")
1147 ("test/manual/rmailmm.el" . "rmailmm-tests.el")
1148 ;; The one in lisp is eshell/eshell.el.
1149 ("eshell.el" . "eshell-tests.el")
1150 ("automated/eshell.el" . "eshell-tests.el")
1151 ("eshell/esh-test.el" . "eshell-tests.el")
1152 ("automated/cl-lib.el" . "cl-lib-tests.el")
1153 ("automated/cl-lib-tests.el" . "cl-lib-tests.el")
1154 ("automated/package-x-test.el" . "package-tests.el")
1155 ("automated/package-test.el" . "package-tests.el")
1156 ("indent/js-indent-first-initialiser-t.js" . "indent/js-indent-init-t.js")
1157 ("indent/js-indent-first-initialiser-dynamic.js" .
1158 "indent/js-indent-init-dynamic.js")
1159 ;; INSTALL-CVS -> .CVS -> .BZR -> .REPO
1160 ("INSTALL-CVS" . "INSTALL.REPO")
1161 ("INSTALL.CVS" . "INSTALL.REPO")
1162 ("INSTALL.BZR" . "INSTALL.REPO")
1163 ("gnus-logo.eps" . "gnus-logo.eps") ; moved to refcards/
1164 ("build-install" . "build-ins.in")
1165 ("build-install.in" . "build-ins.in")
1166 ("unidata/Makefile" . "unidata/Makefile.in")
1167 ("mac/uvs.el" . "unidata/uvs.el")
1168 ;; Moved from top to etc/
1169 ("CONTRIBUTE" . "CONTRIBUTE")
1170 ("FTP" . "FTP")
1171 ;; Moved from top to build-aux/
1172 ("move-if-change" . "move-if-change")
1173 ("update-subdirs" . "update-subdirs")
1174 ("emacs.tex" . "emacs.texi")
1175 ("faq.texi" . "efaq.texi")
1176 ("major.texi" . "modes.texi")
1177 ("msdog-xtra.texi" . "msdos-xtra.texi")
1178 ("msdog.texi" . "msdos.texi")
1179 ;; Moved from lisp/gnus/ to lisp/
1180 ("auth-source.el" . "auth-source.el")
1181 ("lisp/gnus/auth-source.el" . "auth-source.el")
1182 ("ecomplete.el" . "ecomplete.el")
1183 ("format-spec.el" . "format-spec.el")
1184 ("gnus/format-spec.el" . "format-spec.el")
1185 ("lisp/gnus/ecomplete.el" . "ecomplete.el")
1186 ("plstore.el" . "plstore.el")
1187 ("lisp/gnus/plstore.el" . "plstore.el")
1188 ("registry.el" . "registry.el")
1189 ("lisp/gnus/registry.el" . "registry.el")
1190 ("rtree.el" . "rtree.el")
1191 ;; Moved from lisp/gnus/ to lisp/calendar/
1192 ("time-date.el" . "time-date.el")
1193 ;; Moved from lisp/gnus/ to lisp/mail/
1194 ("binhex.el" . "binhex.el")
1195 ("gnus/binhex.el" . "binhex.el")
1196 ("uudecode.el" . "uudecode.el")
1197 ("gnus/uudecode.el" . "uudecode.el")
1198 ("mail-parse.el" . "mail-parse.el")
1199 ("gnus/mail-parse.el" . "mail-parse.el")
1200 ("mail-prsvr.el" . "mail-prsvr.el")
1201 ("gnus/mail-prsvr.el" . "mail-prsvr.el")
1202 ("yenc.el" . "yenc.el")
1203 ("flow-fill.el" . "flow-fill.el")
1204 ("gnus/flow-fill.el" . "flow-fill.el")
1205 ("ietf-drums.el" . "ietf-drums.el")
1206 ("gnus/ietf-drums.el" . "ietf-drums.el")
1207 ("pop3.el" . "pop3.el")
1208 ("mail/pop3.el" . "pop3.el")
1209 ("gnus/pop3.el" . "pop3.el")
1210 ("lisp/gnus/pop3.el" . "pop3.el")
1211 ("qp.el" . "qp.el")
1212 ("gnus/qp.el" . "qp.el")
1213 ("lisp/gnus/qp.el" . "qp.el")
1214 ("rfc2045.el" . "rfc2045.el")
1215 ("gnus/rfc2045.el" . "rfc2045.el")
1216 ("rfc2047.el" . "rfc2047.el")
1217 ("gnus/rfc2047.el" . "rfc2047.el")
1218 ("rfc2231.el" . "rfc2231.el")
1219 ("gnus/rfc2231.el" . "rfc2231.el")
1220 ("lisp/gnus/rfc2231.el" . "rfc2231.el")
1221 ;; Moved from lisp/gnus/ to lisp/image/
1222 ("compface.el" . "compface.el")
1223 ("gravatar.el" . "gravatar.el")
1224 ("lisp/gnus/gravatar.el" . "gravatar.el")
1225 ;; Moved from lisp/gnus/ to lisp/net/
1226 ("eww.el" . "eww.el")
1227 ("net/eww.el" . "eww.el")
1228 ("lisp/new/eww.el" . "eww.el") ; an actual typo in ChangeLog.3
1229 ("gssapi.el" . "gssapi.el")
1230 ("lisp/gnus/gssapi.el" . "gssapi.el")
1231 ("imap.el" . "net/imap.el")
1232 ("mailcap.el" . "mailcap.el")
1233 ("gnus/mailcap.el" . "mailcap.el")
1234 ("lisp/gnus/mailcap.el" . "mailcap.el")
1235 ("rfc2104.el" . "net/rfc2104.el")
1236 ("starttls.el" . "starttls.el")
1237 ("lisp/net/starttls.el" . "starttls.el") ; moved to obsolete/
1238 ("shr.el" . "shr.el")
1239 ("net/shr.el" . "shr.el")
1240 ("shr-color.el" . "shr-color.el")
1241 ("sieve-manage.el" . "sieve-manage.el")
1242 ("sieve-mode.el" . "sieve-mode.el")
1243 ("sieve.el" . "sieve.el")
1244 ("lisp/gnus/sieve-manage.el" . "sieve-manage.el")
1245 ("lisp/gnus/sieve-mode.el" . "sieve-mode.el")
1246 ("lisp/gnus/sieve.el" . "sieve.el")
1247 ;; Moved from lisp/gnus/ to lisp/international
1248 ("rfc1843.el" . "rfc1843.el")
1249 ("gnus/rfc1843.el" . "rfc1843.el")
1250 ("utf7.el" . "utf7.el")
1251 ("gnus/utf7.el" . "utf7.el")
1252 ;; And from emacs/ to misc/ and back again.
1253 ("ns-emacs.texi" . "macos.texi")
1254 ("overrides.texi" . "gnus-overrides.texi")
1255 ("xresmini.texi" . "xresources.texi")
1256 ;; Not renamed, but we only have the latter in the Emacs repo.
1257 ("trampver.texi.in" . "trampver.texi")
1258 ;; Renamed with same directory.
1259 ("e/eterm" . "eterm-color")
1260 ("e/eterm.ti" . "eterm-color.ti")
1261 ("README.txt" . "README")
1262 ("emacs.names" . "JOKES")
1263 ("ED.WORSHIP" . "JOKES")
1264 ("GNU.JOKES" . "JOKES")
1265 ("CHARACTERS" . "TODO")
1266 ("lisp/character-fold.el" . "char-fold.el")
1267 ("test/automated/character-fold-tests.el" . "char-fold-tests.el")
1268 ("test/automated/char-fold-tests.el" . "char-fold-tests.el")
1269 ("test/lisp/character-fold-tests.el" . "char-fold-tests.el")
1270 ("test/manual/cycle-tests.el" . "fns-tests.el")
1271 ("test/manual/cyclic-tests.el" . "fns-tests.el")
1272 ("test/lisp/dns-mode-tests.el" . "dns-mode-tests.el")
1273 ("test/lisp/legacy/core-elisp-tests.el" . "lisp-tests.el")
1274 ("test/lisp/legacy/decoder-test.el" . "coding-tests.el")
1275 ("test/lisp/legacy/files-tests.el" . "files-tests.el")
1276 ("test/lisp/legacy/font-parse-tests.el" . "font-tests.el")
1277 ("test/lisp/legacy/lexbind-tests.el" . "bytecomp-test.el")
1278 ("test/lisp/legacy/occur-tests.el" . "replace-tests.el")
1279 ("test/lisp/legacy/syntax-tests.el" . "syntax-tests.el")
1280 ("test/file-organisation.org" . "file-organization.org")
1281 ("images/gnus/mail_send.xpm" . "mail-send.xpm") ; still in images/gnus
1282 ("schema/xhtml-basic-form.rnc" . "xhtml-bform.rnc" )
1283 ("schema/xhtml-basic-table.rnc" . "xhtml-btable.rnc")
1284 ("schema/xhtml-list.rnc" . "xhtml-lst.rnc")
1285 ("schema/xhtml-target.rnc" . "xhtml-tgt.rnc")
1286 ("schema/xhtml-style.rnc" . "xhtml-xstyle.rnc")
1287 ("schema/docbook-dyntbl.rnc" . "docbk-dyntbl.rnc")
1288 ("schema/docbook-soextbl.rnc" . "docbk-soextbl.rn" )
1289 ("edt-user.doc" . "edt.texi")
1290 ("DEV-NOTES" . "nextstep")
1291 ("org/COPYRIGHT-AND-LICENSE" . "org/README")
1292 ("lisp/net/idna.el" . "puny.el")
1293 ;; Moved to different directories.
1294 ("ctags.1" . "ctags.1")
1295 ("etags.1" . "etags.1")
1296 ("emacs.1" . "emacs.1")
1297 ("emacsclient.1" . "emacsclient.1")
1298 ("icons/emacs21.ico" . "emacs21.ico")
1299 ("ja-dic" . "leim/ja-dic")
1300 ("quail" . "leim/quail")
1301 ("admin/notes/triage" . "bug-triage")
1302 ;; Moved from autogen/ to admin/.
1303 ("autogen/update_autogen" . "update_autogen")
1304 ;; Moved from etc/ to admin/.
1305 ("grammars" . "grammars")
1306 ;; Moved from lisp/emacs-lisp/ to admin/.
1307 ("emacs-lisp/authors.el" . "authors.el")
1308 ("find-gc.el" . "find-gc.el")
1309 ("emacs-lisp/find-gc.el" . "find-gc.el")
1310 ;; From etc to lisp/cedet/semantic/.
1311 ("grammars/bovine-grammar.el" . "bovine/grammar.el")
1312 ("grammars/wisent-grammar.el" . "wisent/grammar.el")
1313 ;; Moved from admin/nt/ to nt/.
1314 ("nt/README.W32" . "README.W32")
1315 ("notes/BRANCH" . "notes/repo")
1316 ("notes/bzr" . "notes/repo")
1317 ;; moved from lisp/ to lisp/net/, then removed
1318 ("pinentry.el" . "pinentry.el")
1319 ("lisp/pinentry.el" . "pinentry.el")
1320 ("lisp/net/pinentry.el" . "pinentry.el")
1321 ;; module.* moved to emacs-module.*
1322 ("src/module.h" . "emacs-module.h")
1323 ("src/module.c" . "emacs-module.c")
1324 ("test/src/regex-tests.el" . "regex-emacs-tests.el")
1325 ("test/lisp/emacs-lisp/cl-tests.el" . "cl-tests.el")
1326 ("url-ns.el" . "url-ns.el")
1327 ("gnus-news.texi" . "gnus.texi")
1328 ("doc/misc/gnus-news.texi" . "gnus.texi")
1329 ("lisp/multifile.el" . "fileloop.el")
1330 ("lisp/emacs-lisp/thread.el" . "thread.el")
1331 ;; cl.el was retired, replaced by cl-lib.el, and we want to
1332 ;; pretend they are the same file...
1333 ("emacs-lisp/cl.el" . "cl-lib.el")
1334 ("lisp/emacs-lisp/cl.el" . "cl-lib.el")
1335 ("lisp/obsolete/cl.el" . "cl-lib.el")
1336 ("mantemp.el" . "mantemp.el")
1337 ("lisp/progmodes/mantemp.el" . "mantemp.el")
1338 ("progmodes/mantemp.el" . "mantemp.el")
1339 ("sysdep.c" . "src/sysdep.c")
1340 ;; nnir.el started in lisp/gnus/ChangeLog.*, then was
1341 ;; lisp/gnus/nnir.el in ChangeLog.[123], and is now
1342 ;; lisp/obsolete/nnir.el.
1343 ("nnir.el" . "nnir.el")
1344 ("lisp/gnus/nnir.el" . "nnir.el")
1345 ;; regex.[ch] are mentioned as src/regex.[ch] in ChangeLog.[123],
1346 ;; but as just regex.[ch] in src/ChangeLog.*, so we need 2 entries
1347 ;; for each one of them.
1348 ("regex.c" . "regex-emacs.c")
1349 ("regex.h" . "regex-emacs.h")
1350 ("src/regex.c" . "regex-emacs.c")
1351 ("src/regex.h" . "regex-emacs.h")
1352 ("test/manual/rmailmm.el" . "rmailmm-tests.el")
1353 ("test/lisp/cedet/semantic-utest-fmt.el" . "format-tests.el")
1354 ("test/lisp/emacs-lisp/tabulated-list-test.el" . "tabulated-list-tests.el")
1355 ("test/lisp/url/url-handlers-test.el" . "url-handlers-tests.el")
1356 ("test/src/dired-tests.el" . "dired-tests.el")
1357 (".dir-locals.el" . ".dir-locals.el")
1359 "Alist of files which have been renamed during their lifetime.
1360 Elements are (OLDNAME . NEWNAME).")
1362 ;; Should still test that the renamed file exists. Does it?
1363 ;; But it might be relative to a different ChangeLog...
1365 ;; Note that only the basename of the RHS is used.
1366 ;; Cf authors-renamed-files-alist.
1367 (defconst authors-renamed-files-regexps
1368 '(("\\`\\(arg-nonnull\\|c\\+\\+defs\\|warn-on-use\\)\\.h\\'"
1369 "lib/\\&")
1370 ("\\`\\(ebuild\\|emacs\\|install\\|fast-install\\)\\.cmd\\'" "\\1.bat")
1371 ("\\`\\(book-spine\\|cl\\|forms\\|functions\\|gnus\\|sc\\|texinfo\\|vip\\)\
1372 \\.texinfo\\'" "\\1.texi")
1373 ("\\`\\(\\(calc\\|org\\|vip\\)card\\|viperCard\\|\
1374 \\(\\(cs\\|fr\\|sk\\)-\\)?dired-ref\\|\
1375 \\(\\(cs\\|de\\|fr\\|gnus\\|pl\\|pt-br\\|ru\\|sk\\)-\\)?refcard\\|\
1376 \\(\\(cs\\|fr\\|sk\\)-\\)?survival\\)\\.tex\\'" "refcards/\\&")
1377 ("\\`refcard-\\(de\\|pl\\)\\.tex\\'" "refcards/\\1-refcard.tex")
1378 ("\\`\\(refcards/\\)?fr-drdref\\.tex\\'" "refcards/fr-dired-ref.tex")
1379 ("\\`\\(TUTORIAL[^/]*\\)" "tutorials/\\1")
1380 ("\\`themes/dev-\\(tsdh-\\(?:light\\|dark\\)-theme\\.el\\)\\'"
1381 "themes/\\1")
1382 ;; Moved from lisp/toolbar to etc/images.
1383 ("\\`toolbar/\\(back\\|fwd\\|left\\|right\\|up\\)_arrow\
1384 \\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/\\1-arrow\\2")
1385 ("\\`toolbar/lc-\\(back\\|fwd\\|left\\|right\\|up\\)_arrow\
1386 \\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/low-color/\\1-arrow\\2")
1387 ("\\`toolbar/mail_\\(compose\\|send\\)\\(\\.[xp]bm\\)\\'"
1388 "images/mail/\\1")
1389 ("\\`toolbar/jump_to\\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/jump-to\\1")
1390 ("\\`toolbar/lc-jump_to\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
1391 "images/low-color/jump-to\\1")
1392 ("\\`toolbar/\\(attach\\|cancel\\|close\\|copy\\|cut\\|\
1393 diropen\\|exit\\|help\\|home\\|index\\|info\\|mail\\|new\\|open\\|\
1394 paste\\|preferences\\|print\\|save\\|saveas\\|search\\|search-replace\\|\
1395 spell\\|undo\\)\\(\\.\\(?:pb\\|xp\\)m\\)\\'" "images/\\1\\2")
1396 ("\\`toolbar/gud-\\(break\\|cont\\|down\\|finish\\|print\\|pstar\\|\
1397 remove\\|run\\|until\\|up\\|watch\\)\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
1398 "images/gud/\\1\\2")
1399 ("\\`\\(toolbar/gud-\\|images/gud/\\)n\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
1400 "images/gud/next\\2\\3")
1401 ("\\`\\(toolbar/gud-\\|images/gud/\\)s\\(i\\)?\\(\\.\\(?:pb\\|xp\\)m\\)\\'"
1402 "images/gud/step\\2\\3")
1403 ("\\`toolbar/lc-\\([-a-z]+\\.xpm\\)\\'" "images/low-color/\\1")
1404 ("\\`\\(tree-widget/\\(?:default\\|folder\\)/[-a-z]+\\.\\(png\\|xpm\\)\\)\\'"
1405 "images/\\1")
1406 ("\\`\\(images/icons/\\)mac\\(emacs\\)_\\([0-9]+\\)\\(\\.png\\)"
1407 "\\1\\2\\3_mac\\4")
1408 ("\\(images/icons/\\)emacs_\\([0-9][0-9]\\)\\.png"
1409 "\\1hicolor/\\2x\\2/apps/emacs.png")
1410 ;; Moved from leim/ to lisp/leim/.
1411 ("\\`quail/[-a-z0-9]+\\.el\\'" "leim/\\&")
1412 ("\\`ja-dic/ja-dic\\.el\\'" "leim/\\&")
1413 ("\\`vc-\\(rcs\\|cvs\\|sccs\\)-hooks\\.el\\'" "vc/vc-\\1.el")
1414 ("\\`vc-\\(annotate\\|arch\\|bzr\\|cvs\\|dav\\|dir\\|dispatcher\\|\
1415 git\\|hg\\|hooks\\|mtn\\|rcs\\|sccs\\|svn\\)\\.el\\'" "vc/\\&")
1416 ("\\`ediff-\\(diff\\|help\\|hook\\|init\\|merg\\|mult\\|ptch\\|util\\|\
1417 vers\\|wind\\)\\.el\\'" "vc/\\&")
1418 ("\\`pcvs-\\(defs\\|info\\|parse\\|util\\)\\.el\\'" "vc/\\&")
1419 ("\\`\\(add-log\\|compare-w\\|cvs-status\\|diff-mode\\|diff\\|\
1420 ediff\\|emerge\\|log-edit\\|log-view\\|pcvs\\|smerge-mode\\|vc\\)\\.el\\'"
1421 "vc/\\&")
1422 ("\\`\\(emacs-lisp/\\)?helpers\\.el\\'" "emacs-lisp/subr-x.el")
1423 ;; I assume this is (essentially) what happened, org/ChangeLog is vague.
1424 ("\\`org-\\(ascii\\|beamer\\|html\\|icalendar\\|jsinfo\\|latex\
1425 \\|odt\\|publish\\)\\.el\\'" "ox-\\1.el")
1426 ;; From test/ to test/automated/.
1427 ("comint-testsuite\\.el" "automated/\\&")
1428 ("\\`\\(bytecomp\\|font-parse\\|icalendar\\|occur\\|newsticker\\)\
1429 -testsuite\\.el" "\\1-tests.el")
1430 ("automated/flymake/warnpred/\\(Makefile\\|test\\.\\(?:c\\|pl\\)\\)\\'"
1431 "automated/data/flymake/\\1")
1432 ;; More complicated than this, but we only use the basename of the RHS.
1433 ("automated/\\([^/]*-test[^/]*\\.el\\)\\'" "\\1")
1434 ;; Maybe not the exact new name, but disambiguates from lisp/.
1435 ("automated/\\([^/]*\\)\\.el\\'" "\\1-tests.el")
1436 ;; NB lax rules should come last.
1437 ("\\`m/m-\\(.*\\.h\\)\\'" "m/\\1" t)
1438 ("\\`m-\\(.*\\.h\\)\\'" "\\1" t)
1439 ("\\`s/s-\\(.*\\.h\\)\\'" "s/\\1" t)
1440 ("\\`s-\\(.*\\.h\\)\\'" "\\1" t)
1441 ("\\.\\(el\\|[ch]\\|x[pb]m\\|pbm\\)\\'" t t)
1443 "List of regexps and rewriting rules for renamed files.
1444 Elements are (REGEXP REPLACE [LAX]). If REPLACE is a string, the file
1445 name matching REGEXP is replaced by REPLACE using `replace-string'.
1446 Otherwise, the file name is accepted as is.
1447 Elements with LAX non-nil are only used in `authors-lax-changelogs'.")
1449 ;; It's really not worth trying to make these old logs fully valid.
1450 ;; All the obvious real errors are gone.
1451 ;; The main issue is _lots_ of moving around of files.
1452 ;; Eg the progmodes/ (etc) directories did not exist before 1997.
1453 ;; Also, lib-src/ did not exist, the files were in etc/.
1454 ;; And various other things.
1455 (defconst authors-lax-changelogs
1456 '("erc/ChangeLog\\.1\\'"
1457 "gnus/ChangeLog\\.[1-2]\\'"
1458 "lisp/ChangeLog\\.\\([1-9]\\|1[0-5]\\)\\'"
1459 "mh-e/ChangeLog\\.1\\'"
1460 "src/ChangeLog\\.\\([1-9]\\|1[0-2]\\)\\'")
1461 "List of regexps matching ChangeLogs that we do not print errors from.
1462 These are older ChangeLogs that have various issues.
1463 Additionally, for these logs we apply the `lax' elements of
1464 `authors-renamed-files-regexps'.")
1467 (defvar authors-checked-files-alist)
1468 (defvar authors-invalid-file-names)
1469 (defvar authors-ignored-names)
1471 ;; This has become rather yucky. :(
1472 (defun authors-disambiguate-file-name (fullname)
1473 "Convert FULLNAME to an unambiguous relative-name."
1474 (let ((relname (file-name-nondirectory fullname))
1475 dir)
1476 (if (and (member relname authors-ambiguous-files)
1477 ;; Try to identify the top-level directory.
1478 ;; FIXME should really use ROOT from M-x authors.
1479 (not (and (file-directory-p
1480 (expand-file-name
1481 "lib-src"
1482 (setq dir (file-name-directory fullname))))
1483 (file-directory-p (expand-file-name "etc" dir)))))
1484 ;; I think it looks weird to see eg "lisp/simple.el".
1485 ;; But for eg Makefile.in, we do want to say "lisp/Makefile.in".
1486 (if (and (string-equal "lisp"
1487 (file-name-nondirectory
1488 (directory-file-name dir)))
1489 ;; TODO better to simply have hard-coded list?
1490 ;; Only really Makefile.in where this applies.
1491 (not (file-exists-p
1492 (expand-file-name (concat "../" relname) dir))))
1493 relname
1494 ;; In case of ambiguity, just prepend the parent directory.
1495 ;; FIXME obviously this is not a perfect solution.
1496 (format "%s/%s" (file-name-nondirectory (directory-file-name dir))
1497 relname))
1498 relname)))
1500 (defun authors-lax-changelog-p (file)
1501 "Return non-nil if FILE matches `authors-lax-changelogs'."
1502 (let ((list authors-lax-changelogs)
1503 found)
1504 (while list
1505 (setq list (if (setq found (string-match-p (car list) file))
1507 (cdr list))))
1508 found))
1510 (defun authors-canonical-file-name (file log-file pos author)
1511 "Return canonical file name for FILE found in LOG-FILE.
1512 FILE is the file name as it appears in LOG-FILE, including any
1513 leading directories mentioned there.
1514 LOG-FILE is an absolute file name of the log file we are scanning.
1515 Checks whether FILE is a valid (existing) file name, has been renamed,
1516 or is on the list of removed files. Returns the non-directory part of
1517 the file name to use for FILE in the \"AUTHORS\" file.
1518 Only uses the LOG-FILE position POS and associated AUTHOR to print a
1519 message if FILE is not found."
1520 ;; FILE should be re-checked in every different directory associated
1521 ;; with a LOG-FILE. Eg configure.ac from src/ChangeLog is not the
1522 ;; same as that from top-level/ChangeLog.
1523 (let* ((fullname (expand-file-name file (file-name-directory log-file)))
1524 (entry (assoc fullname authors-checked-files-alist))
1525 laxlog relname valid)
1526 (if entry
1527 (cdr entry)
1528 (setq relname (file-name-nondirectory file))
1529 ;; File names in `authors-valid-file-names' are OK by
1530 ;; definition, so no need to check those.
1531 (if (or (member file authors-valid-file-names)
1532 (member relname authors-valid-file-names)
1533 (file-exists-p file)
1534 (file-exists-p relname) ; FIXME? appropriate?
1536 (setq valid (authors-disambiguate-file-name fullname))
1537 (if (setq valid (assoc file authors-renamed-files-alist))
1538 (setq valid (cdr valid))
1539 (setq laxlog (authors-lax-changelog-p log-file))
1540 (let ((rules authors-renamed-files-regexps)
1541 rule)
1542 (while rules
1543 (setq rule (car rules))
1544 (if (and (or laxlog (not (nth 2 rule)))
1545 (string-match (car rule) file))
1546 (setq valid (if (stringp (nth 1 rule))
1547 (file-name-nondirectory
1548 (replace-match (nth 1 rule) t nil file))
1549 relname)
1550 rules nil)
1551 (setq rules (cdr rules)))))))
1552 (setq authors-checked-files-alist
1553 (cons (cons fullname valid) authors-checked-files-alist))
1554 (unless (or valid
1555 (member file authors-ignored-files)
1556 (authors-obsolete-file-p file)
1557 (string-search "*" file)
1558 (string-match "^[0-9.]+$" file)
1559 laxlog)
1560 (setq authors-invalid-file-names
1561 (cons (format-message "%s:%d: unrecognized `%s' for %s"
1562 log-file
1563 (1+ (count-lines (point-min) pos))
1564 file author)
1565 authors-invalid-file-names)))
1566 valid)))
1568 (defun authors-add-fixed-entries (table)
1569 "Add actions from `authors-fixed-entries' to TABLE."
1570 (dolist (entry authors-fixed-entries)
1571 (let ((author (car entry))
1572 action)
1573 (dolist (item (cdr entry))
1574 (if (symbolp item)
1575 (setq action item)
1576 (authors-add author item action table))))))
1579 (defun authors-obsolete-file-p (file)
1580 "Return non-nil if FILE is obsolete.
1581 FILE is considered obsolete if it matches one of the regular expressions
1582 from `authors-obsolete-files-regexps'."
1583 (let (obsolete-p
1584 (regexps authors-obsolete-files-regexps))
1585 (while (and regexps (not obsolete-p))
1586 (setq obsolete-p (string-match (car regexps) file)
1587 regexps (cdr regexps)))
1588 obsolete-p))
1590 (defun authors-no-scan-file-p (file)
1591 "Return non-nil if FILE should not be scanned.
1592 FILE is not scanned if it matches any of `authors-no-scan-regexps'."
1593 (let (no-scan-p
1594 (regexps authors-no-scan-regexps))
1595 (while (and regexps (not no-scan-p))
1596 (setq no-scan-p (string-match-p (car regexps) file)
1597 regexps (cdr regexps)))
1598 no-scan-p))
1600 (defun authors-add (author file action table)
1601 "Record that AUTHOR worked on FILE.
1602 ACTION is a keyword symbol describing what he did. Record file,
1603 author and what he did in hash table TABLE. See the description of
1604 `authors-scan-change-log' for the structure of the hash table."
1605 (unless (or (member file authors-ignored-files)
1606 (authors-obsolete-file-p file)
1607 (equal author ""))
1608 (let* ((value (gethash author table))
1609 (entry (assoc file value))
1610 slot)
1611 (if (null entry)
1612 (puthash author (cons (list file (cons action 1)) value) table)
1613 (if (setq slot (assoc action (cdr entry)))
1614 (setcdr slot (1+ (cdr slot)))
1615 (nconc entry (list (cons action 1))))))))
1618 (defun authors-canonical-author-name (author file pos)
1619 "Return a canonicalized form of AUTHOR, an author name.
1620 If AUTHOR has an entry in `authors-aliases', use that. Remove
1621 email addresses. Capitalize words in the author's name, unless
1622 it is found in `authors-fixed-case'."
1623 (let* ((aliases authors-aliases)
1624 regexps realname)
1625 (while aliases
1626 (setq realname (car (car aliases))
1627 regexps (cdr (car aliases))
1628 aliases (cdr aliases))
1629 (while regexps
1630 (if (string-match (car regexps) author)
1631 (setq author realname
1632 regexps nil
1633 aliases nil)
1634 (setq regexps (cdr regexps))))))
1635 (when author
1636 (setq author (replace-regexp-in-string "[ \t]*[(<].*$" "" author))
1637 (setq author (replace-regexp-in-string "\\`[ \t]+" "" author))
1638 (setq author (replace-regexp-in-string "[ \t]+$" "" author))
1639 (setq author (replace-regexp-in-string "[ \t]+" " " author))
1640 ;; NB this ignores the first name only case.
1641 (unless (string-match "[-, \t]" author)
1642 (or (authors-lax-changelog-p file)
1643 (push (format-message "%s:%d: ignored `%s'"
1644 file (1+ (count-lines (point-min) pos)) author)
1645 authors-ignored-names))
1646 (setq author ""))
1647 (or (car (member author authors-fixed-case))
1648 (capitalize author))))
1650 (defun authors-scan-change-log (log-file table)
1651 "Scan change log LOG-FILE for author information.
1653 For each change mentioned in the log, add an entry to hash table TABLE
1654 under the author's canonical name.
1656 Keys of TABLE are author names. Values are alists of entries (FILE
1657 \(ACTION . COUNT) ...). FILE is one file the author worked on. The
1658 rest of the entry is a list of keyword symbols describing what he did
1659 with the file and the number of each action:
1661 :wrote means the author wrote the file
1662 :cowrote means he wrote the file in collaboration with others
1663 :changed means he changed the file COUNT times."
1665 (let* ((enable-local-variables :safe) ; for find-file, hence let*
1666 (enable-local-eval nil)
1667 (existing-buffer (get-file-buffer log-file))
1668 (buffer (find-file-noselect log-file))
1669 authors pos)
1670 (with-current-buffer buffer
1671 (save-restriction
1672 (widen)
1673 (goto-char (point-min))
1674 (while (re-search-forward "^[0-9]\\|^[ \t]+\\* " nil t)
1675 (beginning-of-line)
1676 (setq pos (point))
1677 (cond ((looking-at "^[0-9]+-[0-9]+-[0-9]+")
1678 ;; Handle joint authorship of changes.
1679 ;; This can be a bit fragile, and is not too common.
1680 (setq authors nil)
1681 (while (progn
1682 (skip-chars-forward " \t+:0-9-")
1683 (not (looking-at "\\($\\|\\*\\|\
1684 Suggested\\|Trivial\\|Version\\|Originally\\|From:\\|Patch[ \t]+[Bb]y\\)")))
1685 (push (authors-canonical-author-name
1686 (buffer-substring-no-properties
1687 (point) (line-end-position)) log-file pos) authors)
1688 (forward-line 1)))
1689 ((looking-at "^[ \t]+\\*")
1690 (let ((line (buffer-substring-no-properties
1691 (match-end 0) (line-end-position))))
1692 (while (and (not (string-search ":" line))
1693 (forward-line 1)
1694 (not (looking-at ":\\|^[ \t]*$")))
1695 (setq line (concat line
1696 (buffer-substring-no-properties
1697 (line-beginning-position)
1698 (line-end-position)))))
1699 (when (string-match ":" line)
1700 (setq line (substring line 0 (match-beginning 0)))
1701 (setq line (replace-regexp-in-string "[[(<{].*$" "" line))
1702 (setq line (string-replace "," "" line))
1703 (dolist (file (split-string line))
1704 (when (setq file (authors-canonical-file-name file log-file pos (car authors)))
1705 (dolist (author authors)
1706 ;;(message "%s changed %s" author file)
1707 (authors-add author file :changed table)))))
1708 (forward-line 1)))))))
1709 (unless existing-buffer
1710 (kill-buffer buffer))))
1713 (defun authors-scan-el (file table)
1714 "Scan Lisp file FILE for author information.
1715 TABLE is a hash table to add author information to."
1716 (let* ((existing-buffer (get-file-buffer file))
1717 (enable-local-variables :safe) ; for find-file, hence let*
1718 (enable-local-eval nil)
1719 (buffer (find-file-noselect file)))
1720 (setq file (expand-file-name file))
1721 (with-current-buffer buffer
1722 (save-restriction
1723 (widen)
1724 (goto-char (point-min))
1725 (while (and (re-search-forward
1726 "^;+[ \t]*\\(Authors?\\|Commentary\\|Code\\):[ \t]*" nil t)
1727 (not (member (match-string 1) '("Commentary" "Code"))))
1728 (let ((continue t)
1729 (action :wrote)
1730 authors)
1731 (while continue
1732 ;; Some entries contain a year range in front of the
1733 ;; author's name.
1734 (skip-chars-forward "-0-9 \t")
1735 (push (authors-canonical-author-name
1736 (buffer-substring-no-properties
1737 (point) (line-end-position))
1738 file (line-beginning-position)) authors)
1739 ;; tips.texi says the continuation line should begin
1740 ;; with a tab, but often spaces are used.
1741 (setq continue
1742 (and (zerop (forward-line 1))
1743 (looking-at ";;;?\\(\t+ *\\| +\\)[[:alnum:]]")
1744 (goto-char (1- (match-end 0)))
1745 (not (looking-at "[[:upper:]][-[:alpha:]]+:[ \t]")))))
1746 (and (> (length authors) 1)
1747 (setq action :cowrote))
1748 (mapc (lambda (author)
1749 (authors-add
1750 author
1751 (authors-disambiguate-file-name file) action table))
1752 authors)))))
1753 (unless existing-buffer
1754 (kill-buffer buffer))))
1757 (defun authors-public-domain-p (file)
1758 "Return t if FILE is a file that was put in public domain."
1759 (let ((public-domain-p nil)
1760 (list authors-public-domain-files))
1761 (while (and list (not public-domain-p))
1762 (when (string-match (car list) file)
1763 (setq public-domain-p t))
1764 (setq list (cdr list)))
1765 public-domain-p))
1767 (defvar authors-author-list)
1769 (defun authors-add-to-author-list (author changes)
1770 "Insert information about AUTHOR's work on Emacs into `authors-author-list'.
1771 CHANGES is an alist of entries (FILE (ACTION . COUNT) ...), as produced by
1772 `authors-scan-change-log'.
1773 The element added to `authors-author-list' is (AUTHOR WROTE CO-WROTE CHANGED),
1774 where WROTE, CO-WROTE, and CHANGED are lists of the files written, co-written
1775 and changed by AUTHOR."
1776 (when author
1777 (let ((nchanged 0)
1778 wrote-list
1779 cowrote-list
1780 changed-list)
1781 (dolist (change changes)
1782 (let* ((actions (cdr change))
1783 (file (car change))
1784 (filestat (if (authors-public-domain-p file)
1785 (concat file " (public domain)")
1786 file)))
1787 (cond ((assq :wrote actions)
1788 (setq wrote-list (cons filestat wrote-list)))
1789 ((assq :cowrote actions)
1790 (setq cowrote-list (cons filestat cowrote-list)))
1792 (setq changed-list
1793 (cons (cons file (cdr (assq :changed actions)))
1794 changed-list))))))
1795 (if wrote-list
1796 (setq wrote-list (sort wrote-list #'string-lessp)))
1797 (if cowrote-list
1798 (setq cowrote-list (sort cowrote-list #'string-lessp)))
1799 (when changed-list
1800 (setq changed-list (sort changed-list
1801 (lambda (a b)
1802 (if (= (cdr a) (cdr b))
1803 (string-lessp (car a) (car b))
1804 (> (cdr a) (cdr b))))))
1805 (setq nchanged (length changed-list))
1806 (setq changed-list (mapcar #'car changed-list)))
1807 (if (> (- nchanged authors-many-files) 2)
1808 (setcdr (nthcdr authors-many-files changed-list)
1809 (list (format "and %d other files" (- nchanged authors-many-files)))))
1810 (setq authors-author-list
1811 (cons (list author wrote-list cowrote-list changed-list)
1812 authors-author-list)))))
1814 (defun authors (root &optional nologupdate)
1815 "Extract author information from change logs and Lisp source files.
1816 ROOT is the root directory under which to find the files.
1817 Interactively, read ROOT from the minibuffer.
1818 Accurate author information requires up-to-date change logs, so this
1819 first updates them, unless optional prefix argument NOLOGUPDATE is non-nil.
1820 The result is a buffer *Authors* containing authorship information,
1821 and a buffer *Authors Errors* containing references to unknown files."
1822 (interactive "DEmacs source directory: \nP")
1823 (setq root (expand-file-name root))
1824 (unless (file-exists-p (expand-file-name "src/emacs.c" root))
1825 (unless (y-or-n-p
1826 (format "Not the root directory of Emacs: %s, continue? " root))
1827 (user-error "Not the root directory")))
1828 ;; May contain your personal entries.
1829 (or (not (file-exists-p (expand-file-name "ChangeLog" root)))
1830 (y-or-n-p "Unversioned ChangeLog present, continue?")
1831 (user-error "Unversioned ChangeLog may have irrelevant entries"))
1832 (or nologupdate
1833 ;; There are likely to be things that need fixing, so we update
1834 ;; the versioned ChangeLog.N rather than the unversioned ChangeLog.
1835 (zerop (call-process "make" nil nil nil
1836 "-C" root "change-history-nocommit"))
1837 (error (substitute-command-keys
1838 "Problem updating ChangeLog, try \"\\[universal-argument] \\[authors]\"")))
1839 (let ((logs (process-lines find-program root "-name" "ChangeLog*"))
1840 (table (make-hash-table :test 'equal))
1841 (buffer-name "*Authors*")
1842 authors-checked-files-alist
1843 authors-invalid-file-names
1844 authors-ignored-names)
1845 (authors-add-fixed-entries table)
1846 (dolist (log logs)
1847 (when (string-match "ChangeLog\\(.[0-9]+\\)?$" log)
1848 (message "Scanning %s..." log)
1849 (authors-scan-change-log log table)))
1850 (let ((els (process-lines find-program root "-name" "*.el")))
1851 (dolist (file els)
1852 (unless (authors-no-scan-file-p file)
1853 (message "Scanning %s..." file)
1854 (authors-scan-el file table))))
1855 (message "Generating buffer %s..." buffer-name)
1856 (set-buffer (get-buffer-create buffer-name))
1857 (erase-buffer)
1858 (set-buffer-file-coding-system authors-coding-system)
1859 (insert
1860 "Many people have contributed code included in the Free Software
1861 Foundation's distribution of GNU Emacs. To show our appreciation for
1862 their public spirit, we list here in alphabetical order a condensed
1863 list of their contributions.\n")
1864 (let (authors-author-list)
1865 (maphash #'authors-add-to-author-list table)
1866 (setq authors-author-list
1867 (sort authors-author-list
1868 (lambda (a b)
1869 (string-collate-lessp (car a) (car b)
1870 (if (eq system-type 'windows-nt)
1871 "enu_USA"
1872 "en_US.UTF-8")))))
1873 (dolist (a authors-author-list)
1874 (let ((author (car a))
1875 (wrote (nth 1 a))
1876 (cowrote (nth 2 a))
1877 (changed (nth 3 a)))
1878 (insert "\n" author ": ")
1879 (when wrote
1880 (insert "wrote")
1881 (dolist (file wrote)
1882 (if (> (+ (current-column) (length file)) 72)
1883 (insert "\n "))
1884 (insert " " file))
1885 (insert "\n"))
1886 (when cowrote
1887 (if wrote
1888 (insert "and "))
1889 (insert "co-wrote")
1890 (dolist (file cowrote)
1891 (if (> (+ (current-column) (length file)) 72)
1892 (insert "\n "))
1893 (insert " " file))
1894 (insert "\n"))
1895 (when changed
1896 (if (or wrote cowrote)
1897 (insert "and "))
1898 (insert "changed")
1899 (dolist (file changed)
1900 (if (> (+ (current-column) (length file)) 72)
1901 (insert "\n "))
1902 (insert " " file))
1903 (insert "\n")))))
1904 (insert "\nLocal" " Variables:\nmode: emacs-authors\ncoding: "
1905 (symbol-name authors-coding-system) "\nEnd:\n")
1906 (message "Generating buffer %s... done" buffer-name)
1907 (unless noninteractive
1908 (when (or authors-invalid-file-names authors-ignored-names)
1909 (with-current-buffer (get-buffer-create "*Authors Errors*")
1910 (setq buffer-read-only nil)
1911 (erase-buffer)
1912 (set-buffer-file-coding-system authors-coding-system)
1913 (when authors-invalid-file-names
1914 (insert "Unrecognized file entries found:\n\n")
1915 (mapc (lambda (f) (if (not (string-match "^[A-Za-z]+$" f)) (insert f "\n")))
1916 (sort authors-invalid-file-names #'string-lessp)))
1917 (when authors-ignored-names
1918 (insert "\n\nThese authors were ignored:\n\n"
1919 (mapconcat
1920 #'identity
1921 (sort authors-ignored-names #'string-lessp) "\n")))
1922 (goto-char (point-min))
1923 (compilation-mode)
1924 (message "Errors were found. See buffer %s" (buffer-name))))
1925 (pop-to-buffer buffer-name))))
1928 (defun batch-update-authors ()
1929 "Produce an AUTHORS file.
1930 Call this function in batch mode with two command line arguments FILE
1931 and ROOT. FILE is the file to write, ROOT is the root directory of
1932 the Emacs source tree, from which to build the file."
1933 (unless noninteractive
1934 (error "`batch-update-authors' is to be used only with -batch"))
1935 (when (/= (length command-line-args-left) 2)
1936 (error "Call `batch-update-authors' with the name of the file to write"))
1937 (let* ((file (pop command-line-args-left))
1938 (root (pop command-line-args-left)))
1939 (authors root)
1940 (write-file file)))
1942 (provide 'authors)
1944 ;;; authors.el ends here