aboutsummaryrefslogtreecommitdiffstats
path: root/etc/NEWS
diff options
context:
space:
mode:
authorJoakim Verona2012-02-10 08:29:52 +0100
committerJoakim Verona2012-02-10 08:29:52 +0100
commitdb2e8ff4fd52d6a06cef414787fd031cc26d43fa (patch)
treec0e6fe54a70be21c9efa1f34040ce08499754e74 /etc/NEWS
parent8c5c7f5afa968d06efb6788cf680d5463c389d85 (diff)
parent667ced3a2d224b0f2ab3f2da26468791252c234a (diff)
downloademacs-db2e8ff4fd52d6a06cef414787fd031cc26d43fa.tar.gz
emacs-db2e8ff4fd52d6a06cef414787fd031cc26d43fa.zip
upstream
Diffstat (limited to 'etc/NEWS')
-rw-r--r--etc/NEWS77
1 files changed, 57 insertions, 20 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 2cdfcf1dad4..5866a065252 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -47,6 +47,7 @@ found at build time. To prevent this, use the configure option
47This happens by default if a suitably recent version of the library is 47This happens by default if a suitably recent version of the library is
48found at build time. To prevent this, use the configure option 48found at build time. To prevent this, use the configure option
49`--without-imagemagick'. See below for ImageMagick features. 49`--without-imagemagick'. See below for ImageMagick features.
50This feature is not available for the Nextstep or MS ports.
50 51
51--- 52---
52** Emacs can be compiled with libxml2 support. 53** Emacs can be compiled with libxml2 support.
@@ -995,15 +996,27 @@ coordinate in the POSITION list now counts from the top of the text
995area, excluding any header line. Previously, it counted from the top 996area, excluding any header line. Previously, it counted from the top
996of the header line. 997of the header line.
997 998
998** A backquote not followed by a space is now always treated as new-style. 999---
1000** Support for "old-style" backquotes, which have been obsolete for
1001more than 10 years, has been further reduced. Now a backquote not
1002followed by a space is always treated as a "new-style" backquote.
1003Please consider completely removing all "old-style" backquotes from
1004your code as a matter of some urgency. If your code uses backquotes
1005as documented in the Elisp manual, and compiles without warning, then
1006you have nothing to do in this regard. Code not following the
1007appropriate conventions may fail to compile. The most common cause of
1008trouble seems to be an old-style backquote followed by a newline.
999 1009
1000--- 1010---
1001** view-buffer now treats special mode-class in the same way that 1011** view-buffer now treats special mode-class in the same way that
1002view-file has since Emacs 22 (ie, it won't enable View mode if the 1012view-file has since Emacs 22 (ie, it won't enable View mode if the
1003major-mode is special). 1013major-mode is special).
1004 1014
1005** Passing a nil argument to a minor mode function now turns the mode 1015** Passing a nil argument to a minor mode defined by define-minor-mode
1006ON unconditionally. 1016now turns the mode ON unconditionally. This is so that you can write, e.g.
1017 (add-hook 'text-mode-hook 'foo-minor-mode)
1018to enable foo-minor-mode in Text mode buffers, thus removing the need
1019for `turn-on-foo-minor-mode' style functions.
1007 1020
1008+++ 1021+++
1009** During startup, Emacs no longer adds entries for `menu-bar-lines' 1022** During startup, Emacs no longer adds entries for `menu-bar-lines'
@@ -1030,20 +1043,32 @@ Eg simply pass the result through substring-no-properties if you need this.
1030** The menu bar bindings's caches are not used any more. 1043** The menu bar bindings's caches are not used any more.
1031Use (where-is-internal <def> nil t) instead. 1044Use (where-is-internal <def> nil t) instead.
1032 1045
1033** The following obsolete functions and aliases were removed:
1034comint-kill-output, decompose-composite-char, outline-visible,
1035internal-find-face, internal-get-face, frame-update-faces,
1036frame-update-face-colors, x-frob-font-weight, x-frob-font-slant,
1037x-make-font-bold, x-make-font-demibold, x-make-font-unbold
1038x-make-font-italic, x-make-font-oblique, x-make-font-unitalic
1039x-make-font-bold-italic, mldrag-drag-mode-line, mldrag-drag-vertical-line,
1040iswitchb-default-keybindings, char-bytes, isearch-return-char,
1041make-local-hook
1042
1043+++ 1046+++
1044** The following obsolete variables and varaliases were removed: 1047** The following obsolete (mostly since at least 21.1) functions and aliases
1045checkdoc-minor-keymap, vc-header-alist, directory-sep-char, 1048have been removed (the appropriate new function is given in parentheses):
1046font-lock-defaults-alist, and e (use float-e). 1049comint-kill-output (comint-delete-output),
1050decompose-composite-char (char-to-string),
1051outline-visible (outline-invisible-p),
1052internal-find-face (facep), internal-get-face (facep and check-face),
1053frame-update-faces (not needed),
1054frame-update-face-colors (frame-set-background-mode),
1055x-frob-font-weight and x-frob-font-slant (appropriate make-face-* function),
1056x-make-font-bold and x-make-font-demibold (make-face-bold),
1057x-make-font-italic and x-make-font-oblique (make-face-italic),
1058x-make-font-bold-italic (make-face-bold-italic),
1059x-make-font-unbold (make-face-unbold),
1060x-make-font-unitalic (make-face-unitalic),
1061mldrag-drag-mode-line (mouse-drag-mode-line),
1062mldrag-drag-vertical-line (mouse-drag-vertical-line),
1063iswitchb-default-keybindings (iswitchb-mode), char-bytes (== 1),
1064isearch-return-char (isearch-printing-char), make-local-hook (not needed)
1065
1066+++
1067** The following obsolete (mostly since at least 21.1) variables and varaliases
1068have been removed (the appropriate new variable is given in parentheses):
1069checkdoc-minor-keymap (checkdoc-minor-mode-map),
1070vc-header-alist (vc-BACKEND-header), directory-sep-char (== ?/)
1071font-lock-defaults-alist (font-lock-defaults), and e (float-e).
1047 1072
1048--- 1073---
1049** The following obsolete files were removed: 1074** The following obsolete files were removed:
@@ -1236,15 +1261,21 @@ Instead, the offending function is removed.
1236 1261
1237** New hook types 1262** New hook types
1238 1263
1264+++
1239*** New function `run-hook-wrapped' for running an abnormal hook by 1265*** New function `run-hook-wrapped' for running an abnormal hook by
1240passing the hook functions as arguments to a "wrapping" function. 1266passing the hook functions as arguments to a "wrapping" function.
1267Like `run-hook-with-args-until-success', it stops at the first
1268non-nil return value.
1269
1241+++ 1270+++
1242*** New macro `with-wrapper-hook' for running an abnormal hook as a 1271*** New macro `with-wrapper-hook' for running an abnormal hook as a
1243set of "wrapping" filters, similar to around advice. 1272set of "wrapping" filters, similar to around advice.
1244(A version of this macro was actually added in Emacs 23.2 but was not 1273(A version of this macro was actually added in Emacs 23.2 but was not
1245advertised at the time.) 1274advertised at the time.)
1246 1275
1247** Macro `with-demoted-errors' was added in Emacs 23.1 but not advertised. 1276+++
1277** The macros `condition-case-no-debug' and `with-demoted-errors' were
1278added in Emacs 23.1, but not advertised.
1248 1279
1249+++ 1280+++
1250** The new function `server-eval-at' allows evaluation of Lisp forms on 1281** The new function `server-eval-at' allows evaluation of Lisp forms on
@@ -1329,6 +1360,7 @@ argument is supplied (see Trash changes, above).
1329or RGB triplet, instead of signaling an error if the user provides 1360or RGB triplet, instead of signaling an error if the user provides
1330invalid input. 1361invalid input.
1331 1362
1363+++
1332** Tool-bars can display separators. 1364** Tool-bars can display separators.
1333Tool-bar separators are handled like menu separators in menu-bar maps, 1365Tool-bar separators are handled like menu separators in menu-bar maps,
1334i.e. via menu entries of the form `(menu-item "--")'. 1366i.e. via menu entries of the form `(menu-item "--")'.
@@ -1352,13 +1384,14 @@ is being animated.
1352*** `image-extension-data' has been renamed to `image-metadata'. 1384*** `image-extension-data' has been renamed to `image-metadata'.
1353The old name is an obsolete alias to the new one. 1385The old name is an obsolete alias to the new one.
1354 1386
1387+++
1355*** Emacs can be compiled with ImageMagick support. 1388*** Emacs can be compiled with ImageMagick support.
1389This feature is not available for the Nextstep or MS ports.
1356Then the function `imagemagick-types' returns a list of image file 1390Then the function `imagemagick-types' returns a list of image file
1357extensions that your installation of ImageMagick supports. The 1391extensions that your installation of ImageMagick supports. The
1358function `imagemagick-register-types' enables ImageMagick support for 1392function `imagemagick-register-types' enables ImageMagick support for
1359these image types, minus those listed in `imagemagick-types-inhibit'. 1393these image types, minus those listed in `imagemagick-types-inhibit'.
1360 1394Visiting one of these file types will then use Image mode.
1361See the Emacs Lisp Reference Manual for more information.
1362 1395
1363** XML and HTML parsing 1396** XML and HTML parsing
1364If Emacs is compiled with libxml2 support, there are two new functions: 1397If Emacs is compiled with libxml2 support, there are two new functions:
@@ -1405,7 +1438,11 @@ as well as those in the -*- line.
1405--- 1438---
1406** rx.el has a new `group-n' construct for explicitly numbered groups. 1439** rx.el has a new `group-n' construct for explicitly numbered groups.
1407 1440
1408** keymaps can inherit from multiple parents. 1441+++
1442** New function `make-composed-keymap' that constructs a new keymap
1443from multiple input maps. You can use this to make a keymap that
1444inherits from multiple maps, eg:
1445 (set-keymap-parent newmap (make-composed-keymap othermap parent))
1409 1446
1410+++ 1447+++
1411** Set `debug-on-event' to make Emacs enter the debugger e.g. on receipt 1448** Set `debug-on-event' to make Emacs enter the debugger e.g. on receipt