aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorJoakim Verona2011-06-16 00:22:07 +0200
committerJoakim Verona2011-06-16 00:22:07 +0200
commita7513ade3bc0fe79430d5541d88c9dcda0932bec (patch)
tree4383951ba698a11e9f8933a9d8c72e00aa872a10 /admin
parent4bd51ad5c3445b644dfb017d5b57b10a90aa325f (diff)
parent4bba86e6210a74326e843a8fdc8409127105e1fe (diff)
downloademacs-a7513ade3bc0fe79430d5541d88c9dcda0932bec.tar.gz
emacs-a7513ade3bc0fe79430d5541d88c9dcda0932bec.zip
merge from upstream
Diffstat (limited to 'admin')
-rw-r--r--admin/CPP-DEFINES34
-rw-r--r--admin/ChangeLog32
-rw-r--r--admin/admin.el234
-rw-r--r--admin/bzrmerge.el20
-rw-r--r--admin/make-tarball.txt12
-rw-r--r--admin/notes/BRANCH7
-rw-r--r--admin/notes/bugtracker22
-rw-r--r--admin/notes/bzr93
-rw-r--r--admin/notes/copyright103
-rw-r--r--admin/notes/elpa62
-rw-r--r--admin/notes/exit-value2
-rw-r--r--admin/notes/years8
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
53COFF 53COFF
54FIRST_PTY_LETTER 54FIRST_PTY_LETTER
55HAVE_PTYS 55HAVE_PTYS
56HAVE_TERMIO
57HAVE_TERMIOS
58INTERRUPT_INPUT 56INTERRUPT_INPUT
59NARROWPROTO 57NARROWPROTO
60SEPCHAR 58SEPCHAR
61SIGTYPE
62SYSTEM_TYPE 59SYSTEM_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
65LOAD_AVE_CVT
66LOAD_AVE_TYPE
67VIRT_ADDR_VARIES 62VIRT_ADDR_VARIES
68 63
69** Misc macros 64** Misc macros
@@ -111,7 +106,6 @@ EMACS_INT
111EMACS_UINT 106EMACS_UINT
112FILE_SYSTEM_CASE 107FILE_SYSTEM_CASE
113FLOAT_CHECK_DOMAIN 108FLOAT_CHECK_DOMAIN
114FSCALE
115GC_LISP_OBJECT_ALIGNMENT 109GC_LISP_OBJECT_ALIGNMENT
116GC_MARK_SECONDARY_STACK 110GC_MARK_SECONDARY_STACK
117GC_MARK_STACK 111GC_MARK_STACK
@@ -179,7 +173,6 @@ HAVE_SYS_SYSTEMINFO_H
179HAVE_SYS_TIMEB_H 173HAVE_SYS_TIMEB_H
180HAVE_SYS_TIME_H 174HAVE_SYS_TIME_H
181HAVE_TCATTR 175HAVE_TCATTR
182HAVE_TERMIOS_H
183HAVE_TIMEVAL 176HAVE_TIMEVAL
184HAVE_TM_ZONE 177HAVE_TM_ZONE
185HAVE_TZSET 178HAVE_TZSET
@@ -193,8 +186,6 @@ HPUX
193INTERNAL_TERMINAL 186INTERNAL_TERMINAL
194IS_ANY_SEP 187IS_ANY_SEP
195IS_DIRECTORY_SEP 188IS_DIRECTORY_SEP
196KERNEL_FILE
197LDAV_SYMBOL
198LINKER 189LINKER
199LINUX_VERSION_CODE 190LINUX_VERSION_CODE
200LISP_FLOAT_TYPE 191LISP_FLOAT_TYPE
@@ -243,7 +234,6 @@ SIGNALS_VIA_CHARACTERS
243SIGPIPE 234SIGPIPE
244SIGQUIT 235SIGQUIT
245SIGTRAP 236SIGTRAP
246SIGTYPE
247SOLARIS2 237SOLARIS2
248STDC_HEADERS 238STDC_HEADERS
249SYSTEM_PURESIZE_EXTRA 239SYSTEM_PURESIZE_EXTRA
@@ -265,14 +255,9 @@ USG5_4
265USG_SUBTTY_WORKS 255USG_SUBTTY_WORKS
266VALBITS 256VALBITS
267WRETCODE 257WRETCODE
268XINT
269XOS_NEEDS_TIME_H 258XOS_NEEDS_TIME_H
270XPNTR
271XSET
272XUINT
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
330getpid 300getpid
331getuid 301getuid
332gmtime 302gmtime
333i386
334index 303index
335init_process
336isatty 304isatty
337kill 305kill
338link 306link
@@ -340,7 +308,6 @@ linux
340localtime 308localtime
341logb 309logb
342lseek 310lseek
343m68k
344malloc 311malloc
345mkdir 312mkdir
346mktemp 313mktemp
@@ -381,4 +348,3 @@ vfork
381wait 348wait
382write 349write
383xfree 350xfree
384
diff --git a/admin/ChangeLog b/admin/ChangeLog
index 46dbaa0da26..7aaeb1d5ee2 100644
--- a/admin/ChangeLog
+++ b/admin/ChangeLog
@@ -1,3 +1,35 @@
12011-05-21 Glenn Morris <rgm@gnu.org>
2
3 * bzrmerge.el (bzrmerge-resolve): Suppress prompts about file-locals.
4
52011-03-07 Chong Yidong <cyd@stupidchicken.com>
6
7 * Version 23.3 released.
8
92011-02-23 Juanma Barranquero <lekktu@gmail.com>
10
11 * notes/bugtracker (bugtracker_debbugs_url): Fix typo.
12
132011-02-19 Eli Zaretskii <eliz@gnu.org>
14
15 * admin.el (set-version): Add msdos/sed2v2.inp.
16
172011-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
232011-02-12 Glenn Morris <rgm@gnu.org>
24
25 * bzrmerge.el (bzrmerge-resolve): Fix bzr revert call.
26
272011-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
12011-02-03 Glenn Morris <rgm@gnu.org> 332011-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.
270This function also edits the HTML files so that they validate as
271HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using
272the @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.
289This function also edits the HTML files so that they validate as
290HTML 4.01 Transitional, and pulls in the gnu.org stylesheet using
291the @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 &copy;")
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.
333Also 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.
40The list returned is sorted by oldest-first." 43The 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!
293Do not commit without re-running `M-x bzrmerge' first!")) 302Do 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
315. autoreconf -I m4 --force 315. 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
346. Commit configure, src/config.in, etc/AUTHORS, all the files changed 406. 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.
23If you are looking at this file in a branch other than the trunk, 23If you are looking at this file in a branch other than the trunk,
24there may be some branch-specific documentation below this line. 24there 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?
64Reply to 123@debbugs.gnu.org, replacing 123 with the number 64Reply to 123@debbugs.gnu.org, replacing 123 with the number
65of the bug you are interested in. NB this only sends mail to the 65of the bug you are interested in. NB this only sends mail to the
66bug-list, it does NOT (?) send a CC to the original bug submitter. 66bug-list, it does NOT send a CC to the original bug submitter.
67So you need to explicitly CC him/her (and anyone else you like). 67So 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
69don't assume anyone who posts to a list is subscribed to it, so we
70cc 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
70to subsequent discussion, but this does not seem to be implemented. 73to subsequent discussion, but this does not seem to be implemented.
71See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=37078) 74See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=37078
72See also http://debbugs.gnu.org/5439 75See also http://debbugs.gnu.org/5439 )
73 76
74Do NOT send a separate copy to the bug list address, since this may 77Do NOT send a separate copy to the bug list address, since this may
75generate a new report. The only time to send mail to the bug list 78generate 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
86headers in replies. If you correspond with an Rmail user on a bug, 89headers in replies. If you correspond with an Rmail user on a bug,
87these addresses may end up in the Cc. Mailing to them does nothing 90these addresses may end up in the Cc. Mailing to them does nothing
88but create duplicates and errors. (It is possible you might want to 91but create duplicates and errors. (It is possible, but unlikely, that
89have a dialog with the owner address, outside of normal bug 92you might want to have a dialog with the owner address, outside of
90reporting.) 93normal 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:
396reassign 1234 emacs 399reassign 1234 emacs
397 400
401Note that reassigning clears the list of found versions, even if the
402new 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:
399reassign 123 spam 405reassign 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:
402retitle 123 Some New Title 410retitle 123 Some New Title
403 411
@@ -484,7 +492,7 @@ Here "{id}" is a literal string, a placeholder that will be replaced
484by the bug number you specify after `--fixes debbugs:' in the bzr 492by the bug number you specify after `--fixes debbugs:' in the bzr
485command line (123 in the example above). 493command line (123 in the example above).
486 494
487In the bazaar.conf file, this setting should go into the [DEFAULTS] 495In the bazaar.conf file, this setting should go into the [DEFAULT]
488section. 496section.
489 497
490In the locations.conf file, it should go into the branch-specific 498In 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
13http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01124.html 13http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01124.html
14 14
15The exception is, if you know that the change will be difficult to
16merge to the trunk (eg because the trunk code has changed a lot).
17In that case, it's helpful if you can apply the change to both trunk
18and branch yourself (when committing the branch change, indicate
19in 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").
16Label the commit as a backport, e.g. by starting the commit message with 22Indicate 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 23to the trunk. Anything that matches `bzrmerge-skip-regexp' will do;
18to the trunk. 24eg start the commit message with "Backport:". This is helpful for the
25person merging the release branch to the trunk.
19 26
20http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html 27http://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.
65The following description uses bound branches, presumably it works in 72The following description uses bound branches, presumably it works in
66a similar way with unbound ones. 73a similar way with unbound ones.
67 74
750) (First time only) Get the bzr changelog_merge plugin
76(this will be included by default in bzr 2.4 onwards):
77
78cd ~/.bazaar/plugins
79bzr branch http://bazaar.launchpad.net/~spiv/bzr-changelog-merge/trunk
80mv trunk changelog_merge
81
82This should make merging ChangeLogs smoother. It merges new entries
83to the top of the file, rather than trying to fit them in mid-way
84through. Newer versions of the plugin should also be able to deal
85with changes to *old* ChangeLog entries, that should not be floated to
86the head of the file (see launchpad#723968).
87
88Maybe the default Emacs behavior without this plugin is better,
89though, it's not clear yet.
90
681) Get clean, up-to-date copies of the emacs-23 and trunk branches. 911) Get clean, up-to-date copies of the emacs-23 and trunk branches.
69Check for any uncommitted changes with bzr status. 92Check for any uncommitted changes with bzr status.
70 93
712) M-x cd /path/to/trunk 942) M-x cd /path/to/trunk
72 95
96The first time only, do this:
97cd .bzr/branch
98Add the following line to branch.conf:
99changelog_merge_files = ChangeLog
100
733) load admin/bzrmerge.el 1013) load admin/bzrmerge.el
74 102
754) M-x bzrmerge RET /path/to/emacs-23 RET 1034) 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
97revisions gets merged, the actual changes themselves do not. 125revisions gets merged, the actual changes themselves do not.
98http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00609.html ) 126http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00609.html )
99 127
100Note that ChangeLog entries are automatically merged to the top with 128In particular, check the ChangeLog entries (eg in case too many
101today's date, but you still might want to check them to see that too 129entries have been included or whitespace between entries needs fixing).
102much is not being included, or whitespace between entries is not missing. 130bzrmerge tries to fix up the dates to today's date, but it only does
131this where there are conflicts. If you used the changelog_merge plugin,
132there won't be any conflicts, and (at time of writing) you will need
133to adjust dates by hand. In any case, if someone made multiple
134ChangeLog entries on different days in the branch, you may wish to
135collapse them all to a single entry for that author in the trunk
136(because in the trunk they all appear under the same date).
137Obviously, if there are multiple changes to the same file by different
138authors, don't break the logical ordering in doing this.
103 139
104Notes: 140Notes:
105 141
@@ -119,3 +155,48 @@ right thing to do is merge everything else, resolve the conflict by
119choosing either the trunk or branch version, then run `make -C lisp 155choosing either the trunk or branch version, then run `make -C lisp
120autoloads' to update the md5sums to the correct trunk value before 156autoloads' to update the md5sums to the correct trunk value before
121committing. 157committing.
158
159* Re-adding a file that has been removed from the repository
160
161It's easy to get this wrong. Let's suppose you've done:
162
163bzr remove file; bzr commit
164
165and now, sometime later, you realize this was a mistake and file needs
166to be brought back. DON'T just do:
167
168bzr add file; bzr commit
169
170This restores file, but without its history (`bzr log file' will be
171very short). This is because file gets re-added with a new file-id
172(use `bzr file-id file' to see the id).
173
174Insteading of adding the file, try:
175
176bzr revert -rN file; bzr commit
177
178where revision N+1 is the one where file was removed.
179
180You could also try `bzr add --file-ids-from', if you have a copy of
181another branch where file still exists.
182
183* Loggerhead
184
185Loggerhead is the bzr tool for viewing a repository over http (similar
186to ViewVC). The central version is at http://bzr.savannah.gnu.org/lh/emacs,
187but if you just like the way this interface presents data, then if
188you have your own copy of the repository, you can operate your own
189Loggerhead server in stand-alone mode, and so help to reduce the load
190on Savannah:
191
192 bzr branch lp:loggerhead ~/.bazaar/plugins/loggerhead
193 cd /path/to/emacs/bzr
194 bzr serve --http
195
196You may need to install some Python dependencies to get this command to work.
197For example, on RHEL6 I needed:
198
199 yum install python-paste python-simplejson
200 yum --enablerepo=epel install python-simpletal
201
202Then 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
120from others, without recording the true authorship. 120from 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
123rms, 2007/1, "Copyright years".] 123rms, 2007/1, "Copyright years".
124
125In March 2011, information on some files no longer included was removed.
126Consult older versions of this document if interested.]
124 127
125 128
126lisp/version.el # emacs-copyright 129lisp/version.el # emacs-copyright
@@ -143,20 +146,9 @@ lib/Makefile.in
143install-sh 146install-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
146mkinstalldirs
147src/m/news-r6.h
148 public domain, leave alone.
149
150etc/refcards/*.tex 149etc/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
153etc/BABYL, ms-kermit
154 no notices (see below).
155
156etc/emacs.csh
157 - written by Michael DeCorte, who has no assignment. But trivial
158 enough to not need license.
159
160etc/future-bug 152etc/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.
389src/gmalloc.c 381src/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
392src/acldef.h, chpdef.h, ndir.h 384src/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
402for it." It was present in Emacs-16.56 (15-jul-85). rms: "Then I 394for it." It was present in Emacs-16.56 (15-jul-85). rms: "Then I
403conclude it was written by me." 395conclude it was written by me."
404 396
405etc/ulimit.hack
406 Very obsolete file removed March 2007. Doesn't say who the author
407is, but web-search suggests Karl Kleinpaste, who has no Emacs
408assignment. Trivial anyway.
409http://groups.google.com/group/comp.unix.shell/browse_thread/thread/bf3df496994\
4109f1df/7e5922c67b3a98fb
411http://groups.google.com/group/comp.unix.questions/msg/cc7e49cacfd1ccb4
412 (original 1987 source)
413
414lisp/term/README 397lisp/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
434K 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:
441http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00225.html
442http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg00257.html
443
444 But then an assignment arrived before the release of Emacs 22:
445http://lists.gnu.org/archive/html/emacs-devel/2007-04/msg01427.html
446
447
448lisp/progmodes/python.el 417lisp/progmodes/python.el
449Dave Love alerted us to a potential legal problem: 418Dave Love alerted us to a potential legal problem:
450http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-04/msg00459.html 419http://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
460admin/check-doc-strings 429admin/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
463etc/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
468etc/ms-kermit
469etc/e/eterm-color.ti 432etc/e/eterm-color.ti
470src/acldef.h, chpdef.h, ndir.h 433src/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
483etc/ms-7bkermit 446src/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]
485either in copyright.list. NB this file is not "constrained" like
486ms-kermit (rms: "We know it isn't. A comment at the front says it has
487other bindings which might be handy."). File removed March 2007.
488Re-add if clear up status at some point.
489
490etc/Xkeymap.txt
491 No info on author. File removed March 2007. rms: "It says it is
492RLK's way of remapping his keyboard, so it is not constrained. I think
493it was written by RLK. Let's delete it; if we contact RLK again, we
494can put it back." Actually, RLK == Robert Krawitz has an Emacs
495assignment. So this could be restored if it is still useful, but Jan Djärv
496says it is obsolete:
497<http://lists.gnu.org/archive/html/emacs-devel/2007-03/msg00673.html>
498
499src/m/mips4.h, news-risc.h, pmax.h
500src/s/aix3-2.h, bsd386.h, hpux8.h, hpux9.h, irix4-0.h, irix5-0.h,
501netbsd.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
514Here is my (rgm) take on the details of the above files: 460Here is my (rgm) take on the details of the above files:
515 461
516mips4.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
520news-risc.h
521 started trivial. Grown by tiny additions, plus chunk
522 from mips.h, which was and is Copyright FSF
523
524pmax.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
540sol2-3.h 470aix3-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
544aix3-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
547netbsd.h: 473netbsd.h:
@@ -556,8 +482,8 @@ Someone might want to tweak the copyright years (for dates before
556Note: erring on the side of caution, I also added notices to some 482Note: erring on the side of caution, I also added notices to some
557files I thought might be considered non-trivial (if one includes 483files I thought might be considered non-trivial (if one includes
558comment) in s/: 484comment) 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
563system) 489system)
@@ -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 @@
1NOTES ON THE EMACS PACKAGE ARCHIVE 1NOTES ON THE EMACS PACKAGE ARCHIVE
2 2
3Here are instructions on uploading files to the package archive at 3The GNU Emacs package archive, at elpa.gnu.org, is managed using a Bzr
4elpa.gnu.org, for Emacs maintainers. (If you are not a maintainer, 4branch named "elpa", hosted on Savannah. To check it out:
5contact us if you want to submit a package.) 5
6 6 bzr branch bzr+ssh://USER@bzr.savannah.gnu.org/emacs/elpa elpa
71. 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 12Changes to this branch propagate to elpa.gnu.org in a semi-manual way.
132. Go to your bzr repository on your local machine. Of, if you don't 13There 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: 14access 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 16branch) generates the content visible at http://elpa.gnu.org/packages.
17 bzr init-repo elpa/ 17
18 cd elpa 18The reason we set things up this way, instead of using the package
19 19upload commands in package-x.el, is to let Emacs hackers conveniently
20 Create a branch for elpa: 20edit the contents of the "elpa" branch. (In particular, multi-file
21 21packages 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 23It is easy to use the elpa branch to deploy a "local" copy of the
24 Bind the branch: 24package 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
323. 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
424. 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).
10From the point of view of the program, nowadays stdlib.h on both type of 10From the point of view of the program, nowadays stdlib.h on both type of
11systems provides macros `EXIT_SUCCESS' and `EXIT_FAILURE' that should DTRT. 11systems provides macros `EXIT_SUCCESS' and `EXIT_FAILURE' that should DTRT.
12 12
13NB: The numerical values of these macros DO NOT need to fulfill the the exit 13NB: The numerical values of these macros DO NOT need to fulfill the exit
14value requirements outlined in the first paragraph! That is the job of the 14value 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.
6There's no need to worry about whether an individual file has changed 6There's no need to worry about whether an individual file has changed
7in a given year - it's sufficient that Emacs as a whole has changed. 7in a given year - it's sufficient that Emacs as a whole has changed.
8 8
9Therefore the years are updated en-masse near the start of each year,
10so basically there is no need for most people to do any updating of them.
11
12The current (in 2011) version of "Information for Maintainers of GNU
13Software" (see that document for more details) says that it is OK to use
14ranges in copyright years, so in early 2011 the years were changed to use
15ranges, which occupy less space and do not grow in length every year.
16
9For more detailed information on maintaining copyright, see the file 17For more detailed information on maintaining copyright, see the file
10"copyright" in this directory. 18"copyright" in this directory.
11 19