diff options
| author | Joakim Verona | 2012-02-10 08:29:52 +0100 |
|---|---|---|
| committer | Joakim Verona | 2012-02-10 08:29:52 +0100 |
| commit | db2e8ff4fd52d6a06cef414787fd031cc26d43fa (patch) | |
| tree | c0e6fe54a70be21c9efa1f34040ce08499754e74 /etc/NEWS | |
| parent | 8c5c7f5afa968d06efb6788cf680d5463c389d85 (diff) | |
| parent | 667ced3a2d224b0f2ab3f2da26468791252c234a (diff) | |
| download | emacs-db2e8ff4fd52d6a06cef414787fd031cc26d43fa.tar.gz emacs-db2e8ff4fd52d6a06cef414787fd031cc26d43fa.zip | |
upstream
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 77 |
1 files changed, 57 insertions, 20 deletions
| @@ -47,6 +47,7 @@ found at build time. To prevent this, use the configure option | |||
| 47 | This happens by default if a suitably recent version of the library is | 47 | This happens by default if a suitably recent version of the library is |
| 48 | found at build time. To prevent this, use the configure option | 48 | found 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. |
| 50 | This 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 | |||
| 995 | area, excluding any header line. Previously, it counted from the top | 996 | area, excluding any header line. Previously, it counted from the top |
| 996 | of the header line. | 997 | of 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 | ||
| 1001 | more than 10 years, has been further reduced. Now a backquote not | ||
| 1002 | followed by a space is always treated as a "new-style" backquote. | ||
| 1003 | Please consider completely removing all "old-style" backquotes from | ||
| 1004 | your code as a matter of some urgency. If your code uses backquotes | ||
| 1005 | as documented in the Elisp manual, and compiles without warning, then | ||
| 1006 | you have nothing to do in this regard. Code not following the | ||
| 1007 | appropriate conventions may fail to compile. The most common cause of | ||
| 1008 | trouble 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 |
| 1002 | view-file has since Emacs 22 (ie, it won't enable View mode if the | 1012 | view-file has since Emacs 22 (ie, it won't enable View mode if the |
| 1003 | major-mode is special). | 1013 | major-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 |
| 1006 | ON unconditionally. | 1016 | now turns the mode ON unconditionally. This is so that you can write, e.g. |
| 1017 | (add-hook 'text-mode-hook 'foo-minor-mode) | ||
| 1018 | to enable foo-minor-mode in Text mode buffers, thus removing the need | ||
| 1019 | for `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. |
| 1031 | Use (where-is-internal <def> nil t) instead. | 1044 | Use (where-is-internal <def> nil t) instead. |
| 1032 | 1045 | ||
| 1033 | ** The following obsolete functions and aliases were removed: | ||
| 1034 | comint-kill-output, decompose-composite-char, outline-visible, | ||
| 1035 | internal-find-face, internal-get-face, frame-update-faces, | ||
| 1036 | frame-update-face-colors, x-frob-font-weight, x-frob-font-slant, | ||
| 1037 | x-make-font-bold, x-make-font-demibold, x-make-font-unbold | ||
| 1038 | x-make-font-italic, x-make-font-oblique, x-make-font-unitalic | ||
| 1039 | x-make-font-bold-italic, mldrag-drag-mode-line, mldrag-drag-vertical-line, | ||
| 1040 | iswitchb-default-keybindings, char-bytes, isearch-return-char, | ||
| 1041 | make-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 |
| 1045 | checkdoc-minor-keymap, vc-header-alist, directory-sep-char, | 1048 | have been removed (the appropriate new function is given in parentheses): |
| 1046 | font-lock-defaults-alist, and e (use float-e). | 1049 | comint-kill-output (comint-delete-output), |
| 1050 | decompose-composite-char (char-to-string), | ||
| 1051 | outline-visible (outline-invisible-p), | ||
| 1052 | internal-find-face (facep), internal-get-face (facep and check-face), | ||
| 1053 | frame-update-faces (not needed), | ||
| 1054 | frame-update-face-colors (frame-set-background-mode), | ||
| 1055 | x-frob-font-weight and x-frob-font-slant (appropriate make-face-* function), | ||
| 1056 | x-make-font-bold and x-make-font-demibold (make-face-bold), | ||
| 1057 | x-make-font-italic and x-make-font-oblique (make-face-italic), | ||
| 1058 | x-make-font-bold-italic (make-face-bold-italic), | ||
| 1059 | x-make-font-unbold (make-face-unbold), | ||
| 1060 | x-make-font-unitalic (make-face-unitalic), | ||
| 1061 | mldrag-drag-mode-line (mouse-drag-mode-line), | ||
| 1062 | mldrag-drag-vertical-line (mouse-drag-vertical-line), | ||
| 1063 | iswitchb-default-keybindings (iswitchb-mode), char-bytes (== 1), | ||
| 1064 | isearch-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 | ||
| 1068 | have been removed (the appropriate new variable is given in parentheses): | ||
| 1069 | checkdoc-minor-keymap (checkdoc-minor-mode-map), | ||
| 1070 | vc-header-alist (vc-BACKEND-header), directory-sep-char (== ?/) | ||
| 1071 | font-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 |
| 1240 | passing the hook functions as arguments to a "wrapping" function. | 1266 | passing the hook functions as arguments to a "wrapping" function. |
| 1267 | Like `run-hook-with-args-until-success', it stops at the first | ||
| 1268 | non-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 |
| 1243 | set of "wrapping" filters, similar to around advice. | 1272 | set 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 |
| 1245 | advertised at the time.) | 1274 | advertised 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 | ||
| 1278 | added 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). | |||
| 1329 | or RGB triplet, instead of signaling an error if the user provides | 1360 | or RGB triplet, instead of signaling an error if the user provides |
| 1330 | invalid input. | 1361 | invalid input. |
| 1331 | 1362 | ||
| 1363 | +++ | ||
| 1332 | ** Tool-bars can display separators. | 1364 | ** Tool-bars can display separators. |
| 1333 | Tool-bar separators are handled like menu separators in menu-bar maps, | 1365 | Tool-bar separators are handled like menu separators in menu-bar maps, |
| 1334 | i.e. via menu entries of the form `(menu-item "--")'. | 1366 | i.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'. |
| 1353 | The old name is an obsolete alias to the new one. | 1385 | The 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. |
| 1389 | This feature is not available for the Nextstep or MS ports. | ||
| 1356 | Then the function `imagemagick-types' returns a list of image file | 1390 | Then the function `imagemagick-types' returns a list of image file |
| 1357 | extensions that your installation of ImageMagick supports. The | 1391 | extensions that your installation of ImageMagick supports. The |
| 1358 | function `imagemagick-register-types' enables ImageMagick support for | 1392 | function `imagemagick-register-types' enables ImageMagick support for |
| 1359 | these image types, minus those listed in `imagemagick-types-inhibit'. | 1393 | these image types, minus those listed in `imagemagick-types-inhibit'. |
| 1360 | 1394 | Visiting one of these file types will then use Image mode. | |
| 1361 | See the Emacs Lisp Reference Manual for more information. | ||
| 1362 | 1395 | ||
| 1363 | ** XML and HTML parsing | 1396 | ** XML and HTML parsing |
| 1364 | If Emacs is compiled with libxml2 support, there are two new functions: | 1397 | If 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 | ||
| 1443 | from multiple input maps. You can use this to make a keymap that | ||
| 1444 | inherits 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 |