From: Chong Yidong Date: Sun, 19 Feb 2012 04:44:03 +0000 (+0800) Subject: Reorganize some NEWS items. X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/0b19b281212ccb1253088afaaa196f69b21a5a6d?hp=8f4fb15f805f30992b1c96264274a3a90fc280dd Reorganize some NEWS items. --- diff --git a/etc/NEWS b/etc/NEWS index 72b0f5b5ec..583c86b901 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -1077,6 +1077,7 @@ Eg simply pass the result through substring-no-properties if you need this. --- ** cl.el no longer provides `cl-19'. ++++ ** The menu bar bindings's caches are not used any more. Use (where-is-internal nil t) instead. @@ -1314,12 +1315,21 @@ set of "wrapping" filters, similar to around advice. (A version of this macro was actually added in Emacs 23.2 but was not advertised at the time.) +** Debugger changes +++ -** New macro `condition-case-unless-debug' (this was actually added in +*** New macro `condition-case-unless-debug' (this was actually added in Emacs 23.1 as condition-case-no-debug, but not advertised) - +++ -** The macro `with-demoted-errors' was added in Emacs 23.1, but not advertised. +*** The macro `with-demoted-errors' was added in Emacs 23.1, but not advertised. +--- +*** Variable `stack-trace-on-error' removed. ++++ +*** The debugger can now "continue" from an error, which means it will +jump to the error handler as if the debugger had not been invoked +instead of jumping all the way to the top-level. ++++ +*** Set `debug-on-event' to enter the debugger on events like SIGUSR1. +This can be useful when `inhibit-quit' is set. +++ ** The new function `server-eval-at' allows evaluation of Lisp forms on @@ -1329,19 +1339,20 @@ named Emacs server instances, using TCP sockets. ** `call-process' and `call-process-region' allow a `(:file "file")' spec to redirect STDOUT to a file. ---- -** Variable `stack-trace-on-error' removed. -Also the debugger can now "continue" from an error, which means it will jump -to the error handler as if the debugger had not been invoked instead of -jumping all the way to the top-level. - +++ ** The function format-time-string now supports the %N directive, for higher-resolution time stamps. +** New input reading functions ++++ +*** New function `read-char-choice' reads a restricted set of +characters, discarding any inputs not inside the set. +++ -** New function `read-char-choice' reads a restricted set of characters, -discarding any inputs not inside the set. +*** The command `read-color' now requires a match for a color name +or RGB triplet, instead of signaling an error if the user provides +invalid input. +--- +**** `facemenu-read-color' is now an alias for `read-color'. +++ ** `image-library-alist' is renamed to `dynamic-library-alist'. @@ -1349,8 +1360,9 @@ The variable is now used to load all kind of supported dynamic libraries, not just image libraries. The previous name is still available as an obsolete alias. +** Syntax parsing changes +++ -** New variable `syntax-propertize-function'. +*** New variable `syntax-propertize-function'. This replaces `font-lock-syntactic-keywords' which is now obsolete. This allows syntax-table properties to be set independently from font-lock: just call syntax-propertize to make sure the text is propertized. @@ -1359,35 +1371,33 @@ syntax-propertize-extend-region-functions, as well as two helper functions: syntax-propertize-via-font-lock to reuse old font-lock-syntactic-keywords as-is; and syntax-propertize-rules which provides a new way to specify syntactic rules. - +++ -** New hook post-self-insert-hook run at the end of self-insert-command. +*** Syntax tables support a new "comment style c" additionally to style b. +++ -** Syntax tables support a new "comment style c" additionally to style b. +** New hook post-self-insert-hook run at the end of self-insert-command. --- ** frame-local variables cannot be let-bound any more. ** Major and minor mode changes +++ +*** `set-auto-mode' now respects mode: local variables at the end of files, +as well as those in the -*- line. ++++ *** `prog-mode' is a new major mode from which programming modes should be derived. - +++ **** `prog-mode-hook' can be used to enable features for programming modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable on-the-fly spell checking for comments and strings. - +++ *** New hook `change-major-mode-after-body-hook', run by `run-mode-hooks' just before any other mode hooks. - +++ *** Enabled globalized minor modes can be disabled in specific major modes. If the global mode is global-FOO-mode, then run (FOO-mode -1) in the major mode's hook, where FOO-mode toggles the mode on a per-buffer basis. - +++ *** `define-minor-mode' accepts a new keyword :variable. @@ -1397,14 +1407,6 @@ Trashing is performed if TRASH and `delete-by-moving-to-trash' are both non-nil. Interactively, TRASH defaults to t, unless a prefix argument is supplied (see Trash changes, above). ---- -** `facemenu-read-color' is now an alias for `read-color'. - -+++ -** The command `read-color' now requires a match for a color name -or RGB triplet, instead of signaling an error if the user provides -invalid input. - +++ ** Tool-bars can display separators. Tool-bar separators are handled like menu separators in menu-bar maps, @@ -1489,11 +1491,6 @@ only used by Emacs on some platforms to display warnings during startup, which might otherwise not be noticed. This uses the functions display-delayed-warnings and collapse-delayed-warnings. - -+++ -** `set-auto-mode' now respects mode: local variables at the end of files, -as well as those in the -*- line. - --- ** rx.el has a new `group-n' construct for explicitly numbered groups. @@ -1503,10 +1500,6 @@ from multiple input maps. You can use this to make a keymap that inherits from multiple maps, eg: (set-keymap-parent newmap (make-composed-keymap othermap parent)) -+++ -** Set `debug-on-event' to make Emacs enter the debugger e.g. on receipt -of SIGUSR1. This can be useful when `inhibit-quit' is set. - +++ ** New reader macro ## that stands for the empty symbol. This means that the empty symbol can now be read back. Also, #: by itself