aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2013-12-24 12:14:17 +0800
committerChong Yidong2013-12-24 12:14:17 +0800
commit642d7ae8fcbd2fd4c6aabc05e1347507d5d50014 (patch)
treea193e620bb2dd87de93bd0a28ae6b50a73626562
parentd64b6308194322eb4b947c78ea8c68e09a77e638 (diff)
downloademacs-642d7ae8fcbd2fd4c6aabc05e1347507d5d50014.tar.gz
emacs-642d7ae8fcbd2fd4c6aabc05e1347507d5d50014.zip
Minor edits to NEWS.
-rw-r--r--etc/NEWS126
1 files changed, 65 insertions, 61 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2e16842cc2b..2e6da37590c 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -217,6 +217,20 @@ simply disabling Transient Mark mode does the same thing.
217** The default value of `comment-use-global-state' is changed to t, 217** The default value of `comment-use-global-state' is changed to t,
218and this variable has been marked obsolete. 218and this variable has been marked obsolete.
219 219
220** New user options:
221
222*** `read-regexp-defaults-function' defines a function to read regexps,
223used by commands like `rgrep', `lgrep' `occur', `highlight-regexp',
224etc. You can customize this to specify a function that provides a
225default value from the regexp last history element, or from the symbol
226found at point.
227
228*** `load-prefer-newer', affects how the `load' function chooses the
229file to load. If this is non-nil, then when both .el and .elc
230versions of a file exist, and the caller did not explicitly specify
231which one to load, then the newer file is loaded. The default, nil,
232means to always load the .elc file.
233
220 234
221* Editing Changes in Emacs 24.4 235* Editing Changes in Emacs 24.4
222 236
@@ -390,11 +404,12 @@ For example, this enables parsing of macros which open new namespaces.
390 404
391** CUA mode 405** CUA mode
392 406
393*** CUA mode was changed to make use of delete-selection-mode and 407*** CUA mode now uses `delete-selection-mode' and `shift-select-mode'.
394shift-select-mode. So you can now enable it independently from 408Hence, you can now enable it independently from `transient-mark-mode',
395transient-mark-mode, delete-selection-mode, and shift-select-mode. 409`delete-selection-mode', and `shift-select-mode'.
396As a result, cua-highlight-region-shift-only is obsolete 410
397(you can disable transient-mark-mode to get the same result). 411*** `cua-highlight-region-shift-only' is now obsolete.
412You can disable `transient-mark-mode' to get the same result.
398 413
399*** CUA's rectangles can now be used via `cua-rectangle-mark-mode'. 414*** CUA's rectangles can now be used via `cua-rectangle-mark-mode'.
400 415
@@ -872,7 +887,7 @@ to that past, it is still done before input-decode-map/function-key-map/...
872More specifically, the redisplay does not bother to check for a frame-local 887More specifically, the redisplay does not bother to check for a frame-local
873value when looking up variables. 888value when looking up variables.
874 889
875** nil and "unbound" are indistinguishable in symbol-function. 890** nil and "unbound" are indistinguishable in `symbol-function'.
876`symbol-function' never signals `void-function' any more. 891`symbol-function' never signals `void-function' any more.
877`fboundp' returns non-nil if the symbol was `fset' to nil. 892`fboundp' returns non-nil if the symbol was `fset' to nil.
878 893
@@ -893,56 +908,64 @@ file using `set-file-extended-attributes'.
893Formerly it returned a list (-1 LOW USEC PSEC), but this was ambiguous 908Formerly it returned a list (-1 LOW USEC PSEC), but this was ambiguous
894in the presence of files with negative time stamps. 909in the presence of files with negative time stamps.
895 910
896** The cars of the elements in `interpreter-mode-alist' are now treated 911** The cars of the elements in `interpreter-mode-alist' are now
897as regexps rather than literal strings. Technically this is an 912treated as regexps rather than literal strings. This change should
898incompatible change, but unless you are using interpreter-mode-alist 913not affect you unless you are using `interpreter-mode-alist' for
899for something (not just adding elements to it), it ought not to affect you. 914something (not just adding elements to it).
900 915
901 916
902* Lisp Changes in Emacs 24.4 917* Lisp Changes in Emacs 24.4
903 918
919** The second argument of `eval' can now specify a lexical environment.
920
904+++ 921+++
905** New variable `enable-dir-local-variables'. 922** New functions `special-form-p' and `macrop'.
906Directory-local variables are ignored if this is set to nil. This may
907be useful for modes that want to ignore directory-locals while still
908respecting file-local variables.
909 923
910** New macro `define-alternatives' can be used to define generic commands. 924** New macro `define-alternatives' can be used to define generic commands.
911Generic commands are interactive functions whose implementation can be 925Generic commands are interactive functions whose implementation can be
912selected among several alternatives, as a matter of user preference. 926selected among several alternatives, as a matter of user preference.
913 927
928** The `defalias-fset-function' property lets you catch `defalias'
929calls, and redirect them to your own function, instead of `fset'.
930
931** Docstrings can be made dynamic by adding a `dynamic-docstring-function'
932text-property on the first char.
933
914+++ 934+++
915** New function `get-pos-property'. 935** New variable `enable-dir-local-variables'.
936Directory-local variables are ignored if this is nil. This may be
937useful for modes that want to ignore directory-locals while still
938respecting file-local variables.
916 939
917** Minibuffer changes 940+++
941** New function `get-pos-property'.
918 942
919*** completing-read-multiple's separator can now be a regexp. 943** Completion changes
920The default separator is changed to allow surrounding spaces around the comma.
921 944
922*** New option `read-regexp-defaults-function' defines the function 945*** The separator for `completing-read-multiple' can now be a regexp.
923that provides the default value for commands that ask for a regexp: 946The default separator has been changed to allow surrounding spaces
924`rgrep', `lgrep' `occur', `multi-occur', `multi-occur-in-matching-buffers', 947around the comma.
925`highlight-regexp', `highlight-lines-matching-regexp', `highlight-phrase'.
926This option can be customized to values that provide a default value
927from the regexp last history element or from the symbol found at point.
928 948
929** New option `load-prefer-newer', if non-nil, means that when both 949*** The `common-substring' arg of `display-completion-list' is obsolete.
930.el and .elc versions of a file exist, rather than `load' always 950Either use `completion-all-completions', which returns highlighted
931choosing the .elc version, it will choose whichever is newer 951strings (including for partial or substring completion), or call
932(unless you explicitly specify one or the other). 952`completion-hilit-commonality' to add the highlight.
933 953
934** New hook `pre-redisplay-function'. 954** Terminal changes
935 955
936+++ 956+++
937** Functions that pop up menus and dialogs now work on all terminal types, 957*** Functions to pop up menus and dialogs now work on all terminals,
938including TTYs. 958including TTYs. This includes `x-popup-menu', `x-popup-dialog',
939This includes `x-popup-menu', `x-popup-dialog', `message-box', 959`message-box', `yes-or-no-p', etc.
940`yes-or-no-p', etc.
941 960
942The function `display-popup-menus-p' will now return non-nil for a 961The function `display-popup-menus-p' will now return non-nil for a
943display or frame whenever a mouse is supported on that display or 962display or frame whenever a mouse is supported on that display or
944frame. 963frame.
945 964
965*** New hook `tty-setup-hook'.
966
967** New hook `pre-redisplay-function'.
968
946+++ 969+++
947** New bool-vector set operation functions: 970** New bool-vector set operation functions:
948*** `bool-vector-exclusive-or' 971*** `bool-vector-exclusive-or'
@@ -957,13 +980,12 @@ frame.
957+++ 980+++
958** Comparison functions =, <, >, <=, >= now take many arguments. 981** Comparison functions =, <, >, <=, >= now take many arguments.
959 982
960** The second argument of `eval' can now be a lexical-environment. 983** Error-handling changes
961 984
962** `with-demoted-errors' takes an additional argument `format'.
963+++ 985+++
964** New function `define-error'. 986*** New function `define-error'.
965 987
966** New hook `tty-setup-hook'. 988*** `with-demoted-errors' takes an additional argument `format'.
967 989
968+++ 990+++
969** New macro with-eval-after-load. Like eval-after-load, but better behaved. 991** New macro with-eval-after-load. Like eval-after-load, but better behaved.
@@ -993,6 +1015,7 @@ frame.
993*** `isearch-nonincremental-exit-minibuffer' 1015*** `isearch-nonincremental-exit-minibuffer'
994*** `isearch-filter-visible' 1016*** `isearch-filter-visible'
995*** `generic-make-keywords-list' 1017*** `generic-make-keywords-list'
1018*** `get-upcase-table' (use `case-table-get-table' instead).
996 1019
997** `with-wrapper-hook' is obsoleted by `add-function'. 1020** `with-wrapper-hook' is obsoleted by `add-function'.
998The few hooks that used with-wrapper-hook are replaced as follows: 1021The few hooks that used with-wrapper-hook are replaced as follows:
@@ -1010,8 +1033,6 @@ the start and end of each substring.
1010 1033
1011** New function `string-suffix-p'. 1034** New function `string-suffix-p'.
1012 1035
1013** `get-upcase-table' is obsoleted by the new `case-table-get-table'.
1014
1015** File-handling changes 1036** File-handling changes
1016 1037
1017+++ 1038+++
@@ -1058,10 +1079,9 @@ of remote files when set to non-nil.
1058 1079
1059** Face changes 1080** Face changes
1060 1081
1061*** The function `face-spec-set' is now analogous to `setq' for face specs. 1082*** The function `face-spec-set' is now like `setq' for face specs.
1062Its third arg now accepts values specifying exactly which face spec to 1083Its third arg now accepts values specifying a face spec type (defface,
1063set (defface, custom, or user spec), and it directly sets the relevant 1084custom, or override spec), and the relevant spec is set accordingly.
1064property using the supplied face spec.
1065 1085
1066+++ 1086+++
1067*** New function `add-face-text-property', which can be used to 1087*** New function `add-face-text-property', which can be used to
@@ -1086,15 +1106,13 @@ It returns non-nil for any image that contains multiple frames,
1086whether or not it specifies a frame delay. 1106whether or not it specifies a frame delay.
1087 1107
1088+++ 1108+++
1089*** When animating images that do not specify a frame delay, 1109*** New variable `image-default-frame-delay' gives the frame delay for
1090Emacs uses `image-default-frame-delay'. 1110animated images which do not specify a frame delay.
1091 1111
1092+++ 1112+++
1093*** New functions `image-current-frame' and `image-show-frame' for getting 1113*** New functions `image-current-frame' and `image-show-frame' for getting
1094and setting the current frame of a multi-frame image. 1114and setting the current frame of a multi-frame image.
1095 1115
1096*** You can change the speed of animated images.
1097
1098** EIEIO 1116** EIEIO
1099 1117
1100*** Namespace cleanup by obsolete-aliasing functions to use `eieio-' prefix. 1118*** Namespace cleanup by obsolete-aliasing functions to use `eieio-' prefix.
@@ -1148,15 +1166,6 @@ These attributes are only meaningful for coding-systems of type
1148 1166
1149** `time-to-seconds' is not obsolete any more. 1167** `time-to-seconds' is not obsolete any more.
1150 1168
1151+++
1152** New functions `special-form-p' and `macrop'.
1153
1154** Docstrings can be made dynamic by adding a `dynamic-docstring-function'
1155text-property on the first char.
1156
1157** The `defalias-fset-function' property lets you catch calls to defalias
1158and redirect them to your own function instead of `fset'.
1159
1160** The lock for 'DIR/FILE' is now 'DIR/.#FILE' and may be a regular file. 1169** The lock for 'DIR/FILE' is now 'DIR/.#FILE' and may be a regular file.
1161When you edit DIR/FILE, Emacs normally creates a symbolic link 1170When you edit DIR/FILE, Emacs normally creates a symbolic link
1162DIR/.#FILE as a lock that warns other instances of Emacs that DIR/FILE 1171DIR/.#FILE as a lock that warns other instances of Emacs that DIR/FILE
@@ -1171,11 +1180,6 @@ regular file with contents being what would have been in the symlink.
1171+++ 1180+++
1172** New functions `group-gid' and `group-real-gid'. 1181** New functions `group-gid' and `group-real-gid'.
1173 1182
1174** The `common-substring' argument of `display-completion-list' is obsolete.
1175Either use `completion-all-completions' which already returns highlighted
1176strings (including for partial or substring completion) or call
1177`completion-hilit-commonality' to add the highlight.
1178
1179** Changes to the Emacs Lisp Coding Conventions in Emacs 24.4 1183** Changes to the Emacs Lisp Coding Conventions in Emacs 24.4
1180 1184
1181+++ 1185+++