diff options
| author | Joakim Verona | 2011-06-16 00:22:07 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-06-16 00:22:07 +0200 |
| commit | a7513ade3bc0fe79430d5541d88c9dcda0932bec (patch) | |
| tree | 4383951ba698a11e9f8933a9d8c72e00aa872a10 /admin | |
| parent | 4bd51ad5c3445b644dfb017d5b57b10a90aa325f (diff) | |
| parent | 4bba86e6210a74326e843a8fdc8409127105e1fe (diff) | |
| download | emacs-a7513ade3bc0fe79430d5541d88c9dcda0932bec.tar.gz emacs-a7513ade3bc0fe79430d5541d88c9dcda0932bec.zip | |
merge from upstream
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/CPP-DEFINES | 34 | ||||
| -rw-r--r-- | admin/ChangeLog | 32 | ||||
| -rw-r--r-- | admin/admin.el | 234 | ||||
| -rw-r--r-- | admin/bzrmerge.el | 20 | ||||
| -rw-r--r-- | admin/make-tarball.txt | 12 | ||||
| -rw-r--r-- | admin/notes/BRANCH | 7 | ||||
| -rw-r--r-- | admin/notes/bugtracker | 22 | ||||
| -rw-r--r-- | admin/notes/bzr | 93 | ||||
| -rw-r--r-- | admin/notes/copyright | 103 | ||||
| -rw-r--r-- | admin/notes/elpa | 62 | ||||
| -rw-r--r-- | admin/notes/exit-value | 2 | ||||
| -rw-r--r-- | admin/notes/years | 8 |
12 files changed, 445 insertions, 184 deletions
diff --git a/admin/CPP-DEFINES b/admin/CPP-DEFINES index 7febc93bb33..6e0f736a06f 100644 --- a/admin/CPP-DEFINES +++ b/admin/CPP-DEFINES | |||
| @@ -53,17 +53,12 @@ CLASH_DETECTION | |||
| 53 | COFF | 53 | COFF |
| 54 | FIRST_PTY_LETTER | 54 | FIRST_PTY_LETTER |
| 55 | HAVE_PTYS | 55 | HAVE_PTYS |
| 56 | HAVE_TERMIO | ||
| 57 | HAVE_TERMIOS | ||
| 58 | INTERRUPT_INPUT | 56 | INTERRUPT_INPUT |
| 59 | NARROWPROTO | 57 | NARROWPROTO |
| 60 | SEPCHAR | 58 | SEPCHAR |
| 61 | SIGTYPE | ||
| 62 | SYSTEM_TYPE | 59 | SYSTEM_TYPE |
| 63 | 60 | ||
| 64 | ** Machine specific macros, decribed in detail in src/m/template.h | 61 | ** Machine specific macros, decribed in detail in src/m/template.h |
| 65 | LOAD_AVE_CVT | ||
| 66 | LOAD_AVE_TYPE | ||
| 67 | VIRT_ADDR_VARIES | 62 | VIRT_ADDR_VARIES |
| 68 | 63 | ||
| 69 | ** Misc macros | 64 | ** Misc macros |
| @@ -111,7 +106,6 @@ EMACS_INT | |||
| 111 | EMACS_UINT | 106 | EMACS_UINT |
| 112 | FILE_SYSTEM_CASE | 107 | FILE_SYSTEM_CASE |
| 113 | FLOAT_CHECK_DOMAIN | 108 | FLOAT_CHECK_DOMAIN |
| 114 | FSCALE | ||
| 115 | GC_LISP_OBJECT_ALIGNMENT | 109 | GC_LISP_OBJECT_ALIGNMENT |
| 116 | GC_MARK_SECONDARY_STACK | 110 | GC_MARK_SECONDARY_STACK |
| 117 | GC_MARK_STACK | 111 | GC_MARK_STACK |
| @@ -179,7 +173,6 @@ HAVE_SYS_SYSTEMINFO_H | |||
| 179 | HAVE_SYS_TIMEB_H | 173 | HAVE_SYS_TIMEB_H |
| 180 | HAVE_SYS_TIME_H | 174 | HAVE_SYS_TIME_H |
| 181 | HAVE_TCATTR | 175 | HAVE_TCATTR |
| 182 | HAVE_TERMIOS_H | ||
| 183 | HAVE_TIMEVAL | 176 | HAVE_TIMEVAL |
| 184 | HAVE_TM_ZONE | 177 | HAVE_TM_ZONE |
| 185 | HAVE_TZSET | 178 | HAVE_TZSET |
| @@ -193,8 +186,6 @@ HPUX | |||
| 193 | INTERNAL_TERMINAL | 186 | INTERNAL_TERMINAL |
| 194 | IS_ANY_SEP | 187 | IS_ANY_SEP |
| 195 | IS_DIRECTORY_SEP | 188 | IS_DIRECTORY_SEP |
| 196 | KERNEL_FILE | ||
| 197 | LDAV_SYMBOL | ||
| 198 | LINKER | 189 | LINKER |
| 199 | LINUX_VERSION_CODE | 190 | LINUX_VERSION_CODE |
| 200 | LISP_FLOAT_TYPE | 191 | LISP_FLOAT_TYPE |
| @@ -243,7 +234,6 @@ SIGNALS_VIA_CHARACTERS | |||
| 243 | SIGPIPE | 234 | SIGPIPE |
| 244 | SIGQUIT | 235 | SIGQUIT |
| 245 | SIGTRAP | 236 | SIGTRAP |
| 246 | SIGTYPE | ||
| 247 | SOLARIS2 | 237 | SOLARIS2 |
| 248 | STDC_HEADERS | 238 | STDC_HEADERS |
| 249 | SYSTEM_PURESIZE_EXTRA | 239 | SYSTEM_PURESIZE_EXTRA |
| @@ -265,14 +255,9 @@ USG5_4 | |||
| 265 | USG_SUBTTY_WORKS | 255 | USG_SUBTTY_WORKS |
| 266 | VALBITS | 256 | VALBITS |
| 267 | WRETCODE | 257 | WRETCODE |
| 268 | XINT | ||
| 269 | XOS_NEEDS_TIME_H | 258 | XOS_NEEDS_TIME_H |
| 270 | XPNTR | ||
| 271 | XSET | ||
| 272 | XUINT | ||
| 273 | _AIX | 259 | _AIX |
| 274 | _ARCH_PPC64 | 260 | _ARCH_PPC64 |
| 275 | _CALLBACK_ | ||
| 276 | _FILE_OFFSET_BITS | 261 | _FILE_OFFSET_BITS |
| 277 | _LP64 | 262 | _LP64 |
| 278 | _MALLOC_INTERNAL | 263 | _MALLOC_INTERNAL |
| @@ -280,21 +265,6 @@ _NAIVE_DOS_REGS | |||
| 280 | _VARARGS_ | 265 | _VARARGS_ |
| 281 | _WINSOCKAPI_ | 266 | _WINSOCKAPI_ |
| 282 | _WINSOCK_H | 267 | _WINSOCK_H |
| 283 | __ELF__ | ||
| 284 | __FreeBSD__ | ||
| 285 | __GNUC__ | ||
| 286 | __GNU_LIBRARY__ | ||
| 287 | __GNUC_MINOR__ | ||
| 288 | __NetBSD__ | ||
| 289 | __OpenBSD__ | ||
| 290 | __STDC__ | ||
| 291 | __arch64__ | ||
| 292 | __cplusplus | ||
| 293 | __hpux | ||
| 294 | __ia64__ | ||
| 295 | __linux__ | ||
| 296 | __mc68000__ | ||
| 297 | __mips__ | ||
| 298 | _longjmp | 268 | _longjmp |
| 299 | _setjmp | 269 | _setjmp |
| 300 | _start | 270 | _start |
| @@ -330,9 +300,7 @@ getenv | |||
| 330 | getpid | 300 | getpid |
| 331 | getuid | 301 | getuid |
| 332 | gmtime | 302 | gmtime |
| 333 | i386 | ||
| 334 | index | 303 | index |
| 335 | init_process | ||
| 336 | isatty | 304 | isatty |
| 337 | kill | 305 | kill |
| 338 | link | 306 | link |
| @@ -340,7 +308,6 @@ linux | |||
| 340 | localtime | 308 | localtime |
| 341 | logb | 309 | logb |
| 342 | lseek | 310 | lseek |
| 343 | m68k | ||
| 344 | malloc | 311 | malloc |
| 345 | mkdir | 312 | mkdir |
| 346 | mktemp | 313 | mktemp |
| @@ -381,4 +348,3 @@ vfork | |||
| 381 | wait | 348 | wait |
| 382 | write | 349 | write |
| 383 | xfree | 350 | xfree |
| 384 | |||
diff --git a/admin/ChangeLog b/admin/ChangeLog index 46dbaa0da26..7aaeb1d5ee2 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,35 @@ | |||
| 1 | 2011-05-21 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals. | ||
| 4 | |||
| 5 | 2011-03-07 Chong Yidong <cyd@stupidchicken.com> | ||
| 6 | |||
| 7 | * Version 23.3 released. | ||
| 8 | |||
| 9 | 2011-02-23 Juanma Barranquero <lekktu@gmail.com> | ||
| 10 | |||
| 11 | * notes/bugtracker (bugtracker_debbugs_url): Fix typo. | ||
| 12 | |||
| 13 | 2011-02-19 Eli Zaretskii <eliz@gnu.org> | ||
| 14 | |||
| 15 | * admin.el (set-version): Add msdos/sed2v2.inp. | ||
| 16 | |||
| 17 | 2011-02-16 Paul Eggert <eggert@cs.ucla.edu> | ||
| 18 | |||
| 19 | Remove no-longer needed getloadavg symbols. | ||
| 20 | * CPP-DEFINES (LOAD_AVE_CVT, LOAD_AVE_TYPE, FSCALE, KERNEL_FILE): | ||
| 21 | (LDAV_SYMBOL): Remove. | ||
| 22 | |||
| 23 | 2011-02-12 Glenn Morris <rgm@gnu.org> | ||
| 24 | |||
| 25 | * bzrmerge.el (bzrmerge-resolve): Fix bzr revert call. | ||
| 26 | |||
| 27 | 2011-02-05 Glenn Morris <rgm@gnu.org> | ||
| 28 | |||
| 29 | * bzrmerge.el (bzrmerge-warning-buffer): New constant. | ||
| 30 | (bzrmerge-apply): Use it. | ||
| 31 | (bzrmerge): Kill any old warning buffer first. | ||
| 32 | |||
| 1 | 2011-02-03 Glenn Morris <rgm@gnu.org> | 33 | 2011-02-03 Glenn Morris <rgm@gnu.org> |
| 2 | 34 | ||
| 3 | * bzrmerge.el (bzrmerge-buffer): New constant. | 35 | * bzrmerge.el (bzrmerge-buffer): New constant. |
diff --git a/admin/admin.el b/admin/admin.el index 9f87e9b2590..70958ce1a76 100644 --- a/admin/admin.el +++ b/admin/admin.el | |||
| @@ -77,6 +77,10 @@ Root must be the root of an Emacs source tree." | |||
| 77 | (rx (and bol "#" (0+ blank) "define" (1+ blank) | 77 | (rx (and bol "#" (0+ blank) "define" (1+ blank) |
| 78 | "VERSION" (1+ blank) | 78 | "VERSION" (1+ blank) |
| 79 | (submatch (1+ (in "0-9.")))))) | 79 | (submatch (1+ (in "0-9.")))))) |
| 80 | (set-version-in-file root "msdos/sed2v2.inp" version | ||
| 81 | (rx (and bol "/^#undef " (1+ not-newline) | ||
| 82 | "define VERSION" (1+ space) | ||
| 83 | (submatch (1+ (in "0-9.")))))) | ||
| 80 | (set-version-in-file root "nt/makefile.w32-in" version | 84 | (set-version-in-file root "nt/makefile.w32-in" version |
| 81 | (rx (and "VERSION" (0+ space) "=" (0+ space) | 85 | (rx (and "VERSION" (0+ space) "=" (0+ space) |
| 82 | (submatch (1+ (in "0-9.")))))) | 86 | (submatch (1+ (in "0-9.")))))) |
| @@ -208,6 +212,236 @@ Root must be the root of an Emacs source tree." | |||
| 208 | "\\\\def\\\\year{") | 212 | "\\\\def\\\\year{") |
| 209 | "\\([0-9]\\{4\\}\\)}.+%.+copyright year")))))) | 213 | "\\([0-9]\\{4\\}\\)}.+%.+copyright year")))))) |
| 210 | 214 | ||
| 215 | ;;; Various bits of magic for generating the web manuals | ||
| 216 | |||
| 217 | (defun make-manuals (root) | ||
| 218 | "Generate the web manuals for the Emacs webpage." | ||
| 219 | (interactive "DEmacs root directory: ") | ||
| 220 | (let* ((dest (expand-file-name "manual" root)) | ||
| 221 | (html-node-dir (expand-file-name "html_node" dest)) | ||
| 222 | (html-mono-dir (expand-file-name "html_mono" dest)) | ||
| 223 | (txt-dir (expand-file-name "text" dest)) | ||
| 224 | (dvi-dir (expand-file-name "dvi" dest)) | ||
| 225 | (ps-dir (expand-file-name "ps" dest))) | ||
| 226 | (when (file-directory-p dest) | ||
| 227 | (if (y-or-n-p (format "Directory %s exists, delete it first?" dest)) | ||
| 228 | (delete-directory dest t) | ||
| 229 | (error "Aborted"))) | ||
| 230 | (make-directory dest) | ||
| 231 | (make-directory html-node-dir) | ||
| 232 | (make-directory html-mono-dir) | ||
| 233 | (make-directory txt-dir) | ||
| 234 | (make-directory dvi-dir) | ||
| 235 | (make-directory ps-dir) | ||
| 236 | ;; Emacs manual | ||
| 237 | (let ((texi (expand-file-name "doc/emacs/emacs.texi" root))) | ||
| 238 | (manual-html-node texi (expand-file-name "emacs" html-node-dir)) | ||
| 239 | (manual-html-mono texi (expand-file-name "emacs.html" html-mono-dir)) | ||
| 240 | (manual-txt texi (expand-file-name "emacs.txt" txt-dir)) | ||
| 241 | (manual-pdf texi (expand-file-name "emacs.pdf" dest)) | ||
| 242 | (manual-dvi texi (expand-file-name "emacs.dvi" dvi-dir) | ||
| 243 | (expand-file-name "emacs.ps" ps-dir))) | ||
| 244 | ;; Lisp manual | ||
| 245 | (let ((texi (expand-file-name "doc/lispref/elisp.texi" root))) | ||
| 246 | (manual-html-node texi (expand-file-name "elisp" html-node-dir)) | ||
| 247 | (manual-html-mono texi (expand-file-name "elisp.html" html-mono-dir)) | ||
| 248 | (manual-txt texi (expand-file-name "elisp.txt" txt-dir)) | ||
| 249 | (manual-pdf texi (expand-file-name "elisp.pdf" dest)) | ||
| 250 | (manual-dvi texi (expand-file-name "elisp.dvi" dvi-dir) | ||
| 251 | (expand-file-name "elisp.ps" ps-dir))) | ||
| 252 | (message "Manuals created in %s" dest))) | ||
| 253 | |||
| 254 | (defconst manual-doctype-string | ||
| 255 | "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" | ||
| 256 | \"http://www.w3.org/TR/html4/loose.dtd\">\n\n") | ||
| 257 | |||
| 258 | (defconst manual-meta-string | ||
| 259 | "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"> | ||
| 260 | <link rev=\"made\" href=\"mailto:webmasters@gnu.org\"> | ||
| 261 | <link rel=\"icon\" type=\"image/png\" href=\"/graphics/gnu-head-mini.png\"> | ||
| 262 | <meta name=\"ICBM\" content=\"42.256233,-71.006581\"> | ||
| 263 | <meta name=\"DC.title\" content=\"gnu.org\">\n\n") | ||
| 264 | |||
| 265 | (defconst manual-style-string "<style type=\"text/css\"> | ||
| 266 | @import url('/style.css');\n</style>\n") | ||
| 267 | |||
| 268 | (defun manual-html-mono (texi-file dest) | ||
| 269 | "Run Makeinfo on TEXI-FILE, emitting mono HTML output to DEST. | ||
| 270 | This function also edits the HTML files so that they validate as | ||
| 271 | HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using | ||
| 272 | the @import directive." | ||
| 273 | (call-process "makeinfo" nil nil nil | ||
| 274 | "--html" "--no-split" texi-file "-o" dest) | ||
| 275 | (with-temp-buffer | ||
| 276 | (insert-file-contents dest) | ||
| 277 | (setq buffer-file-name dest) | ||
| 278 | (manual-html-fix-headers) | ||
| 279 | (manual-html-fix-index-1) | ||
| 280 | (manual-html-fix-index-2 t) | ||
| 281 | (manual-html-fix-node-div) | ||
| 282 | (goto-char (point-max)) | ||
| 283 | (re-search-backward "</body>[\n \t]*</html>") | ||
| 284 | (insert "</div>\n\n") | ||
| 285 | (save-buffer))) | ||
| 286 | |||
| 287 | (defun manual-html-node (texi-file dir) | ||
| 288 | "Run Makeinfo on TEXI-FILE, emitting per-node HTML output to DIR. | ||
| 289 | This function also edits the HTML files so that they validate as | ||
| 290 | HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using | ||
| 291 | the @import directive." | ||
| 292 | (unless (file-exists-p texi-file) | ||
| 293 | (error "Manual file %s not found" texi-file)) | ||
| 294 | (call-process "makeinfo" nil nil nil | ||
| 295 | "--html" texi-file "-o" dir) | ||
| 296 | ;; Loop through the node files, fixing them up. | ||
| 297 | (dolist (f (directory-files dir nil "\\.html\\'")) | ||
| 298 | (let (opoint) | ||
| 299 | (with-temp-buffer | ||
| 300 | (insert-file-contents (expand-file-name f dir)) | ||
| 301 | (setq buffer-file-name (expand-file-name f dir)) | ||
| 302 | (if (looking-at "<meta http-equiv") | ||
| 303 | ;; Ignore those HTML files that are just redirects. | ||
| 304 | (set-buffer-modified-p nil) | ||
| 305 | (manual-html-fix-headers) | ||
| 306 | (if (equal f "index.html") | ||
| 307 | (let (copyright-text) | ||
| 308 | (manual-html-fix-index-1) | ||
| 309 | ;; Move copyright notice to the end. | ||
| 310 | (re-search-forward "[ \t]*<p>Copyright ©") | ||
| 311 | (setq opoint (match-beginning 0)) | ||
| 312 | (re-search-forward "</blockquote>") | ||
| 313 | (setq copyright-text (buffer-substring opoint (point))) | ||
| 314 | (delete-region opoint (point)) | ||
| 315 | (manual-html-fix-index-2) | ||
| 316 | (insert copyright-text "\n</div>\n")) | ||
| 317 | ;; For normal nodes, give the header div a blue bg. | ||
| 318 | (manual-html-fix-node-div)) | ||
| 319 | (save-buffer)))))) | ||
| 320 | |||
| 321 | (defun manual-txt (texi-file dest) | ||
| 322 | "Run Makeinfo on TEXI-FILE, emitting plaintext output to DEST." | ||
| 323 | (call-process "makeinfo" nil nil nil | ||
| 324 | "--plaintext" "--no-split" texi-file "-o" dest) | ||
| 325 | (shell-command (concat "gzip -c " dest " > " (concat dest ".gz")))) | ||
| 326 | |||
| 327 | (defun manual-pdf (texi-file dest) | ||
| 328 | "Run texi2pdf on TEXI-FILE, emitting plaintext output to DEST." | ||
| 329 | (call-process "texi2pdf" nil nil nil texi-file "-o" dest)) | ||
| 330 | |||
| 331 | (defun manual-dvi (texi-file dest ps-dest) | ||
| 332 | "Run texi2dvi on TEXI-FILE, emitting dvi output to DEST. | ||
| 333 | Also generate postscript output in PS-DEST." | ||
| 334 | (call-process "texi2dvi" nil nil nil texi-file "-o" dest) | ||
| 335 | (call-process "dvips" nil nil nil dest "-o" ps-dest) | ||
| 336 | (call-process "gzip" nil nil nil dest) | ||
| 337 | (call-process "gzip" nil nil nil ps-dest)) | ||
| 338 | |||
| 339 | (defun manual-html-fix-headers () | ||
| 340 | "Fix up HTML headers for the Emacs manual in the current buffer." | ||
| 341 | (let (opoint) | ||
| 342 | (insert manual-doctype-string) | ||
| 343 | (search-forward "<head>\n") | ||
| 344 | (insert manual-meta-string) | ||
| 345 | (search-forward "<meta") | ||
| 346 | (setq opoint (match-beginning 0)) | ||
| 347 | (re-search-forward "<!--") | ||
| 348 | (goto-char (match-beginning 0)) | ||
| 349 | (delete-region opoint (point)) | ||
| 350 | (insert manual-style-string) | ||
| 351 | (search-forward "<meta http-equiv=\"Content-Style") | ||
| 352 | (setq opoint (match-beginning 0)) | ||
| 353 | (search-forward "</head>") | ||
| 354 | (delete-region opoint (match-beginning 0)))) | ||
| 355 | |||
| 356 | (defun manual-html-fix-node-div () | ||
| 357 | "Fix up HTML \"node\" divs in the current buffer." | ||
| 358 | (let (opoint div-end) | ||
| 359 | (while (search-forward "<div class=\"node\">" nil t) | ||
| 360 | (replace-match | ||
| 361 | "<div class=\"node\" style=\"background-color:#DDDDFF\">" | ||
| 362 | t t) | ||
| 363 | (setq opoint (point)) | ||
| 364 | (re-search-forward "</div>") | ||
| 365 | (setq div-end (match-beginning 0)) | ||
| 366 | (goto-char opoint) | ||
| 367 | (if (search-forward "<hr>" div-end 'move) | ||
| 368 | (replace-match "" t t))))) | ||
| 369 | |||
| 370 | (defun manual-html-fix-index-1 () | ||
| 371 | (let (opoint) | ||
| 372 | (re-search-forward "<body>\n\\(<h1 class=\"settitle\\)") | ||
| 373 | (setq opoint (match-beginning 1)) | ||
| 374 | (search-forward "<h2 class=\"unnumbered") | ||
| 375 | (goto-char (match-beginning 0)) | ||
| 376 | (delete-region opoint (point)) | ||
| 377 | (insert "<div id=\"content\" class=\"inner\">\n\n"))) | ||
| 378 | |||
| 379 | (defun manual-html-fix-index-2 (&optional table-workaround) | ||
| 380 | "Replace the index list in the current buffer with a HTML table." | ||
| 381 | (let (done open-td tag desc) | ||
| 382 | ;; Convert the list that Makeinfo made into a table. | ||
| 383 | (search-forward "<ul class=\"menu\">") | ||
| 384 | (replace-match "<table style=\"float:left\" width=\"100%\">") | ||
| 385 | (forward-line 1) | ||
| 386 | (while (not done) | ||
| 387 | (cond | ||
| 388 | ((or (looking-at "<li>\\(<a.+</a>\\):[ \t]+\\(.*\\)$") | ||
| 389 | (looking-at "<li>\\(<a.+</a>\\)$")) | ||
| 390 | (setq tag (match-string 1)) | ||
| 391 | (setq desc (match-string 2)) | ||
| 392 | (replace-match "" t t) | ||
| 393 | (when open-td | ||
| 394 | (save-excursion | ||
| 395 | (forward-char -1) | ||
| 396 | (skip-chars-backward " ") | ||
| 397 | (delete-region (point) (line-end-position)) | ||
| 398 | (insert "</td>\n </tr>"))) | ||
| 399 | (insert " <tr>\n ") | ||
| 400 | (if table-workaround | ||
| 401 | ;; This works around a Firefox bug in the mono file. | ||
| 402 | (insert "<td bgcolor=\"white\">") | ||
| 403 | (insert "<td>")) | ||
| 404 | (insert tag "</td>\n <td>" (or desc "")) | ||
| 405 | (setq open-td t)) | ||
| 406 | ((eq (char-after) ?\n) | ||
| 407 | (delete-char 1) | ||
| 408 | ;; Negate the following `forward-line'. | ||
| 409 | (forward-line -1)) | ||
| 410 | ((looking-at "<!-- ") | ||
| 411 | (search-forward "-->")) | ||
| 412 | ((looking-at "<p>[- ]*The Detailed Node Listing[- \n]*") | ||
| 413 | (replace-match " </td></tr></table>\n | ||
| 414 | <h3>Detailed Node Listing</h3>\n\n" t t) | ||
| 415 | (search-forward "<p>") | ||
| 416 | (search-forward "<p>") | ||
| 417 | (goto-char (match-beginning 0)) | ||
| 418 | (skip-chars-backward "\n ") | ||
| 419 | (setq open-td nil) | ||
| 420 | (insert "</p>\n\n<table style=\"float:left\" width=\"100%\">")) | ||
| 421 | ((looking-at "</li></ul>") | ||
| 422 | (replace-match "" t t)) | ||
| 423 | ((looking-at "<p>") | ||
| 424 | (replace-match "" t t) | ||
| 425 | (when open-td | ||
| 426 | (insert " </td></tr>") | ||
| 427 | (setq open-td nil)) | ||
| 428 | (insert " <tr> | ||
| 429 | <th colspan=\"2\" align=\"left\" style=\"text-align:left\">") | ||
| 430 | (re-search-forward "</p>[ \t\n]*<ul class=\"menu\">") | ||
| 431 | (replace-match " </th></tr>")) | ||
| 432 | ((looking-at "[ \t]*</ul>[ \t]*$") | ||
| 433 | (replace-match | ||
| 434 | (if open-td | ||
| 435 | " </td></tr>\n</table>" | ||
| 436 | "</table>") t t) | ||
| 437 | (setq done t)) | ||
| 438 | (t | ||
| 439 | (if (eobp) | ||
| 440 | (error "Parse error in %s" f)) | ||
| 441 | (unless open-td | ||
| 442 | (setq done t)))) | ||
| 443 | (forward-line 1)))) | ||
| 444 | |||
| 211 | (provide 'admin) | 445 | (provide 'admin) |
| 212 | 446 | ||
| 213 | ;;; admin.el ends here | 447 | ;;; admin.el ends here |
diff --git a/admin/bzrmerge.el b/admin/bzrmerge.el index 350f3795c52..583f0d88866 100644 --- a/admin/bzrmerge.el +++ b/admin/bzrmerge.el | |||
| @@ -35,6 +35,9 @@ | |||
| 35 | (defconst bzrmerge-buffer "*bzrmerge*" | 35 | (defconst bzrmerge-buffer "*bzrmerge*" |
| 36 | "Working buffer for bzrmerge.") | 36 | "Working buffer for bzrmerge.") |
| 37 | 37 | ||
| 38 | (defconst bzrmerge-warning-buffer "*bzrmerge warnings*" | ||
| 39 | "Buffer where bzrmerge will display any warnings.") | ||
| 40 | |||
| 38 | (defun bzrmerge-merges () | 41 | (defun bzrmerge-merges () |
| 39 | "Return the list of already merged (not yet committed) revisions. | 42 | "Return the list of already merged (not yet committed) revisions. |
| 40 | The list returned is sorted by oldest-first." | 43 | The list returned is sorted by oldest-first." |
| @@ -143,7 +146,8 @@ are both lists of revnos, in oldest-first order." | |||
| 143 | (unless (file-exists-p file) (error "Bzrmerge-resolve: Can't find %s" file)) | 146 | (unless (file-exists-p file) (error "Bzrmerge-resolve: Can't find %s" file)) |
| 144 | (with-demoted-errors | 147 | (with-demoted-errors |
| 145 | (let ((exists (find-buffer-visiting file))) | 148 | (let ((exists (find-buffer-visiting file))) |
| 146 | (with-current-buffer (find-file-noselect file) | 149 | (with-current-buffer (let ((enable-local-variables :safe)) |
| 150 | (find-file-noselect file)) | ||
| 147 | (if (buffer-modified-p) | 151 | (if (buffer-modified-p) |
| 148 | (error "Unsaved changes in %s" (current-buffer))) | 152 | (error "Unsaved changes in %s" (current-buffer))) |
| 149 | (save-excursion | 153 | (save-excursion |
| @@ -184,7 +188,9 @@ are both lists of revnos, in oldest-first order." | |||
| 184 | (cond | 188 | (cond |
| 185 | ((member file '("configure" "lisp/ldefs-boot.el" | 189 | ((member file '("configure" "lisp/ldefs-boot.el" |
| 186 | "lisp/emacs-lisp/cl-loaddefs.el")) | 190 | "lisp/emacs-lisp/cl-loaddefs.el")) |
| 187 | (call-process "bzr" nil t nil "revert" file) | 191 | ;; We are in the file's buffer, so names are relative. |
| 192 | (call-process "bzr" nil t nil "revert" | ||
| 193 | (file-name-nondirectory file)) | ||
| 188 | (revert-buffer nil 'noconfirm)) | 194 | (revert-buffer nil 'noconfirm)) |
| 189 | (t | 195 | (t |
| 190 | (goto-char (point-max)) | 196 | (goto-char (point-max)) |
| @@ -265,6 +271,9 @@ Does not make other difference." | |||
| 265 | (sit-for 1) | 271 | (sit-for 1) |
| 266 | ;; (debug 'after-merge) | 272 | ;; (debug 'after-merge) |
| 267 | ;; Check the conflicts. | 273 | ;; Check the conflicts. |
| 274 | ;; FIXME if using the helpful bzr changelog_merge plugin, | ||
| 275 | ;; there are normally no conflicts in ChangeLogs. | ||
| 276 | ;; But we still want the dates fixing, like bzrmerge-resolve does. | ||
| 268 | (let ((conflicted nil) | 277 | (let ((conflicted nil) |
| 269 | (files ())) | 278 | (files ())) |
| 270 | (goto-char (point-min)) | 279 | (goto-char (point-min)) |
| @@ -290,7 +299,8 @@ Does not make other difference." | |||
| 290 | ;; are conflicts. | 299 | ;; are conflicts. |
| 291 | (display-warning 'bzrmerge "Resolve conflicts manually. | 300 | (display-warning 'bzrmerge "Resolve conflicts manually. |
| 292 | ¡BEWARE! Important metadata is kept in this Emacs session! | 301 | ¡BEWARE! Important metadata is kept in this Emacs session! |
| 293 | Do not commit without re-running `M-x bzrmerge' first!")) | 302 | Do not commit without re-running `M-x bzrmerge' first!" |
| 303 | :warning bzrmerge-warning-buffer)) | ||
| 294 | (error "Resolve conflicts manually"))))) | 304 | (error "Resolve conflicts manually"))))) |
| 295 | (cons merge skip))))) | 305 | (cons merge skip))))) |
| 296 | 306 | ||
| @@ -305,6 +315,10 @@ Do not commit without re-running `M-x bzrmerge' first!")) | |||
| 305 | (when (re-search-forward "submit branch: *" nil t) | 315 | (when (re-search-forward "submit branch: *" nil t) |
| 306 | (buffer-substring (point) (line-end-position)))))) | 316 | (buffer-substring (point) (line-end-position)))))) |
| 307 | (read-file-name "From branch: " nil nil nil def)))) | 317 | (read-file-name "From branch: " nil nil nil def)))) |
| 318 | ;; Eg we ran bzrmerge once, it stopped with conflicts, we fixed them | ||
| 319 | ;; and are running it again. | ||
| 320 | (if (get-buffer bzrmerge-warning-buffer) | ||
| 321 | (kill-buffer bzrmerge-warning-buffer)) | ||
| 308 | (message "Merging from %s..." from) | 322 | (message "Merging from %s..." from) |
| 309 | (require 'vc-bzr) | 323 | (require 'vc-bzr) |
| 310 | (let ((default-directory (or (vc-bzr-root default-directory) | 324 | (let ((default-directory (or (vc-bzr-root default-directory) |
diff --git a/admin/make-tarball.txt b/admin/make-tarball.txt index 6a8072de06c..1af20326543 100644 --- a/admin/make-tarball.txt +++ b/admin/make-tarball.txt | |||
| @@ -28,11 +28,17 @@ For each step, check for possible errors. | |||
| 28 | refer to a newer release of Emacs. (This is probably needed only | 28 | refer to a newer release of Emacs. (This is probably needed only |
| 29 | when preparing a major Emacs release, or branching for it.) | 29 | when preparing a major Emacs release, or branching for it.) |
| 30 | 30 | ||
| 31 | 5. autoreconf -I m4 --force | 31 | 5. Edit configure.in so that maintainer-mode is off by default. |
| 32 | (FIXME - need to find a better way of dealing with this. | ||
| 33 | Or maybe it's fine and indeed correct to leave it on? | ||
| 34 | See http://lists.gnu.org/archive/html/emacs-devel/2011-03/msg00859.html | ||
| 35 | and subsequent.) | ||
| 36 | |||
| 37 | autoreconf -i -I m4 --force | ||
| 32 | make bootstrap | 38 | make bootstrap |
| 33 | 39 | ||
| 34 | 6. Commit configure, src/config.in, etc/AUTHORS, all the files changed | 40 | 6. Commit etc/AUTHORS, all the files changed by M-x set-version, and |
| 35 | by M-x set-version, and lisp/cus-edit.el (if modified). | 41 | lisp/cus-edit.el (if modified). |
| 36 | Copy lisp/loaddefs.el to lisp/ldefs-boot.el and commit lisp/ldefs-boot.el. | 42 | Copy lisp/loaddefs.el to lisp/ldefs-boot.el and commit lisp/ldefs-boot.el. |
| 37 | For a release, also commit the ChangeLog files in all directories. | 43 | For a release, also commit the ChangeLog files in all directories. |
| 38 | 44 | ||
diff --git a/admin/notes/BRANCH b/admin/notes/BRANCH index 53f3d9603ca..9f09135f206 100644 --- a/admin/notes/BRANCH +++ b/admin/notes/BRANCH | |||
| @@ -23,3 +23,10 @@ on what branch at any time. | |||
| 23 | If you are looking at this file in a branch other than the trunk, | 23 | If you are looking at this file in a branch other than the trunk, |
| 24 | there may be some branch-specific documentation below this line. | 24 | there may be some branch-specific documentation below this line. |
| 25 | ________________________________________________________________________ | 25 | ________________________________________________________________________ |
| 26 | |||
| 27 | * elpa | ||
| 28 | |||
| 29 | This branch does not contain a copy of Emacs, but of the Emacs Lisp | ||
| 30 | package archive (elpa.gnu.org). See admin/notes/elpa for further | ||
| 31 | explanation, and the README file in the branch for usage | ||
| 32 | instructions. | ||
diff --git a/admin/notes/bugtracker b/admin/notes/bugtracker index 7c6c0ff4272..04721e4cec3 100644 --- a/admin/notes/bugtracker +++ b/admin/notes/bugtracker | |||
| @@ -63,13 +63,16 @@ quiet@debbugs.gnu.org. | |||
| 63 | ** How do I reply to an existing bug report? | 63 | ** How do I reply to an existing bug report? |
| 64 | Reply to 123@debbugs.gnu.org, replacing 123 with the number | 64 | Reply to 123@debbugs.gnu.org, replacing 123 with the number |
| 65 | of the bug you are interested in. NB this only sends mail to the | 65 | of the bug you are interested in. NB this only sends mail to the |
| 66 | bug-list, it does NOT (?) send a CC to the original bug submitter. | 66 | bug-list, it does NOT send a CC to the original bug submitter. |
| 67 | So you need to explicitly CC him/her (and anyone else you like). | 67 | So you need to explicitly CC him/her (and anyone else you like). |
| 68 | (This works the same way as all the Emacs mailing lists. We generally | ||
| 69 | don't assume anyone who posts to a list is subscribed to it, so we | ||
| 70 | cc everyone on replies.) | ||
| 68 | 71 | ||
| 69 | (Many people think the submitter SHOULD be automatically subscribed | 72 | (Many people think the submitter SHOULD be automatically subscribed |
| 70 | to subsequent discussion, but this does not seem to be implemented. | 73 | to subsequent discussion, but this does not seem to be implemented. |
| 71 | See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=37078) | 74 | See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=37078 |
| 72 | See also http://debbugs.gnu.org/5439 | 75 | See also http://debbugs.gnu.org/5439 ) |
| 73 | 76 | ||
| 74 | Do NOT send a separate copy to the bug list address, since this may | 77 | Do NOT send a separate copy to the bug list address, since this may |
| 75 | generate a new report. The only time to send mail to the bug list | 78 | generate a new report. The only time to send mail to the bug list |
| @@ -85,9 +88,9 @@ The "owner@debbugs.gnu.org" entry is there because it appears in the | |||
| 85 | "Resent-To" header. For a long time Rmail erroneously included such | 88 | "Resent-To" header. For a long time Rmail erroneously included such |
| 86 | headers in replies. If you correspond with an Rmail user on a bug, | 89 | headers in replies. If you correspond with an Rmail user on a bug, |
| 87 | these addresses may end up in the Cc. Mailing to them does nothing | 90 | these addresses may end up in the Cc. Mailing to them does nothing |
| 88 | but create duplicates and errors. (It is possible you might want to | 91 | but create duplicates and errors. (It is possible, but unlikely, that |
| 89 | have a dialog with the owner address, outside of normal bug | 92 | you might want to have a dialog with the owner address, outside of |
| 90 | reporting.) | 93 | normal bug reporting.) |
| 91 | 94 | ||
| 92 | ** When reporting a bug, to send a Cc to another address | 95 | ** When reporting a bug, to send a Cc to another address |
| 93 | (e.g. bug-cc-mode@gnu.org), do NOT just use a Cc: header. | 96 | (e.g. bug-cc-mode@gnu.org), do NOT just use a Cc: header. |
| @@ -395,9 +398,14 @@ automatically sets a found version (if none is explicitly specified). | |||
| 395 | *** To assign or reassign a bug to a package or list of packages: | 398 | *** To assign or reassign a bug to a package or list of packages: |
| 396 | reassign 1234 emacs | 399 | reassign 1234 emacs |
| 397 | 400 | ||
| 401 | Note that reassigning clears the list of found versions, even if the | ||
| 402 | new packages includes the original one. | ||
| 403 | |||
| 398 | ** To remove spam from the tracker, move it to the `spam' pseudo-package: | 404 | ** To remove spam from the tracker, move it to the `spam' pseudo-package: |
| 399 | reassign 123 spam | 405 | reassign 123 spam |
| 400 | 406 | ||
| 407 | (Should not be necessary any more, now that the input is moderated.) | ||
| 408 | |||
| 401 | ** To change the title of a bug: | 409 | ** To change the title of a bug: |
| 402 | retitle 123 Some New Title | 410 | retitle 123 Some New Title |
| 403 | 411 | ||
| @@ -484,7 +492,7 @@ Here "{id}" is a literal string, a placeholder that will be replaced | |||
| 484 | by the bug number you specify after `--fixes debbugs:' in the bzr | 492 | by the bug number you specify after `--fixes debbugs:' in the bzr |
| 485 | command line (123 in the example above). | 493 | command line (123 in the example above). |
| 486 | 494 | ||
| 487 | In the bazaar.conf file, this setting should go into the [DEFAULTS] | 495 | In the bazaar.conf file, this setting should go into the [DEFAULT] |
| 488 | section. | 496 | section. |
| 489 | 497 | ||
| 490 | In the locations.conf file, it should go into the branch-specific | 498 | In the locations.conf file, it should go into the branch-specific |
diff --git a/admin/notes/bzr b/admin/notes/bzr index cb2a1bd4e4f..2fdbc2854f8 100644 --- a/admin/notes/bzr +++ b/admin/notes/bzr | |||
| @@ -12,10 +12,17 @@ difficult. | |||
| 12 | 12 | ||
| 13 | http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01124.html | 13 | http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01124.html |
| 14 | 14 | ||
| 15 | The exception is, if you know that the change will be difficult to | ||
| 16 | merge to the trunk (eg because the trunk code has changed a lot). | ||
| 17 | In that case, it's helpful if you can apply the change to both trunk | ||
| 18 | and branch yourself (when committing the branch change, indicate | ||
| 19 | in the commit log that it should not be merged to the trunk; see below). | ||
| 20 | |||
| 15 | * Backporting a bug-fix from the trunk to a branch (e.g. "emacs-23"). | 21 | * Backporting a bug-fix from the trunk to a branch (e.g. "emacs-23"). |
| 16 | Label the commit as a backport, e.g. by starting the commit message with | 22 | Indicate in the commit log that there is no need to merge the commit |
| 17 | "Backport:". This is helpful for the person merging the release branch | 23 | to the trunk. Anything that matches `bzrmerge-skip-regexp' will do; |
| 18 | to the trunk. | 24 | eg start the commit message with "Backport:". This is helpful for the |
| 25 | person merging the release branch to the trunk. | ||
| 19 | 26 | ||
| 20 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html | 27 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html |
| 21 | 28 | ||
| @@ -65,11 +72,32 @@ removes a file, then remove the corresponding files by hand. | |||
| 65 | The following description uses bound branches, presumably it works in | 72 | The following description uses bound branches, presumably it works in |
| 66 | a similar way with unbound ones. | 73 | a similar way with unbound ones. |
| 67 | 74 | ||
| 75 | 0) (First time only) Get the bzr changelog_merge plugin | ||
| 76 | (this will be included by default in bzr 2.4 onwards): | ||
| 77 | |||
| 78 | cd ~/.bazaar/plugins | ||
| 79 | bzr branch http://bazaar.launchpad.net/~spiv/bzr-changelog-merge/trunk | ||
| 80 | mv trunk changelog_merge | ||
| 81 | |||
| 82 | This should make merging ChangeLogs smoother. It merges new entries | ||
| 83 | to the top of the file, rather than trying to fit them in mid-way | ||
| 84 | through. Newer versions of the plugin should also be able to deal | ||
| 85 | with changes to *old* ChangeLog entries, that should not be floated to | ||
| 86 | the head of the file (see launchpad#723968). | ||
| 87 | |||
| 88 | Maybe the default Emacs behavior without this plugin is better, | ||
| 89 | though, it's not clear yet. | ||
| 90 | |||
| 68 | 1) Get clean, up-to-date copies of the emacs-23 and trunk branches. | 91 | 1) Get clean, up-to-date copies of the emacs-23 and trunk branches. |
| 69 | Check for any uncommitted changes with bzr status. | 92 | Check for any uncommitted changes with bzr status. |
| 70 | 93 | ||
| 71 | 2) M-x cd /path/to/trunk | 94 | 2) M-x cd /path/to/trunk |
| 72 | 95 | ||
| 96 | The first time only, do this: | ||
| 97 | cd .bzr/branch | ||
| 98 | Add the following line to branch.conf: | ||
| 99 | changelog_merge_files = ChangeLog | ||
| 100 | |||
| 73 | 3) load admin/bzrmerge.el | 101 | 3) load admin/bzrmerge.el |
| 74 | 102 | ||
| 75 | 4) M-x bzrmerge RET /path/to/emacs-23 RET | 103 | 4) M-x bzrmerge RET /path/to/emacs-23 RET |
| @@ -97,9 +125,17 @@ and is due to a technical limitation of bzr. The log data for those | |||
| 97 | revisions gets merged, the actual changes themselves do not. | 125 | revisions gets merged, the actual changes themselves do not. |
| 98 | http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00609.html ) | 126 | http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00609.html ) |
| 99 | 127 | ||
| 100 | Note that ChangeLog entries are automatically merged to the top with | 128 | In particular, check the ChangeLog entries (eg in case too many |
| 101 | today's date, but you still might want to check them to see that too | 129 | entries have been included or whitespace between entries needs fixing). |
| 102 | much is not being included, or whitespace between entries is not missing. | 130 | bzrmerge tries to fix up the dates to today's date, but it only does |
| 131 | this where there are conflicts. If you used the changelog_merge plugin, | ||
| 132 | there won't be any conflicts, and (at time of writing) you will need | ||
| 133 | to adjust dates by hand. In any case, if someone made multiple | ||
| 134 | ChangeLog entries on different days in the branch, you may wish to | ||
| 135 | collapse them all to a single entry for that author in the trunk | ||
| 136 | (because in the trunk they all appear under the same date). | ||
| 137 | Obviously, if there are multiple changes to the same file by different | ||
| 138 | authors, don't break the logical ordering in doing this. | ||
| 103 | 139 | ||
| 104 | Notes: | 140 | Notes: |
| 105 | 141 | ||
| @@ -119,3 +155,48 @@ right thing to do is merge everything else, resolve the conflict by | |||
| 119 | choosing either the trunk or branch version, then run `make -C lisp | 155 | choosing either the trunk or branch version, then run `make -C lisp |
| 120 | autoloads' to update the md5sums to the correct trunk value before | 156 | autoloads' to update the md5sums to the correct trunk value before |
| 121 | committing. | 157 | committing. |
| 158 | |||
| 159 | * Re-adding a file that has been removed from the repository | ||
| 160 | |||
| 161 | It's easy to get this wrong. Let's suppose you've done: | ||
| 162 | |||
| 163 | bzr remove file; bzr commit | ||
| 164 | |||
| 165 | and now, sometime later, you realize this was a mistake and file needs | ||
| 166 | to be brought back. DON'T just do: | ||
| 167 | |||
| 168 | bzr add file; bzr commit | ||
| 169 | |||
| 170 | This restores file, but without its history (`bzr log file' will be | ||
| 171 | very short). This is because file gets re-added with a new file-id | ||
| 172 | (use `bzr file-id file' to see the id). | ||
| 173 | |||
| 174 | Insteading of adding the file, try: | ||
| 175 | |||
| 176 | bzr revert -rN file; bzr commit | ||
| 177 | |||
| 178 | where revision N+1 is the one where file was removed. | ||
| 179 | |||
| 180 | You could also try `bzr add --file-ids-from', if you have a copy of | ||
| 181 | another branch where file still exists. | ||
| 182 | |||
| 183 | * Loggerhead | ||
| 184 | |||
| 185 | Loggerhead is the bzr tool for viewing a repository over http (similar | ||
| 186 | to ViewVC). The central version is at http://bzr.savannah.gnu.org/lh/emacs, | ||
| 187 | but if you just like the way this interface presents data, then if | ||
| 188 | you have your own copy of the repository, you can operate your own | ||
| 189 | Loggerhead server in stand-alone mode, and so help to reduce the load | ||
| 190 | on Savannah: | ||
| 191 | |||
| 192 | bzr branch lp:loggerhead ~/.bazaar/plugins/loggerhead | ||
| 193 | cd /path/to/emacs/bzr | ||
| 194 | bzr serve --http | ||
| 195 | |||
| 196 | You may need to install some Python dependencies to get this command to work. | ||
| 197 | For example, on RHEL6 I needed: | ||
| 198 | |||
| 199 | yum install python-paste python-simplejson | ||
| 200 | yum --enablerepo=epel install python-simpletal | ||
| 201 | |||
| 202 | Then point your web-browser to http://127.0.0.1:8080/ . | ||
diff --git a/admin/notes/copyright b/admin/notes/copyright index e4077caf77b..39eb003a07d 100644 --- a/admin/notes/copyright +++ b/admin/notes/copyright | |||
| @@ -120,7 +120,10 @@ or even ChangeLogs, for older changes. People often installed changes | |||
| 120 | from others, without recording the true authorship. | 120 | from others, without recording the true authorship. |
| 121 | 121 | ||
| 122 | [For reference, most of these points were established via email with | 122 | [For reference, most of these points were established via email with |
| 123 | rms, 2007/1, "Copyright years".] | 123 | rms, 2007/1, "Copyright years". |
| 124 | |||
| 125 | In March 2011, information on some files no longer included was removed. | ||
| 126 | Consult older versions of this document if interested.] | ||
| 124 | 127 | ||
| 125 | 128 | ||
| 126 | lisp/version.el # emacs-copyright | 129 | lisp/version.el # emacs-copyright |
| @@ -143,20 +146,9 @@ lib/Makefile.in | |||
| 143 | install-sh | 146 | install-sh |
| 144 | - this file is copyright MIT, which is OK. Leave the copyright alone. | 147 | - this file is copyright MIT, which is OK. Leave the copyright alone. |
| 145 | 148 | ||
| 146 | mkinstalldirs | ||
| 147 | src/m/news-r6.h | ||
| 148 | public domain, leave alone. | ||
| 149 | |||
| 150 | etc/refcards/*.tex | 149 | etc/refcards/*.tex |
| 151 | also update the \def\year macro for the latest year. | 150 | also update the \def\year macro for the latest year. |
| 152 | 151 | ||
| 153 | etc/BABYL, ms-kermit | ||
| 154 | no notices (see below). | ||
| 155 | |||
| 156 | etc/emacs.csh | ||
| 157 | - written by Michael DeCorte, who has no assignment. But trivial | ||
| 158 | enough to not need license. | ||
| 159 | |||
| 160 | etc/future-bug | 152 | etc/future-bug |
| 161 | - doesn't need a humorless disclaimer, because Karl Fogel says we | 153 | - doesn't need a humorless disclaimer, because Karl Fogel says we |
| 162 | can consider it part of Emacs, and he has a blanker disclaimer for | 154 | can consider it part of Emacs, and he has a blanker disclaimer for |
| @@ -389,9 +381,9 @@ Makefile.in does now. | |||
| 389 | src/gmalloc.c | 381 | src/gmalloc.c |
| 390 | - contains numerous copyrights from the GNU C library. Leave them alone. | 382 | - contains numerous copyrights from the GNU C library. Leave them alone. |
| 391 | 383 | ||
| 392 | src/acldef.h, chpdef.h, ndir.h | 384 | src/ndir.h |
| 393 | - see comments below. These files are OK to be released with Emacs | 385 | - see comments below. This file is OK to be released with Emacs |
| 394 | 22, but we may want to revisit them afterwards. | 386 | 22, but we may want to revisit it afterwards. |
| 395 | 387 | ||
| 396 | 388 | ||
| 397 | ** Some notes on resolved issues, for historical information only | 389 | ** Some notes on resolved issues, for historical information only |
| @@ -402,15 +394,6 @@ which year, I can probably tell you which.) Either way, we have papers | |||
| 402 | for it." It was present in Emacs-16.56 (15-jul-85). rms: "Then I | 394 | for it." It was present in Emacs-16.56 (15-jul-85). rms: "Then I |
| 403 | conclude it was written by me." | 395 | conclude it was written by me." |
| 404 | 396 | ||
| 405 | etc/ulimit.hack | ||
| 406 | Very obsolete file removed March 2007. Doesn't say who the author | ||
| 407 | is, but web-search suggests Karl Kleinpaste, who has no Emacs | ||
| 408 | assignment. Trivial anyway. | ||
| 409 | http://groups.google.com/group/comp.unix.shell/browse_thread/thread/bf3df496994\ | ||
| 410 | 9f1df/7e5922c67b3a98fb | ||
| 411 | http://groups.google.com/group/comp.unix.questions/msg/cc7e49cacfd1ccb4 | ||
| 412 | (original 1987 source) | ||
| 413 | |||
| 414 | lisp/term/README | 397 | lisp/term/README |
| 415 | - had no copyright notice till Feb 2007. ChangeLog.3 suggests it was | 398 | - had no copyright notice till Feb 2007. ChangeLog.3 suggests it was |
| 416 | written by Eric Raymond. When asked by rms on 14 Feb 2007 he said: | 399 | written by Eric Raymond. When asked by rms on 14 Feb 2007 he said: |
| @@ -431,20 +414,6 @@ src/unexhp9k800.c | |||
| 431 | HP. So this file is public domain. | 414 | HP. So this file is public domain. |
| 432 | 415 | ||
| 433 | 416 | ||
| 434 | K Rodgers changes | ||
| 435 | It was pointed out that K Rodgers only had assigments for VC and | ||
| 436 | ps-print, but had changed several other files. We tried to contact | ||
| 437 | him for a general assignment, but he proved uncommunicative (despite | ||
| 438 | initially indicating to rms he would sign an assignment). As a result, his | ||
| 439 | changes were removed and/or rewritten independently. For details, see | ||
| 440 | threads: | ||
| 441 | http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00225.html | ||
| 442 | http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00257.html | ||
| 443 | |||
| 444 | But then an assignment arrived before the release of Emacs 22: | ||
| 445 | http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg01427.html | ||
| 446 | |||
| 447 | |||
| 448 | lisp/progmodes/python.el | 417 | lisp/progmodes/python.el |
| 449 | Dave Love alerted us to a potential legal problem: | 418 | Dave Love alerted us to a potential legal problem: |
| 450 | http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-04/msg00459.html | 419 | http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-04/msg00459.html |
| @@ -460,14 +429,8 @@ http://lists.gnu.org/archive/html/emacs-devel/2007-05/msg00466.html | |||
| 460 | admin/check-doc-strings | 429 | admin/check-doc-strings |
| 461 | File says it's in the public domain, but that might not make it so. | 430 | File says it's in the public domain, but that might not make it so. |
| 462 | 431 | ||
| 463 | etc/BABYL | ||
| 464 | File written long ago by authors with no assignment. Keep them | ||
| 465 | without notices for now, try and contact authors if possible. Be | ||
| 466 | ready to remove these files if the authors ever object. | ||
| 467 | |||
| 468 | etc/ms-kermit | ||
| 469 | etc/e/eterm-color.ti | 432 | etc/e/eterm-color.ti |
| 470 | src/acldef.h, chpdef.h, ndir.h | 433 | src/ndir.h |
| 471 | On legal advice from Matt Norwood, the following comment was added | 434 | On legal advice from Matt Norwood, the following comment was added |
| 472 | to these files in Feb/Mar 2007: | 435 | to these files in Feb/Mar 2007: |
| 473 | 436 | ||
| @@ -480,25 +443,8 @@ src/acldef.h, chpdef.h, ndir.h | |||
| 480 | and possibly add a list of all authors who have changed these files. | 443 | and possibly add a list of all authors who have changed these files. |
| 481 | (details in email from Matt Norwood to rms, 2007/02/03). | 444 | (details in email from Matt Norwood to rms, 2007/02/03). |
| 482 | 445 | ||
| 483 | etc/ms-7bkermit | 446 | src/s/aix3-2.h, hpux8.h, hpux9.h, irix5-0.h, netbsd.h, usg5-4-2.h |
| 484 | Says it was written by Andy Lowry and Joel Spolsky. No entry for | 447 | [note some of these have since been merged into other files] |
| 485 | either in copyright.list. NB this file is not "constrained" like | ||
| 486 | ms-kermit (rms: "We know it isn't. A comment at the front says it has | ||
| 487 | other bindings which might be handy."). File removed March 2007. | ||
| 488 | Re-add if clear up status at some point. | ||
| 489 | |||
| 490 | etc/Xkeymap.txt | ||
| 491 | No info on author. File removed March 2007. rms: "It says it is | ||
| 492 | RLK's way of remapping his keyboard, so it is not constrained. I think | ||
| 493 | it was written by RLK. Let's delete it; if we contact RLK again, we | ||
| 494 | can put it back." Actually, RLK == Robert Krawitz has an Emacs | ||
| 495 | assignment. So this could be restored if it is still useful, but Jan Djärv | ||
| 496 | says it is obsolete: | ||
| 497 | <http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg00673.html> | ||
| 498 | |||
| 499 | src/m/mips4.h, news-risc.h, pmax.h | ||
| 500 | src/s/aix3-2.h, bsd386.h, hpux8.h, hpux9.h, irix4-0.h, irix5-0.h, | ||
| 501 | netbsd.h, sol2-3.h, usg5-4-2.h | ||
| 502 | - all these (not obviously trivial) files were missing copyrights | 448 | - all these (not obviously trivial) files were missing copyrights |
| 503 | till Feb 2007, when FSF copyright was added. Matt Norwood advised: | 449 | till Feb 2007, when FSF copyright was added. Matt Norwood advised: |
| 504 | 450 | ||
| @@ -513,22 +459,6 @@ netbsd.h, sol2-3.h, usg5-4-2.h | |||
| 513 | 459 | ||
| 514 | Here is my (rgm) take on the details of the above files: | 460 | Here is my (rgm) take on the details of the above files: |
| 515 | 461 | ||
| 516 | mips4.h | ||
| 517 | might be trivial? started trivial, been added to in tiny changes by | ||
| 518 | those with FSF assignment, often result of email suggestions by others. | ||
| 519 | |||
| 520 | news-risc.h | ||
| 521 | started trivial. Grown by tiny additions, plus chunk | ||
| 522 | from mips.h, which was and is Copyright FSF | ||
| 523 | |||
| 524 | pmax.h | ||
| 525 | started trivial. grown in tiny changes, except for maybe Jim Wilson's | ||
| 526 | comment. | ||
| 527 | |||
| 528 | ? irix4-0.h | ||
| 529 | I would say started non-trivial (1992, rms). only tiny changes since | ||
| 530 | installed. | ||
| 531 | |||
| 532 | ? irix5-0.h | 462 | ? irix5-0.h |
| 533 | I would say started non-trivial (1993, jimb, heavily based | 463 | I would say started non-trivial (1993, jimb, heavily based |
| 534 | on irix4-0.h). A few borderline non-tiny changes since. | 464 | on irix4-0.h). A few borderline non-tiny changes since. |
| @@ -537,11 +467,7 @@ usg5-4-2.h | |||
| 537 | started non-trivial, but was heavily based on usg5-4.h, which was and is | 467 | started non-trivial, but was heavily based on usg5-4.h, which was and is |
| 538 | copyright FSF. only tiny changes since installed. | 468 | copyright FSF. only tiny changes since installed. |
| 539 | 469 | ||
| 540 | sol2-3.h | 470 | aix3-2.h, hpux8.h, hpux9.h, netbsd.h |
| 541 | started trivial. only non-tiny change (1994) incorporated code from | ||
| 542 | usg5-4.h, which was and is copyright FSF. | ||
| 543 | |||
| 544 | aix3-2.h, bsd386.h, hpux8.h, hpux9.h, netbsd.h | ||
| 545 | started trivial, grown in tiny changes. | 471 | started trivial, grown in tiny changes. |
| 546 | 472 | ||
| 547 | netbsd.h: | 473 | netbsd.h: |
| @@ -556,8 +482,8 @@ Someone might want to tweak the copyright years (for dates before | |||
| 556 | Note: erring on the side of caution, I also added notices to some | 482 | Note: erring on the side of caution, I also added notices to some |
| 557 | files I thought might be considered non-trivial (if one includes | 483 | files I thought might be considered non-trivial (if one includes |
| 558 | comment) in s/: | 484 | comment) in s/: |
| 559 | aix4-1.h hpux10.h irix6-0.h irix6-5.h | 485 | aix4-1.h hpux10.h irix6-5.h |
| 560 | ptx4.h sol2.h | 486 | sol2.h |
| 561 | 487 | ||
| 562 | (everything with > 30 non-blank lines, which at least is _some_ kind of | 488 | (everything with > 30 non-blank lines, which at least is _some_ kind of |
| 563 | system) | 489 | system) |
| @@ -631,10 +557,7 @@ alone (may import them from Gnulib again). These are: | |||
| 631 | warn-on-use.h | 557 | warn-on-use.h |
| 632 | lib/*.[ch] | 558 | lib/*.[ch] |
| 633 | lib/gnulib.mk | 559 | lib/gnulib.mk |
| 634 | src/getloadavg.c | ||
| 635 | src/gmalloc.c | 560 | src/gmalloc.c |
| 636 | src/md5.c | ||
| 637 | src/md5.h | ||
| 638 | src/termcap.c | 561 | src/termcap.c |
| 639 | src/tparam.c | 562 | src/tparam.c |
| 640 | 563 | ||
diff --git a/admin/notes/elpa b/admin/notes/elpa index e28d81e6d6e..db14456fe32 100644 --- a/admin/notes/elpa +++ b/admin/notes/elpa | |||
| @@ -1,42 +1,24 @@ | |||
| 1 | NOTES ON THE EMACS PACKAGE ARCHIVE | 1 | NOTES ON THE EMACS PACKAGE ARCHIVE |
| 2 | 2 | ||
| 3 | Here are instructions on uploading files to the package archive at | 3 | The GNU Emacs package archive, at elpa.gnu.org, is managed using a Bzr |
| 4 | elpa.gnu.org, for Emacs maintainers. (If you are not a maintainer, | 4 | branch named "elpa", hosted on Savannah. To check it out: |
| 5 | contact us if you want to submit a package.) | 5 | |
| 6 | 6 | bzr branch bzr+ssh://USER@bzr.savannah.gnu.org/emacs/elpa elpa | |
| 7 | 1. You will need login access to elpa.gnu.org. You will also need to | 7 | cd elpa |
| 8 | get the FSF sysadmins to allow ssh access through the FSF firewall | 8 | echo "public_branch = bzr+ssh://USER@bzr.savannah.gnu.org/emacs/elpa" >> .bzr/branch/branch.conf |
| 9 | for your local machine. Ensure that your uid, USER, is in the | 9 | bzr bind bzr+ssh://USERNAME@bzr.savannah.gnu.org/emacs/elpa |
| 10 | `elpa' group on elpa.gnu.org; this gives you write access to the | 10 | [create task branch for edits, etc.] |
| 11 | bzr repository from which the packages are managed. | 11 | |
| 12 | 12 | Changes to this branch propagate to elpa.gnu.org in a semi-manual way. | |
| 13 | 2. Go to your bzr repository on your local machine. Of, if you don't | 13 | There exists a copy of the elpa branch on that machine. Someone with |
| 14 | have one (you should, if you're tracking Emacs bzr), make one: | 14 | access logs in, pulls the latest changes from Savannah, and runs a |
| 15 | 15 | "deployment" script. This script (which is itself kept in the Bzr | |
| 16 | cd $DEVHOME | 16 | branch) generates the content visible at http://elpa.gnu.org/packages. |
| 17 | bzr init-repo elpa/ | 17 | |
| 18 | cd elpa | 18 | The reason we set things up this way, instead of using the package |
| 19 | 19 | upload commands in package-x.el, is to let Emacs hackers conveniently | |
| 20 | Create a branch for elpa: | 20 | edit the contents of the "elpa" branch. (In particular, multi-file |
| 21 | 21 | packages are stored on the branch in source form, not as tarfiles.) | |
| 22 | bzr branch bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo package-repo | 22 | |
| 23 | 23 | It is easy to use the elpa branch to deploy a "local" copy of the | |
| 24 | Bind the branch: | 24 | package archive. For details, see the README file in the elpa branch. |
| 25 | |||
| 26 | cd package-repo/ | ||
| 27 | echo "public_branch = bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo" >> .bzr/branch/branch.conf | ||
| 28 | bzr bind bzr+ssh://USER@elpa.gnu.org/home/elpa/package-repo | ||
| 29 | |||
| 30 | Now you should be able to do `bzr up' and `bzr commit'. | ||
| 31 | |||
| 32 | 3. Changes in bzr do not immediately propagate to the user-facing tree | ||
| 33 | (i.e., what users see when they do `M-x list-packages'). That tree | ||
| 34 | is created by a (daily) cron job that does "bzr export". If for | ||
| 35 | some reason you need to refresh the user-facing tree immediately, | ||
| 36 | run /home/elpa/bin/package-update.sh as the "elpa" user. | ||
| 37 | |||
| 38 | The Org mode dailies are not part of the repository. After the | ||
| 39 | package-update.sh script creates the user-facing tree, it copies | ||
| 40 | the daily tarfile hosted on orgmode.org directly into that tree. | ||
| 41 | |||
| 42 | 4. FIXME: How to actually upload a package file. | ||
diff --git a/admin/notes/exit-value b/admin/notes/exit-value index e59bb614b9b..cad6862c8aa 100644 --- a/admin/notes/exit-value +++ b/admin/notes/exit-value | |||
| @@ -10,7 +10,7 @@ different dispatch model that is not explained further here). | |||
| 10 | From the point of view of the program, nowadays stdlib.h on both type of | 10 | From the point of view of the program, nowadays stdlib.h on both type of |
| 11 | systems provides macros `EXIT_SUCCESS' and `EXIT_FAILURE' that should DTRT. | 11 | systems provides macros `EXIT_SUCCESS' and `EXIT_FAILURE' that should DTRT. |
| 12 | 12 | ||
| 13 | NB: The numerical values of these macros DO NOT need to fulfill the the exit | 13 | NB: The numerical values of these macros DO NOT need to fulfill the exit |
| 14 | value requirements outlined in the first paragraph! That is the job of the | 14 | value requirements outlined in the first paragraph! That is the job of the |
| 15 | `exit' function. Thus, this kind of construct shows misunderstanding: | 15 | `exit' function. Thus, this kind of construct shows misunderstanding: |
| 16 | 16 | ||
diff --git a/admin/notes/years b/admin/notes/years index cdd7cbe4b5f..e6b38c5aefd 100644 --- a/admin/notes/years +++ b/admin/notes/years | |||
| @@ -6,6 +6,14 @@ rolls around, add that year to every FSF (and AIST) copyright notice. | |||
| 6 | There's no need to worry about whether an individual file has changed | 6 | There's no need to worry about whether an individual file has changed |
| 7 | in a given year - it's sufficient that Emacs as a whole has changed. | 7 | in a given year - it's sufficient that Emacs as a whole has changed. |
| 8 | 8 | ||
| 9 | Therefore the years are updated en-masse near the start of each year, | ||
| 10 | so basically there is no need for most people to do any updating of them. | ||
| 11 | |||
| 12 | The current (in 2011) version of "Information for Maintainers of GNU | ||
| 13 | Software" (see that document for more details) says that it is OK to use | ||
| 14 | ranges in copyright years, so in early 2011 the years were changed to use | ||
| 15 | ranges, which occupy less space and do not grow in length every year. | ||
| 16 | |||
| 9 | For more detailed information on maintaining copyright, see the file | 17 | For more detailed information on maintaining copyright, see the file |
| 10 | "copyright" in this directory. | 18 | "copyright" in this directory. |
| 11 | 19 | ||