diff options
| author | Eli Zaretskii | 2013-05-15 19:15:07 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2013-05-15 19:15:07 +0300 |
| commit | d14365f9411ab4b20db6c455aa9cf24ce6a0bcb1 (patch) | |
| tree | f547c3f203c903b118348061eb0fd2359c94d324 /admin | |
| parent | f94b5742a3e9bc7114c6e2cd85a2371381cba4d3 (diff) | |
| parent | e3772e9833f971a450562350dc233bf00be7c5eb (diff) | |
| download | emacs-d14365f9411ab4b20db6c455aa9cf24ce6a0bcb1.tar.gz emacs-d14365f9411ab4b20db6c455aa9cf24ce6a0bcb1.zip | |
Merge from trunk, configury not fixed yet.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 41 | ||||
| -rw-r--r-- | admin/cus-test.el | 256 | ||||
| -rwxr-xr-x | admin/merge-gnulib | 4 | ||||
| -rw-r--r-- | admin/notes/bugtracker | 24 |
4 files changed, 181 insertions, 144 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 196acd4ffd9..5ae948ad192 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,44 @@ | |||
| 1 | 2013-05-14 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * cus-test.el (cus-test-get-lisp-files): Ignore obsolete/. | ||
| 4 | (cus-test-libs): Fix let-binding of default-directory. | ||
| 5 | (cus-test-noloads): Load all libs for the comparison. | ||
| 6 | |||
| 7 | 2013-05-11 Glenn Morris <rgm@gnu.org> | ||
| 8 | |||
| 9 | * cus-test.el (cus-test-libs-noloads): Add a few more files. | ||
| 10 | (cus-test-load-libs, cus-test-opts): | ||
| 11 | Add option to load more/all Lisp files. | ||
| 12 | (cus-test-get-lisp-files): Ignore .*.el files. | ||
| 13 | |||
| 14 | 2013-05-10 Glenn Morris <rgm@gnu.org> | ||
| 15 | |||
| 16 | * cus-test.el (cus-test-libs-noloads): Add some files. | ||
| 17 | (cus-test-get-lisp-files): New function. | ||
| 18 | (cus-test-libs): Add option to load more/all Lisp files. | ||
| 19 | |||
| 20 | 2013-05-09 Glenn Morris <rgm@gnu.org> | ||
| 21 | |||
| 22 | * cus-test.el: No need to provide bbdb, bbdb-com any more. | ||
| 23 | (cus-test-libs-noloads): Add dunnet in the defvar. | ||
| 24 | (dunnet): Don't always load it. | ||
| 25 | (viper-mode): Only set if interactive. | ||
| 26 | (cus-test-load-custom-loads): Load dunnet if necessary. | ||
| 27 | (cus-test-load-1): New macro, with common code from cus-test-load-libs | ||
| 28 | and cus-test-libs. | ||
| 29 | (cus-test-load-libs, cus-test-libs): Use cus-test-load-1 macro. | ||
| 30 | Update for cus-test-get-autoload-deps changed result. | ||
| 31 | (cus-test-get-autoload-deps): Simplify. Return file names as they | ||
| 32 | appear in loaddefs.el (directory parts are needed now that not all | ||
| 33 | lisp subdirs are in load-path). | ||
| 34 | (cus-test-deps): Explicitly skip dunnet. | ||
| 35 | |||
| 36 | 2013-05-07 Paul Eggert <eggert@cs.ucla.edu> | ||
| 37 | |||
| 38 | Use Gnulib ACL implementation, for benefit of Solaris etc. (Bug#14295) | ||
| 39 | * merge-gnulib (GNULIB_MODULES): Add qacl. | ||
| 40 | (GNULIB_TOOL_FLAGS): Do not avoid errno. | ||
| 41 | |||
| 1 | 2013-04-01 Paul Eggert <eggert@cs.ucla.edu> | 42 | 2013-04-01 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 43 | ||
| 3 | Use UTF-8 for most files with non-ASCII characters (Bug#13936). | 44 | Use UTF-8 for most files with non-ASCII characters (Bug#13936). |
diff --git a/admin/cus-test.el b/admin/cus-test.el index c93a14297f8..e68ee7744e7 100644 --- a/admin/cus-test.el +++ b/admin/cus-test.el | |||
| @@ -30,11 +30,11 @@ | |||
| 30 | ;; | 30 | ;; |
| 31 | ;; The basic tests can be run in batch mode. Invoke them with | 31 | ;; The basic tests can be run in batch mode. Invoke them with |
| 32 | ;; | 32 | ;; |
| 33 | ;; src/emacs -batch -l admin/cus-test.el -f cus-test-opts | 33 | ;; src/emacs -batch -l admin/cus-test.el -f cus-test-opts [all] |
| 34 | ;; | 34 | ;; |
| 35 | ;; src/emacs -batch -l admin/cus-test.el -f cus-test-deps | 35 | ;; src/emacs -batch -l admin/cus-test.el -f cus-test-deps |
| 36 | ;; | 36 | ;; |
| 37 | ;; src/emacs -batch -l admin/cus-test.el -f cus-test-libs | 37 | ;; src/emacs -batch -l admin/cus-test.el -f cus-test-libs [all] |
| 38 | ;; | 38 | ;; |
| 39 | ;; src/emacs -batch -l admin/cus-test.el -f cus-test-noloads | 39 | ;; src/emacs -batch -l admin/cus-test.el -f cus-test-noloads |
| 40 | ;; | 40 | ;; |
| @@ -87,43 +87,6 @@ | |||
| 87 | ;; The command `cus-test-noloads' returns a list of variables which | 87 | ;; The command `cus-test-noloads' returns a list of variables which |
| 88 | ;; are somewhere declared as custom options, but not loaded by | 88 | ;; are somewhere declared as custom options, but not loaded by |
| 89 | ;; `custom-load-symbol'. | 89 | ;; `custom-load-symbol'. |
| 90 | ;; | ||
| 91 | ;; Some results from October 2002: | ||
| 92 | ;; | ||
| 93 | ;; 4523 options tested | ||
| 94 | ;; The following variables might have problems: | ||
| 95 | ;; ps-mule-font-info-database-default | ||
| 96 | ;; grep-tree-command | ||
| 97 | ;; grep-find-command | ||
| 98 | ;; | ||
| 99 | ;; 288 features required | ||
| 100 | ;; 10 files loaded | ||
| 101 | ;; The following load problems appeared: | ||
| 102 | ;; (killing x-win (file-error Cannot open load file x-win)) | ||
| 103 | ;; Symbol faces has loaddefs as custom dependency | ||
| 104 | ;; (reftex-index-support reftex-vars (void-function reftex-set-dirty)) | ||
| 105 | ;; (eshell-script em-script (void-variable eshell-directory-name)) | ||
| 106 | ;; (pcomplete em-cmpl (void-function eshell-under-windows-p)) | ||
| 107 | ;; (eshell-ext esh-ext (void-function eshell-under-windows-p)) | ||
| 108 | ;; ... | ||
| 109 | ;; | ||
| 110 | ;; 422 libraries had no load errors | ||
| 111 | ;; The following load problems appeared: | ||
| 112 | ;; (eudc-export error 255) | ||
| 113 | ;; (ada-xref error 255) | ||
| 114 | ;; (ada-stmt error 255) | ||
| 115 | ;; | ||
| 116 | ;; The following options were not loaded by custom-load-symbol: | ||
| 117 | ;; edt-bottom-scroll-margin | ||
| 118 | ;; edt-keep-current-page-delimiter | ||
| 119 | ;; edt-top-scroll-margin | ||
| 120 | ;; edt-use-EDT-control-key-bindings | ||
| 121 | ;; edt-word-entities | ||
| 122 | ;; grep-find-use-xargs | ||
| 123 | ;; master-mode-hook | ||
| 124 | ;; outline-level | ||
| 125 | ;; outline-minor-mode-hook | ||
| 126 | ;; refill-mode-hook | ||
| 127 | 90 | ||
| 128 | 91 | ||
| 129 | ;;; Code: | 92 | ;;; Code: |
| @@ -136,24 +99,23 @@ | |||
| 136 | (defvar cus-test-skip-list nil | 99 | (defvar cus-test-skip-list nil |
| 137 | "List of variables to disregard by `cus-test-apropos'.") | 100 | "List of variables to disregard by `cus-test-apropos'.") |
| 138 | 101 | ||
| 139 | (defvar cus-test-libs-noloads nil | 102 | (defvar cus-test-libs-noloads |
| 140 | "List of libraries not to load by `cus-test-load-libs'.") | 103 | ;; Loading dunnet in batch mode leads to a Dead end. |
| 141 | 104 | ;; blessmail writes a file. | |
| 142 | ;; The file eudc-export.el loads libraries "bbdb" and "bbdb-com" which | 105 | ;; characters cannot be loaded twice ("Category `a' is already defined"). |
| 143 | ;; are not part of GNU Emacs: (locate-library "bbdb") => nil | 106 | '("play/dunnet.el" "emulation/edt-mapper.el" |
| 144 | ;; We avoid the resulting errors from loading eudc-export.el: | 107 | "loadup.el" "mail/blessmail.el" "international/characters.el" |
| 145 | (provide 'bbdb) | 108 | "cedet/ede/loaddefs.el" "cedet/semantic/loaddefs.el" |
| 146 | (provide 'bbdb-com) | 109 | "net/tramp-loaddefs.el") |
| 110 | "List of files not to load by `cus-test-load-libs'. | ||
| 111 | Names should be as they appear in loaddefs.el.") | ||
| 147 | 112 | ||
| 148 | ;; This avoids a hang of `cus-test-apropos' in 21.2. | 113 | ;; This avoids a hang of `cus-test-apropos' in 21.2. |
| 149 | ;; (add-to-list 'cus-test-skip-list 'sh-alias-alist) | 114 | ;; (add-to-list 'cus-test-skip-list 'sh-alias-alist) |
| 150 | 115 | ||
| 151 | ;; Loading dunnet in batch mode leads to a Dead end. | 116 | (or noninteractive |
| 152 | (let (noninteractive) (load "dunnet")) | 117 | ;; Never Viperize. |
| 153 | (add-to-list 'cus-test-libs-noloads "dunnet") | 118 | (setq viper-mode nil)) |
| 154 | |||
| 155 | ;; Never Viperize. | ||
| 156 | (setq viper-mode nil) | ||
| 157 | 119 | ||
| 158 | ;; Don't create a file `save-place-file'. | 120 | ;; Don't create a file `save-place-file'. |
| 159 | (eval-after-load "saveplace" | 121 | (eval-after-load "saveplace" |
| @@ -302,49 +264,71 @@ The detected problematic options are stored in `cus-test-errors'." | |||
| 302 | (defun cus-test-load-custom-loads () | 264 | (defun cus-test-load-custom-loads () |
| 303 | "Call `custom-load-symbol' on all atoms." | 265 | "Call `custom-load-symbol' on all atoms." |
| 304 | (interactive) | 266 | (interactive) |
| 267 | (if noninteractive (let (noninteractive) (require 'dunnet))) | ||
| 305 | (mapatoms 'custom-load-symbol) | 268 | (mapatoms 'custom-load-symbol) |
| 306 | (run-hooks 'cus-test-after-load-libs-hook)) | 269 | (run-hooks 'cus-test-after-load-libs-hook)) |
| 307 | 270 | ||
| 308 | (defun cus-test-load-libs () | 271 | (defmacro cus-test-load-1 (&rest body) |
| 272 | `(progn | ||
| 273 | (setq cus-test-libs-errors nil | ||
| 274 | cus-test-libs-loaded nil) | ||
| 275 | ,@body | ||
| 276 | (message "%s libraries loaded successfully" | ||
| 277 | (length cus-test-libs-loaded)) | ||
| 278 | (if (not cus-test-libs-errors) | ||
| 279 | (message "No load problems encountered") | ||
| 280 | (message "The following load problems appeared:") | ||
| 281 | (cus-test-message cus-test-libs-errors)) | ||
| 282 | (run-hooks 'cus-test-after-load-libs-hook))) | ||
| 283 | |||
| 284 | ;; This is just cus-test-libs, but loading in the current Emacs process. | ||
| 285 | (defun cus-test-load-libs (&optional more) | ||
| 309 | "Load the libraries with autoloads. | 286 | "Load the libraries with autoloads. |
| 310 | Don't load libraries in `cus-test-libs-noloads'." | 287 | Don't load libraries in `cus-test-libs-noloads'. |
| 288 | If optional argument MORE is \"defcustom\", load all files with defcustoms. | ||
| 289 | If it is \"all\", load all Lisp files." | ||
| 311 | (interactive) | 290 | (interactive) |
| 312 | (setq cus-test-libs-errors nil) | 291 | (cus-test-load-1 |
| 313 | (setq cus-test-libs-loaded nil) | 292 | (let ((lispdir (file-name-directory (locate-library "loaddefs")))) |
| 314 | (mapc | 293 | (mapc |
| 315 | (lambda (file) | 294 | (lambda (file) |
| 316 | (condition-case alpha | 295 | (condition-case alpha |
| 317 | (unless (member file cus-test-libs-noloads) | 296 | (unless (member file cus-test-libs-noloads) |
| 318 | (load file) | 297 | (load (file-name-sans-extension (expand-file-name file lispdir))) |
| 319 | (push file cus-test-libs-loaded)) | 298 | (push file cus-test-libs-loaded)) |
| 320 | (error | 299 | (error |
| 321 | (push (cons file alpha) cus-test-libs-errors) | 300 | (push (cons file alpha) cus-test-libs-errors) |
| 322 | (message "Error for %s: %s" file alpha)))) | 301 | (message "Error for %s: %s" file alpha)))) |
| 323 | (cus-test-get-autoload-deps)) | 302 | (if more |
| 324 | (message "%s libraries loaded successfully" | 303 | (cus-test-get-lisp-files (equal more "all")) |
| 325 | (length cus-test-libs-loaded)) | 304 | (cus-test-get-autoload-deps)))))) |
| 326 | (if (not cus-test-libs-errors) | ||
| 327 | (message "No load problems encountered") | ||
| 328 | (message "The following load problems appeared:") | ||
| 329 | (cus-test-message cus-test-libs-errors)) | ||
| 330 | (run-hooks 'cus-test-after-load-libs-hook)) | ||
| 331 | 305 | ||
| 332 | (defun cus-test-get-autoload-deps () | 306 | (defun cus-test-get-autoload-deps () |
| 333 | "Return the list of libraries with autoloads." | 307 | "Return the list of files with autoloads." |
| 334 | (with-temp-buffer | 308 | (with-temp-buffer |
| 335 | (insert-file-contents (locate-library "loaddefs")) | 309 | (insert-file-contents (locate-library "loaddefs")) |
| 336 | ;; This is from `customize-option'. | 310 | (let (files) |
| 337 | (let (deps file) | 311 | (while (search-forward "\n;;; Generated autoloads from " nil t) |
| 338 | (while | 312 | (push (buffer-substring (match-end 0) (line-end-position)) files)) |
| 339 | (search-forward "\n;;; Generated autoloads from " nil t) | 313 | files))) |
| 340 | (goto-char (match-end 0)) | 314 | |
| 341 | (setq file (buffer-substring (point) | 315 | (defun cus-test-get-lisp-files (&optional all) |
| 342 | (progn (end-of-line) (point)))) | 316 | "Return list of all Lisp files with defcustoms. |
| 343 | (setq file (file-name-nondirectory file)) | 317 | Optional argument ALL non-nil means list all (non-obsolete) Lisp files." |
| 344 | (string-match "\\.el\\'" file) | 318 | (let ((default-directory (expand-file-name "lisp/" source-directory)) |
| 345 | (setq file (substring file 0 (match-beginning 0))) | 319 | (msg "Finding files...")) |
| 346 | (setq deps (nconc deps (list file)))) | 320 | (message "%s" msg) |
| 347 | deps))) | 321 | (prog1 |
| 322 | ;; Hack to remove leading "./". | ||
| 323 | (mapcar (lambda (e) (substring e 2)) | ||
| 324 | (apply 'process-lines find-program | ||
| 325 | "-name" "obsolete" "-prune" "-o" | ||
| 326 | "-name" "[^.]*.el" ; ignore .dir-locals.el | ||
| 327 | (if all | ||
| 328 | '("-print") | ||
| 329 | (list "-exec" grep-program | ||
| 330 | "-l" "^[ \t]*(defcustom" "{}" "+")))) | ||
| 331 | (message "%sdone" msg)))) | ||
| 348 | 332 | ||
| 349 | (defun cus-test-message (list) | 333 | (defun cus-test-message (list) |
| 350 | "Print the members of LIST line by line." | 334 | "Print the members of LIST line by line." |
| @@ -353,16 +337,21 @@ Don't load libraries in `cus-test-libs-noloads'." | |||
| 353 | 337 | ||
| 354 | ;;; The routines for batch mode: | 338 | ;;; The routines for batch mode: |
| 355 | 339 | ||
| 356 | (defun cus-test-opts () | 340 | (defun cus-test-opts (&optional all) |
| 357 | "Test custom options. | 341 | "Test custom options. |
| 358 | This function is suitable for batch mode. E.g., invoke | 342 | This function is suitable for batch mode. E.g., invoke |
| 359 | 343 | ||
| 360 | src/emacs -batch -l admin/cus-test.el -f cus-test-opts | 344 | src/emacs -batch -l admin/cus-test.el -f cus-test-opts |
| 361 | 345 | ||
| 362 | in the Emacs source directory." | 346 | in the Emacs source directory. |
| 347 | Normally only tests options belonging to files in loaddefs.el. | ||
| 348 | If optional argument ALL is non-nil, test all files with defcustoms." | ||
| 363 | (interactive) | 349 | (interactive) |
| 350 | (and noninteractive | ||
| 351 | command-line-args-left | ||
| 352 | (setq all (pop command-line-args-left))) | ||
| 364 | (message "Running %s" 'cus-test-load-libs) | 353 | (message "Running %s" 'cus-test-load-libs) |
| 365 | (cus-test-load-libs) | 354 | (cus-test-load-libs (if all "defcustom")) |
| 366 | (message "Running %s" 'cus-test-load-custom-loads) | 355 | (message "Running %s" 'cus-test-load-custom-loads) |
| 367 | (cus-test-load-custom-loads) | 356 | (cus-test-load-custom-loads) |
| 368 | (message "Running %s" 'cus-test-apropos) | 357 | (message "Running %s" 'cus-test-apropos) |
| @@ -392,7 +381,8 @@ in the Emacs source directory." | |||
| 392 | ((symbolp load) | 381 | ((symbolp load) |
| 393 | ;; (condition-case nil (require load) (error nil)) | 382 | ;; (condition-case nil (require load) (error nil)) |
| 394 | (condition-case alpha | 383 | (condition-case alpha |
| 395 | (unless (featurep load) | 384 | (unless (or (featurep load) |
| 385 | (and noninteractive (eq load 'dunnet))) | ||
| 396 | (require load) | 386 | (require load) |
| 397 | (push (list symbol load) cus-test-deps-required)) | 387 | (push (list symbol load) cus-test-deps-required)) |
| 398 | (error | 388 | (error |
| @@ -444,47 +434,54 @@ in the Emacs source directory." | |||
| 444 | (cus-test-message cus-test-deps-errors)) | 434 | (cus-test-message cus-test-deps-errors)) |
| 445 | (run-hooks 'cus-test-after-load-libs-hook)) | 435 | (run-hooks 'cus-test-after-load-libs-hook)) |
| 446 | 436 | ||
| 447 | (defun cus-test-libs () | 437 | (defun cus-test-libs (&optional more) |
| 448 | "Load the libraries with autoloads in separate processes. | 438 | "Load the libraries with autoloads in separate processes. |
| 449 | This function is useful to detect load problems of libraries. | 439 | This function is useful to detect load problems of libraries. |
| 450 | It is suitable for batch mode. E.g., invoke | 440 | It is suitable for batch mode. E.g., invoke |
| 451 | 441 | ||
| 452 | src/emacs -batch -l admin/cus-test.el -f cus-test-libs | 442 | ./src/emacs -batch -l admin/cus-test.el -f cus-test-libs |
| 453 | 443 | ||
| 454 | in the Emacs source directory." | 444 | in the Emacs source directory. |
| 445 | |||
| 446 | If optional argument MORE is \"defcustom\", load all files with defcustoms. | ||
| 447 | If it is \"all\", load all Lisp files." | ||
| 455 | (interactive) | 448 | (interactive) |
| 456 | (with-temp-buffer | 449 | (and noninteractive |
| 457 | (setq cus-test-libs-errors nil) | 450 | command-line-args-left |
| 458 | (setq cus-test-libs-loaded nil) | 451 | (setq more (pop command-line-args-left))) |
| 459 | (cd source-directory) | 452 | (cus-test-load-1 |
| 460 | (if (not (file-executable-p "src/emacs")) | 453 | (let* ((default-directory source-directory) |
| 461 | (error "No Emacs executable in %ssrc" default-directory)) | 454 | (emacs (expand-file-name "src/emacs")) |
| 462 | (mapc | 455 | skipped) |
| 463 | (lambda (file) | 456 | (or (file-executable-p emacs) |
| 464 | (condition-case alpha | 457 | (error "No such executable `%s'" emacs)) |
| 465 | (let (fn cmd status) | 458 | (mapc |
| 466 | (setq fn (locate-library file)) | 459 | (lambda (file) |
| 467 | (if (not fn) | 460 | (if (member file cus-test-libs-noloads) |
| 468 | (error "Library %s not found" file)) | 461 | (push file skipped) |
| 469 | (setq cmd (concat "src/emacs -batch -l " fn)) | 462 | (condition-case alpha |
| 470 | (setq status (call-process shell-file-name nil nil nil | 463 | (let* ((fn (expand-file-name file "lisp/")) |
| 471 | shell-command-switch cmd)) | 464 | (elc (concat fn "c")) |
| 472 | (if (equal status 0) | 465 | status) |
| 473 | (message "%s" file) | 466 | (if (file-readable-p elc) ; load compiled if present (faster) |
| 474 | (error "%s" status)) | 467 | (setq fn elc) |
| 475 | (push file cus-test-libs-loaded)) | 468 | (or (file-readable-p fn) |
| 476 | (error | 469 | (error "Library %s not found" file))) |
| 477 | (push (cons file alpha) cus-test-libs-errors) | 470 | (if (equal 0 (setq status (call-process emacs nil nil nil |
| 478 | (message "Error for %s: %s" file alpha)))) | 471 | "-batch" "-l" fn))) |
| 479 | (cus-test-get-autoload-deps)) | 472 | (message "%s" file) |
| 480 | (message "Default Directory: %s" default-directory) | 473 | (error "%s" status)) |
| 481 | (message "%s libraries had no load errors" | 474 | (push file cus-test-libs-loaded)) |
| 482 | (length cus-test-libs-loaded)) | 475 | (error |
| 483 | (if (not cus-test-libs-errors) | 476 | (push (cons file alpha) cus-test-libs-errors) |
| 484 | (message "No load problems encountered") | 477 | (message "Error for %s: %s" file alpha))))) |
| 485 | (message "The following load problems appeared:") | 478 | (if more |
| 486 | (cus-test-message cus-test-libs-errors)) | 479 | (cus-test-get-lisp-files (equal more "all")) |
| 487 | (run-hooks 'cus-test-after-load-libs-hook))) | 480 | (cus-test-get-autoload-deps))) |
| 481 | (message "Default directory: %s" default-directory) | ||
| 482 | (when skipped | ||
| 483 | (message "The following libraries were skipped:") | ||
| 484 | (cus-test-message skipped))))) | ||
| 488 | 485 | ||
| 489 | (defun cus-test-noloads () | 486 | (defun cus-test-noloads () |
| 490 | "Find custom options not loaded by `custom-load-symbol'. | 487 | "Find custom options not loaded by `custom-load-symbol'. |
| @@ -503,7 +500,7 @@ in the Emacs source directory." | |||
| 503 | (cus-test-get-options "")) | 500 | (cus-test-get-options "")) |
| 504 | 501 | ||
| 505 | (message "Running %s" 'cus-test-load-libs) | 502 | (message "Running %s" 'cus-test-load-libs) |
| 506 | (cus-test-load-libs) | 503 | (cus-test-load-libs "all") |
| 507 | (setq cus-test-vars-not-cus-loaded | 504 | (setq cus-test-vars-not-cus-loaded |
| 508 | (cus-test-get-options "")) | 505 | (cus-test-get-options "")) |
| 509 | 506 | ||
| @@ -517,11 +514,6 @@ in the Emacs source directory." | |||
| 517 | (cus-test-message | 514 | (cus-test-message |
| 518 | (sort cus-test-vars-not-cus-loaded 'string<))))) | 515 | (sort cus-test-vars-not-cus-loaded 'string<))))) |
| 519 | 516 | ||
| 520 | ;; And last but not least a quiz: | ||
| 521 | ;; | ||
| 522 | ;; Evaluation of the form (customize-option 'debug-on-error) yields a | ||
| 523 | ;; *Customize* buffer with a mismatch mess. Why? | ||
| 524 | |||
| 525 | (provide 'cus-test) | 517 | (provide 'cus-test) |
| 526 | 518 | ||
| 527 | ;;; cus-test.el ends here | 519 | ;;; cus-test.el ends here |
diff --git a/admin/merge-gnulib b/admin/merge-gnulib index 100749191f0..c8bfe0dacc3 100755 --- a/admin/merge-gnulib +++ b/admin/merge-gnulib | |||
| @@ -33,7 +33,7 @@ GNULIB_MODULES=' | |||
| 33 | getloadavg getopt-gnu gettime gettimeofday | 33 | getloadavg getopt-gnu gettime gettimeofday |
| 34 | ignore-value intprops largefile lstat | 34 | ignore-value intprops largefile lstat |
| 35 | manywarnings memrchr mktime | 35 | manywarnings memrchr mktime |
| 36 | pselect pthread_sigmask putenv readlink readlinkat | 36 | pselect pthread_sigmask putenv qacl readlink readlinkat |
| 37 | sig2str socklen stat-time stdalign stdarg stdbool stdio | 37 | sig2str socklen stat-time stdalign stdarg stdbool stdio |
| 38 | strftime strtoimax strtoumax symlink sys_stat | 38 | strftime strtoimax strtoumax symlink sys_stat |
| 39 | sys_time time timer-time timespec-add timespec-sub unsetenv utimens | 39 | sys_time time timer-time timespec-add timespec-sub unsetenv utimens |
| @@ -42,7 +42,7 @@ GNULIB_MODULES=' | |||
| 42 | 42 | ||
| 43 | GNULIB_TOOL_FLAGS=' | 43 | GNULIB_TOOL_FLAGS=' |
| 44 | --avoid=dup | 44 | --avoid=dup |
| 45 | --avoid=errno --avoid=fchdir --avoid=fcntl --avoid=fstat | 45 | --avoid=fchdir --avoid=fcntl --avoid=fstat |
| 46 | --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow | 46 | --avoid=malloc-posix --avoid=msvc-inval --avoid=msvc-nothrow |
| 47 | --avoid=open --avoid=openat-die --avoid=opendir | 47 | --avoid=open --avoid=openat-die --avoid=opendir |
| 48 | --avoid=raise | 48 | --avoid=raise |
diff --git a/admin/notes/bugtracker b/admin/notes/bugtracker index 9957bc9b567..7947b17973b 100644 --- a/admin/notes/bugtracker +++ b/admin/notes/bugtracker | |||
| @@ -8,7 +8,8 @@ This is 95% of all you will ever need to know. | |||
| 8 | 8 | ||
| 9 | ** How do I report a bug? | 9 | ** How do I report a bug? |
| 10 | Use M-x report-emacs-bug, or send mail to bug-gnu-emacs@gnu.org. | 10 | Use M-x report-emacs-bug, or send mail to bug-gnu-emacs@gnu.org. |
| 11 | If you want to Cc someone, use an "X-Debbugs-CC" header instead. | 11 | If you want to Cc someone, use an "X-Debbugs-CC" header (or |
| 12 | pseudo-header, see below) instead. | ||
| 12 | 13 | ||
| 13 | ** How do I comment on a bug? | 14 | ** How do I comment on a bug? |
| 14 | Reply to a mail on the bug-gnu-emacs list in the normal way. | 15 | Reply to a mail on the bug-gnu-emacs list in the normal way. |
| @@ -52,8 +53,8 @@ i) Your report will be assigned a number and generate an automatic reply. | |||
| 52 | ii) Optionally, you can set some database parameters when you first | 53 | ii) Optionally, you can set some database parameters when you first |
| 53 | report a bug (see "Setting bug parameters" below). | 54 | report a bug (see "Setting bug parameters" below). |
| 54 | 55 | ||
| 55 | iii) If you want to CC: someone, use X-Debbugs-CC: (this is important; | 56 | iii) If you want to CC: someone, use X-Debbugs-CC: (note this only |
| 56 | see below). | 57 | applies to _new_ reports, not followups). |
| 57 | 58 | ||
| 58 | Once your report is filed and assigned a number, it is sent out to the | 59 | Once your report is filed and assigned a number, it is sent out to the |
| 59 | bug mailing list. In some cases, it may be appropriate to just file a | 60 | bug mailing list. In some cases, it may be appropriate to just file a |
| @@ -92,15 +93,18 @@ but create duplicates and errors. (It is possible, but unlikely, that | |||
| 92 | you might want to have a dialog with the owner address, outside of | 93 | you might want to have a dialog with the owner address, outside of |
| 93 | normal bug reporting.) | 94 | normal bug reporting.) |
| 94 | 95 | ||
| 95 | ** When reporting a bug, to send a Cc to another address | 96 | ** When reporting a new bug, to send a Cc to another address |
| 96 | (e.g. bug-cc-mode@gnu.org), do NOT just use a Cc: header. | 97 | (e.g. bug-cc-mode@gnu.org), do NOT just use a Cc: header. |
| 97 | Instead, use "X-Debbugs-CC:". This ensures the Cc address will get a | 98 | Instead, use "X-Debbugs-CC:". This ensures the Cc address will get a |
| 98 | mail with the bug report number in. If you do not do this, each reply | 99 | mail with the bug report number in. If you do not do this, each reply |
| 99 | in the subsequent discussion will end up creating a new bug. | 100 | in the subsequent discussion might end up creating a new bug. |
| 100 | This is annoying. | 101 | This is annoying. (So annoying that a form of message-id tracking has |
| 102 | been implemented to hopefully stop this happening, but it is still | ||
| 103 | better to use X-Debbugs-CC.) | ||
| 101 | 104 | ||
| 102 | (So annoying that a form of message-id tracking has been implemented | 105 | Like any X-Debbugs- header, this one can also be specified in the |
| 103 | to hopefully stop this happening, but it is still better to use X-Debbugs-CC.) | 106 | pseudo-header (see below), if your mail client does not let you add |
| 107 | "X-" headers. | ||
| 104 | 108 | ||
| 105 | If a new report contains X-Debbugs-CC in the input, this is | 109 | If a new report contains X-Debbugs-CC in the input, this is |
| 106 | converted to a real Cc header in the output. (See Bug#1780,5384) | 110 | converted to a real Cc header in the output. (See Bug#1780,5384) |
| @@ -218,8 +222,8 @@ Package: emacs | |||
| 218 | Version: 23.0.60 | 222 | Version: 23.0.60 |
| 219 | Severity: minor | 223 | Severity: minor |
| 220 | 224 | ||
| 221 | This can also include tags. Some things (e.g. submitter) don't seem to | 225 | This can also include tags, or any X-Debbugs- setting. |
| 222 | work here. | 226 | Some things (e.g. submitter) don't seem to work here. |
| 223 | 227 | ||
| 224 | Otherwise, send mail to the control server, control@debbugs.gnu.org. | 228 | Otherwise, send mail to the control server, control@debbugs.gnu.org. |
| 225 | At the start of the message body, supply the desired commands, one per | 229 | At the start of the message body, supply the desired commands, one per |