diff options
| author | Michael Albinus | 2018-11-13 11:04:20 +0100 |
|---|---|---|
| committer | Michael Albinus | 2018-11-13 11:04:20 +0100 |
| commit | b8d50754767e4d2d82b1b5d46c21d7a0584a4d93 (patch) | |
| tree | ea0d25b5a20865156659a316125a20c57dfe6aed /etc | |
| parent | 73ba6f16d1fe95d7535c8e20f19d11275b8356c4 (diff) | |
| download | emacs-b8d50754767e4d2d82b1b5d46c21d7a0584a4d93.tar.gz emacs-b8d50754767e4d2d82b1b5d46c21d7a0584a4d93.zip | |
; Cosmetic changes in etc/NEWS
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 165 |
1 files changed, 83 insertions, 82 deletions
| @@ -3,8 +3,8 @@ GNU Emacs NEWS -- history of user-visible changes. | |||
| 3 | Copyright (C) 2017-2018 Free Software Foundation, Inc. | 3 | Copyright (C) 2017-2018 Free Software Foundation, Inc. |
| 4 | See the end of the file for license conditions. | 4 | See the end of the file for license conditions. |
| 5 | 5 | ||
| 6 | Please send Emacs bug reports to bug-gnu-emacs@gnu.org. | 6 | Please send Emacs bug reports to 'bug-gnu-emacs@gnu.org'. |
| 7 | If possible, use M-x report-emacs-bug. | 7 | If possible, use 'M-x report-emacs-bug'. |
| 8 | 8 | ||
| 9 | This file is about changes in Emacs version 27. | 9 | This file is about changes in Emacs version 27. |
| 10 | 10 | ||
| @@ -13,7 +13,7 @@ See files NEWS.26, NEWS.25, ..., NEWS.18, and NEWS.1-17 for changes | |||
| 13 | in older Emacs versions. | 13 | in older Emacs versions. |
| 14 | 14 | ||
| 15 | You can narrow news to a specific version by calling 'view-emacs-news' | 15 | You can narrow news to a specific version by calling 'view-emacs-news' |
| 16 | with a prefix argument or by typing C-u C-h C-n. | 16 | with a prefix argument or by typing 'C-u C-h C-n'. |
| 17 | 17 | ||
| 18 | Temporary note: | 18 | Temporary note: |
| 19 | +++ indicates that all necessary documentation updates are complete. | 19 | +++ indicates that all necessary documentation updates are complete. |
| @@ -27,11 +27,11 @@ When you add a new item, use the appropriate mark if you are sure it applies, | |||
| 27 | ** Emacs now uses GMP, the GNU Multiple Precision library. | 27 | ** Emacs now uses GMP, the GNU Multiple Precision library. |
| 28 | By default, if 'configure' does not find a suitable libgmp, it | 28 | By default, if 'configure' does not find a suitable libgmp, it |
| 29 | arranges for the included mini-gmp library to be built and used. | 29 | arranges for the included mini-gmp library to be built and used. |
| 30 | The new 'configure' option --without-libgmp uses mini-gmp even if a | 30 | The new 'configure' option '--without-libgmp' uses mini-gmp even if a |
| 31 | suitable libgmp is available. | 31 | suitable libgmp is available. |
| 32 | 32 | ||
| 33 | ** The new configure option '--with-json' adds support for JSON using | 33 | ** The new configure option '--with-json' adds support for JSON using |
| 34 | the Jansson library. It is on by default; use 'configure | 34 | the Jansson library. It is on by default; use './configure |
| 35 | --with-json=no' to build without Jansson support. The new JSON | 35 | --with-json=no' to build without Jansson support. The new JSON |
| 36 | functions 'json-serialize', 'json-insert', 'json-parse-string', and | 36 | functions 'json-serialize', 'json-insert', 'json-parse-string', and |
| 37 | 'json-parse-buffer' are typically much faster than their Lisp | 37 | 'json-parse-buffer' are typically much faster than their Lisp |
| @@ -44,7 +44,7 @@ support other programs. The new configure option '--without-included-regex' | |||
| 44 | forces etags to use the C library's regex matcher even if the regex | 44 | forces etags to use the C library's regex matcher even if the regex |
| 45 | substitute ordinarily would be used to work around compatibility problems. | 45 | substitute ordinarily would be used to work around compatibility problems. |
| 46 | 46 | ||
| 47 | ** Emacs has been ported to the -fcheck-pointer-bounds option of GCC. | 47 | ** Emacs has been ported to the '-fcheck-pointer-bounds' option of GCC. |
| 48 | This causes Emacs to check bounds of some arrays addressed by its | 48 | This causes Emacs to check bounds of some arrays addressed by its |
| 49 | internal pointers, which can be helpful when debugging the Emacs | 49 | internal pointers, which can be helpful when debugging the Emacs |
| 50 | interpreter or modules that it uses. If your platform supports it you | 50 | interpreter or modules that it uses. If your platform supports it you |
| @@ -54,8 +54,8 @@ can enable it when configuring, e.g., './configure CFLAGS="-g3 -O2 | |||
| 54 | ** Emacs now normally uses a C pointer type instead of a C integer | 54 | ** Emacs now normally uses a C pointer type instead of a C integer |
| 55 | type to implement Lisp_Object, which is the fundamental machine word | 55 | type to implement Lisp_Object, which is the fundamental machine word |
| 56 | type internal to the Emacs Lisp interpreter. This change aims to | 56 | type internal to the Emacs Lisp interpreter. This change aims to |
| 57 | catch typos and support -fcheck-pointer-bounds. The 'configure' | 57 | catch typos and supports '-fcheck-pointer-bounds'. The 'configure' |
| 58 | option --enable-check-lisp-object-type is therefore no longer as | 58 | option '--enable-check-lisp-object-type' is therefore no longer as |
| 59 | useful and so is no longer enabled by default in developer builds, | 59 | useful and so is no longer enabled by default in developer builds, |
| 60 | to reduce differences between developer and production builds. | 60 | to reduce differences between developer and production builds. |
| 61 | 61 | ||
| @@ -113,7 +113,7 @@ work right without some adjustment: | |||
| 113 | Units that are ordered after 'emacs.service' will only be started | 113 | Units that are ordered after 'emacs.service' will only be started |
| 114 | after Emacs has finished initialization and is ready for use. | 114 | after Emacs has finished initialization and is ready for use. |
| 115 | (If your Emacs is installed in a non-standard location and you copied the | 115 | (If your Emacs is installed in a non-standard location and you copied the |
| 116 | emacs.service file to eg ~/.config/systemd/user/, you will need to copy | 116 | emacs.service file to eg "~/.config/systemd/user/", you will need to copy |
| 117 | the new version of the file again.) | 117 | the new version of the file again.) |
| 118 | 118 | ||
| 119 | 119 | ||
| @@ -123,7 +123,7 @@ the new version of the file again.) | |||
| 123 | ** emacsclient now supports the 'EMACS_SOCKET_NAME' environment variable. | 123 | ** emacsclient now supports the 'EMACS_SOCKET_NAME' environment variable. |
| 124 | The behavior is identical to 'EMACS_SERVER_FILE', in that the | 124 | The behavior is identical to 'EMACS_SERVER_FILE', in that the |
| 125 | command-line value specified via '--socket-name' will override the | 125 | command-line value specified via '--socket-name' will override the |
| 126 | environment, and the natural default to TMPDIR, then '/tmp', continues | 126 | environment, and the natural default to TMPDIR, then "/tmp", continues |
| 127 | to apply. | 127 | to apply. |
| 128 | 128 | ||
| 129 | +++ | 129 | +++ |
| @@ -136,7 +136,7 @@ it resizes the echo area as needed to accommodate the full tool-tip | |||
| 136 | text. | 136 | text. |
| 137 | 137 | ||
| 138 | --- | 138 | --- |
| 139 | ** Show modeline tooltips only if the corresponding action applies. | 139 | ** Show mode line tooltips only if the corresponding action applies. |
| 140 | Customize the option 'mode-line-default-help-echo' to restore the old | 140 | Customize the option 'mode-line-default-help-echo' to restore the old |
| 141 | behavior where the tooltip text is also shown when the corresponding | 141 | behavior where the tooltip text is also shown when the corresponding |
| 142 | action does not apply. | 142 | action does not apply. |
| @@ -201,7 +201,7 @@ regular expression was previously invalid, but is now accepted: | |||
| 201 | ** The German prefix and postfix input methods now support Capital sharp S. | 201 | ** The German prefix and postfix input methods now support Capital sharp S. |
| 202 | 202 | ||
| 203 | --- | 203 | --- |
| 204 | ** New input methods hawaiian-postfix and hawaiian-prefix. | 204 | ** New input methods 'hawaiian-postfix' and 'hawaiian-prefix'. |
| 205 | 205 | ||
| 206 | +++ | 206 | +++ |
| 207 | ** New function 'exec-path'. | 207 | ** New function 'exec-path'. |
| @@ -268,7 +268,7 @@ tables which do not have any non-system abbrevs to save. | |||
| 268 | +++ | 268 | +++ |
| 269 | ** The new functions and commands 'text-property-search-forward' and | 269 | ** The new functions and commands 'text-property-search-forward' and |
| 270 | 'text-property-search-backward' have been added. These provide an | 270 | 'text-property-search-backward' have been added. These provide an |
| 271 | interface that's more like functions like @code{search-forward}. | 271 | interface that's more like functions like 'search-forward'. |
| 272 | 272 | ||
| 273 | --- | 273 | --- |
| 274 | ** More commands support noncontiguous rectangular regions, namely | 274 | ** More commands support noncontiguous rectangular regions, namely |
| @@ -282,10 +282,10 @@ file literally, as in 'find-file-literally', which speeds up | |||
| 282 | navigation and editing of large files. | 282 | navigation and editing of large files. |
| 283 | 283 | ||
| 284 | --- | 284 | --- |
| 285 | ** add-dir-local-variable now uses dotted pair notation syntax | 285 | ** 'add-dir-local-variable' now uses dotted pair notation syntax to |
| 286 | to write alists of variables to .dir-locals.el. This is the same | 286 | write alists of variables to ".dir-locals.el". This is the same |
| 287 | syntax that you can see in the example of a .dir-locals.el file | 287 | syntax that you can see in the example of a ".dir-locals.el" file in |
| 288 | in (info "(emacs) Directory Variables") | 288 | the node "(emacs) Directory Variables" of the user manual. |
| 289 | 289 | ||
| 290 | 290 | ||
| 291 | * Changes in Specialized Modes and Packages in Emacs 27.1 | 291 | * Changes in Specialized Modes and Packages in Emacs 27.1 |
| @@ -639,8 +639,8 @@ and case-sensitivity together with search strings in the search ring. | |||
| 639 | +++ | 639 | +++ |
| 640 | *** The Lisp Debugger is now based on 'backtrace-mode'. | 640 | *** The Lisp Debugger is now based on 'backtrace-mode'. |
| 641 | Backtrace mode adds fontification and commands for changing the | 641 | Backtrace mode adds fontification and commands for changing the |
| 642 | appearance of backtrace frames. See the node "Backtraces" in the Elisp | 642 | appearance of backtrace frames. See the node "(elisp) Backtraces" in |
| 643 | manual for documentation of the new mode and its commands. | 643 | the Elisp manual for documentation of the new mode and its commands. |
| 644 | 644 | ||
| 645 | ** Edebug | 645 | ** Edebug |
| 646 | 646 | ||
| @@ -654,8 +654,8 @@ globally or for individual definitions. | |||
| 654 | +++ | 654 | +++ |
| 655 | *** Edebug's backtrace buffer now uses 'backtrace-mode'. | 655 | *** Edebug's backtrace buffer now uses 'backtrace-mode'. |
| 656 | Backtrace mode adds fontification, links and commands for changing the | 656 | Backtrace mode adds fontification, links and commands for changing the |
| 657 | appearance of backtrace frames. See the node "Backtraces" in the Elisp | 657 | appearance of backtrace frames. See the node "(elisp) Backtraces" in |
| 658 | manual for documentation of the new mode and its commands. | 658 | the Elisp manual for documentation of the new mode and its commands. |
| 659 | 659 | ||
| 660 | The binding of 'd' in Edebug's keymap is now 'edebug-pop-to-backtrace' | 660 | The binding of 'd' in Edebug's keymap is now 'edebug-pop-to-backtrace' |
| 661 | which replaces 'edebug-backtrace'. Consequently Edebug's backtrace | 661 | which replaces 'edebug-backtrace'. Consequently Edebug's backtrace |
| @@ -691,8 +691,8 @@ less verbose by removing non-essential information. | |||
| 691 | +++ | 691 | +++ |
| 692 | *** ERT's backtrace buffer now uses 'backtrace-mode'. | 692 | *** ERT's backtrace buffer now uses 'backtrace-mode'. |
| 693 | Backtrace mode adds fontification and commands for changing the | 693 | Backtrace mode adds fontification and commands for changing the |
| 694 | appearance of backtrace frames. See the node "Backtraces" in the Elisp | 694 | appearance of backtrace frames. See the node "(elisp) Backtraces" in |
| 695 | manual for documentation of the new mode and its commands. | 695 | the Elisp manual for documentation of the new mode and its commands. |
| 696 | 696 | ||
| 697 | ** Gamegrid | 697 | ** Gamegrid |
| 698 | 698 | ||
| @@ -729,7 +729,7 @@ It can be used to set any buffer as the next one to be used by | |||
| 729 | 729 | ||
| 730 | --- | 730 | --- |
| 731 | *** The default value of 'nxml-sexp-element-flag' is now t. | 731 | *** The default value of 'nxml-sexp-element-flag' is now t. |
| 732 | This means that pressing C-M-SPACE now selects the entire tree by | 732 | This means that pressing 'C-M-SPACE' now selects the entire tree by |
| 733 | default, and not just the opening element. | 733 | default, and not just the opening element. |
| 734 | 734 | ||
| 735 | ** Eshell | 735 | ** Eshell |
| @@ -745,8 +745,8 @@ To restore the old behavior, use | |||
| 745 | *** The function 'eshell-uniquify-list' has been renamed from | 745 | *** The function 'eshell-uniquify-list' has been renamed from |
| 746 | 'eshell-uniqify-list'. | 746 | 'eshell-uniqify-list'. |
| 747 | 747 | ||
| 748 | *** The function eshell/kill is now able to handle signal switches. | 748 | *** The function 'eshell/kill' is now able to handle signal switches. |
| 749 | Previously eshell/kill would fail if provided a kill signal to send to the | 749 | Previously 'eshell/kill' would fail if provided a kill signal to send to the |
| 750 | process. It now accepts signals specified either by name or by its number. | 750 | process. It now accepts signals specified either by name or by its number. |
| 751 | 751 | ||
| 752 | ** Shell | 752 | ** Shell |
| @@ -761,7 +761,7 @@ process. It now accepts signals specified either by name or by its number. | |||
| 761 | ** Auth-source | 761 | ** Auth-source |
| 762 | 762 | ||
| 763 | --- | 763 | --- |
| 764 | *** The Secret Service backend supports the :create key now. | 764 | *** The Secret Service backend supports the ':create' key now. |
| 765 | 765 | ||
| 766 | ** Tramp | 766 | ** Tramp |
| 767 | 767 | ||
| @@ -779,7 +779,7 @@ are obsoleted in GVFS. | |||
| 779 | +++ | 779 | +++ |
| 780 | *** During user and host name completion in the minibuffer, results | 780 | *** During user and host name completion in the minibuffer, results |
| 781 | from auth-source search are taken into account. This can be disabled | 781 | from auth-source search are taken into account. This can be disabled |
| 782 | by setting user option 'tramp-completion-use-auth-sources' to nil. | 782 | by setting the user option 'tramp-completion-use-auth-sources' to nil. |
| 783 | 783 | ||
| 784 | +++ | 784 | +++ |
| 785 | *** The user option 'tramp-ignored-file-name-regexp' allows to disable | 785 | *** The user option 'tramp-ignored-file-name-regexp' allows to disable |
| @@ -880,36 +880,36 @@ backtrace with 'b'. | |||
| 880 | 880 | ||
| 881 | --- | 881 | --- |
| 882 | ** thingatpt.el supports a new "thing" called 'uuid'. | 882 | ** thingatpt.el supports a new "thing" called 'uuid'. |
| 883 | A symbol 'uuid' can be passed to thing-at-point and it returns the | 883 | A symbol 'uuid' can be passed to 'thing-at-point' and it returns the |
| 884 | UUID at point. | 884 | UUID at point. |
| 885 | 885 | ||
| 886 | |||
| 887 | ** Interactive automatic highlighting | 886 | ** Interactive automatic highlighting |
| 887 | |||
| 888 | +++ | 888 | +++ |
| 889 | *** 'highlight-regexp' can now highlight subexpressions. | 889 | *** 'highlight-regexp' can now highlight subexpressions. |
| 890 | The now command accepts a prefix numeric argument to choose the | 890 | The new command accepts a prefix numeric argument to choose the |
| 891 | subexpression. | 891 | subexpression. |
| 892 | 892 | ||
| 893 | ** Mouse display of minor mode menu | 893 | ** Mouse display of minor mode menu |
| 894 | 894 | ||
| 895 | --- | 895 | --- |
| 896 | *** 'minor-mode-menu-from-indicator' now display full minor mode name. | 896 | *** 'minor-mode-menu-from-indicator' now displays full minor mode name. |
| 897 | When there is no menu for a mode, display the mode name after the | 897 | When there is no menu for a mode, display the mode name after the |
| 898 | indicator instead of just the indicator (which is sometimes cryptic). | 898 | indicator instead of just the indicator (which is sometimes cryptic). |
| 899 | 899 | ||
| 900 | 900 | ||
| 901 | * New Modes and Packages in Emacs 27.1 | 901 | * New Modes and Packages in Emacs 27.1 |
| 902 | 902 | ||
| 903 | ** multifile.el lets one setup multifile operations like search&replace | 903 | ** multifile.el lets one setup multifile operations like search&replace. |
| 904 | 904 | ||
| 905 | +++ | 905 | +++ |
| 906 | ** Emacs can now visit files in archives as if they were directories. | 906 | ** Emacs can now visit files in archives as if they were directories. |
| 907 | This feature uses Tramp and works only on systems which support GVFS, | 907 | This feature uses Tramp and works only on systems which support GVFS, |
| 908 | i.e. GNU/Linux, roughly spoken. See the chapter "(tramp) Archive file | 908 | i.e. GNU/Linux, roughly spoken. See the node "(tramp) Archive file |
| 909 | names" in the Tramp manual for full documentation of these facilities. | 909 | names" in the Tramp manual for full documentation of these facilities. |
| 910 | 910 | ||
| 911 | +++ | 911 | +++ |
| 912 | ** New library for writing JSONRPC applications (https://jsonrpc.org) | 912 | ** New library for writing JSONRPC applications (https://jsonrpc.org). |
| 913 | The 'jsonrpc' library enables writing Emacs Lisp applications that | 913 | The 'jsonrpc' library enables writing Emacs Lisp applications that |
| 914 | rely on this protocol. Since the protocol is designed to be | 914 | rely on this protocol. Since the protocol is designed to be |
| 915 | transport-agnostic, the library provides an API to implement new | 915 | transport-agnostic, the library provides an API to implement new |
| @@ -921,19 +921,19 @@ used by the Language Server Protocol (LSP), is readily available. | |||
| 921 | ** Backtrace mode improves viewing of Elisp backtraces. | 921 | ** Backtrace mode improves viewing of Elisp backtraces. |
| 922 | Backtrace mode adds pretty printing, fontification and ellipsis | 922 | Backtrace mode adds pretty printing, fontification and ellipsis |
| 923 | expansion to backtrace buffers produced by the Lisp debugger, Edebug | 923 | expansion to backtrace buffers produced by the Lisp debugger, Edebug |
| 924 | and ERT. See the node "Backtraces" in the Elisp manual for | 924 | and ERT. See the node "(elisp) Backtraces" in the Elisp manual for |
| 925 | documentation of the new mode and its commands. | 925 | documentation of the new mode and its commands. |
| 926 | 926 | ||
| 927 | 927 | ||
| 928 | * Incompatible Lisp Changes in Emacs 27.1 | 928 | * Incompatible Lisp Changes in Emacs 27.1 |
| 929 | 929 | ||
| 930 | ** define-fringe-bitmap is always defined, even when Emacs is built | 930 | ** 'define-fringe-bitmap' is always defined, even when Emacs is built |
| 931 | without any GUI support. | 931 | without any GUI support. |
| 932 | 932 | ||
| 933 | --- | 933 | --- |
| 934 | ** Just loading a theme's file no longer activates the theme's settings. | 934 | ** Just loading a theme's file no longer activates the theme's settings. |
| 935 | Loading a theme with 'M-x load-theme' still activates the theme, as it | 935 | Loading a theme with 'M-x load-theme' still activates the theme, as it |
| 936 | did before. However, loading the theme's file with "M-x load-file", | 936 | did before. However, loading the theme's file with 'M-x load-file', |
| 937 | or using 'require' or 'load' in a Lisp program, doesn't actually apply | 937 | or using 'require' or 'load' in a Lisp program, doesn't actually apply |
| 938 | the theme's settings until you either invoke 'M-x enable-theme' or | 938 | the theme's settings until you either invoke 'M-x enable-theme' or |
| 939 | type 'M-x load-theme'. (In a Lisp program, calling 'enable-theme' or | 939 | type 'M-x load-theme'. (In a Lisp program, calling 'enable-theme' or |
| @@ -946,7 +946,7 @@ default applied immediately. | |||
| 946 | The variable 'custom--inhibit-theme-enable' controls this behavior; | 946 | The variable 'custom--inhibit-theme-enable' controls this behavior; |
| 947 | its default value changed in Emacs 27.1. | 947 | its default value changed in Emacs 27.1. |
| 948 | 948 | ||
| 949 | ** The 'repetitions' argument of 'benchmark-run' can now also be a variable. | 949 | ** The REPETITIONS argument of 'benchmark-run' can now also be a variable. |
| 950 | 950 | ||
| 951 | ** The FILENAME argument to 'file-name-base' is now mandatory and no | 951 | ** The FILENAME argument to 'file-name-base' is now mandatory and no |
| 952 | longer defaults to 'buffer-file-name'. | 952 | longer defaults to 'buffer-file-name'. |
| @@ -1011,7 +1011,7 @@ default-directory-alist, dired-default-directory, | |||
| 1011 | dired-default-directory-alist, dired-enable-local-variables, | 1011 | dired-default-directory-alist, dired-enable-local-variables, |
| 1012 | dired-hack-local-variables, dired-local-variables-file, dired-omit-here-always. | 1012 | dired-hack-local-variables, dired-local-variables-file, dired-omit-here-always. |
| 1013 | 1013 | ||
| 1014 | ** garbage collection no longer treats miscellaneous objects specially; | 1014 | ** Garbage collection no longer treats miscellaneous objects specially; |
| 1015 | they are now allocated like any other pseudovector. As a result, the | 1015 | they are now allocated like any other pseudovector. As a result, the |
| 1016 | 'garbage-collect' and 'memory-use-count' functions no longer return a | 1016 | 'garbage-collect' and 'memory-use-count' functions no longer return a |
| 1017 | 'misc' component, and the 'misc-objects-consed' variable has been | 1017 | 'misc' component, and the 'misc-objects-consed' variable has been |
| @@ -1020,7 +1020,7 @@ removed. | |||
| 1020 | 1020 | ||
| 1021 | * Lisp Changes in Emacs 27.1 | 1021 | * Lisp Changes in Emacs 27.1 |
| 1022 | 1022 | ||
| 1023 | ** lookup-key can take a list of keymaps as argument. | 1023 | ** 'lookup-key' can take a list of keymaps as argument. |
| 1024 | 1024 | ||
| 1025 | +++ | 1025 | +++ |
| 1026 | ** 'condition-case' now accepts 't' to match any error symbol. | 1026 | ** 'condition-case' now accepts 't' to match any error symbol. |
| @@ -1054,23 +1054,24 @@ overflow error if this limit is exceeded. | |||
| 1054 | Several primitive functions formerly returned floats or lists of | 1054 | Several primitive functions formerly returned floats or lists of |
| 1055 | integers to represent integers that did not fit into fixnums. These | 1055 | integers to represent integers that did not fit into fixnums. These |
| 1056 | functions now simply return integers instead. Affected functions | 1056 | functions now simply return integers instead. Affected functions |
| 1057 | include functions like encode-char that compute code-points, functions | 1057 | include functions like 'encode-char' that compute code-points, functions |
| 1058 | like file-attributes that compute file sizes and other attributes, | 1058 | like 'file-attributes' that compute file sizes and other attributes, |
| 1059 | functions like process-id that compute process IDs, and functions like | 1059 | functions like 'process-id' that compute process IDs, and functions like |
| 1060 | user-uid and group-gid that compute user and group IDs. | 1060 | 'user-uid' and 'group-gid' that compute user and group IDs. |
| 1061 | 1061 | ||
| 1062 | +++ | 1062 | +++ |
| 1063 | ** Although the default timestamp format is still (HI LO US PS), | 1063 | ** Although the default timestamp format is still (HI LO US PS), |
| 1064 | it is planned to change in a future Emacs version, to exploit bignums. | 1064 | it is planned to change in a future Emacs version, to exploit bignums. |
| 1065 | The documentation has been updated to mention that the timestamp | 1065 | The documentation has been updated to mention that the timestamp |
| 1066 | format may change and that programs should use functions like | 1066 | format may change and that programs should use functions like |
| 1067 | format-time-string, decode-time, and encode-time rather than probing | 1067 | 'format-time-string', 'decode-time', and 'encode-time' rather than |
| 1068 | the innards of a timestamp directly, or creating a timestamp by hand. | 1068 | probing the innards of a timestamp directly, or creating a timestamp |
| 1069 | by hand. | ||
| 1069 | 1070 | ||
| 1070 | +++ | 1071 | +++ |
| 1071 | ** encode-time supports a new API (encode-time TIME &optional FORM). | 1072 | ** 'encode-time' supports a new API '(encode-time TIME &optional FORM)'. |
| 1072 | This can convert decoded times and Lisp time values to Lisp timestamps | 1073 | This can convert decoded times and Lisp time values to Lisp timestamps |
| 1073 | of various forms, including a new timestamp form (TICKS . HZ), where | 1074 | of various forms, including a new timestamp form '(TICKS . HZ)', where |
| 1074 | TICKS is an integer and HZ is a positive integer denoting a clock | 1075 | TICKS is an integer and HZ is a positive integer denoting a clock |
| 1075 | frequency. The old encode-time API is still supported. | 1076 | frequency. The old encode-time API is still supported. |
| 1076 | 1077 | ||
| @@ -1082,7 +1083,7 @@ floating-point operators do. | |||
| 1082 | +++ | 1083 | +++ |
| 1083 | ** New function 'time-equal-p' compares time values for equality. | 1084 | ** New function 'time-equal-p' compares time values for equality. |
| 1084 | 1085 | ||
| 1085 | ** define-minor-mode automatically documents the meaning of ARG. | 1086 | ** 'define-minor-mode' automatically documents the meaning of ARG. |
| 1086 | 1087 | ||
| 1087 | +++ | 1088 | +++ |
| 1088 | ** The function 'recenter' now accepts an additional optional argument. | 1089 | ** The function 'recenter' now accepts an additional optional argument. |
| @@ -1125,8 +1126,8 @@ On terminal emulators that support the feature, Emacs can now support | |||
| 1125 | ** Window-specific face remapping. | 1126 | ** Window-specific face remapping. |
| 1126 | Face specifications (of the kind used in 'face-remapping-alist') | 1127 | Face specifications (of the kind used in 'face-remapping-alist') |
| 1127 | now support filters, allowing faces to vary between different windows | 1128 | now support filters, allowing faces to vary between different windows |
| 1128 | displaying the same buffer. See the Info node "Face Remapping" of the | 1129 | displaying the same buffer. See the node "(elisp) Face Remapping" |
| 1129 | Emacs Lisp Reference manual for more detail. | 1130 | of the Emacs Lisp Reference manual for more detail. |
| 1130 | 1131 | ||
| 1131 | +++ | 1132 | +++ |
| 1132 | ** Special handling of buffer-local 'window-size-change-functions'. | 1133 | ** Special handling of buffer-local 'window-size-change-functions'. |
| @@ -1134,23 +1135,23 @@ A buffer-local value of this hook is now run only if at least one | |||
| 1134 | window showing the buffer has changed its size. | 1135 | window showing the buffer has changed its size. |
| 1135 | 1136 | ||
| 1136 | +++ | 1137 | +++ |
| 1137 | ** The function assoc-delete-all now takes an optional predicate argument. | 1138 | ** The function 'assoc-delete-all' now takes an optional predicate argument. |
| 1138 | 1139 | ||
| 1139 | +++ | 1140 | +++ |
| 1140 | ** New function 'string-distance' to calculate the Levenshtein distance | 1141 | ** New function 'string-distance' to calculate the Levenshtein distance |
| 1141 | between two strings. | 1142 | between two strings. |
| 1142 | 1143 | ||
| 1143 | ** 'print-quoted' now defaults to t, so if you want to see | 1144 | ** 'print-quoted' now defaults to t, so if you want to see |
| 1144 | (quote x) instead of 'x you will have to bind it to nil where applicable. | 1145 | '(quote x)' instead of 'x you will have to bind it to nil where applicable. |
| 1145 | 1146 | ||
| 1146 | +++ | 1147 | +++ |
| 1147 | ** Numbers formatted via %o or %x may now be formatted as signed integers. | 1148 | ** Numbers formatted via '%o' or '%x' may now be formatted as signed integers. |
| 1148 | This avoids problems in calls like (read (format "#x%x" -1)), and is | 1149 | This avoids problems in calls like '(read (format "#x%x" -1))', and is |
| 1149 | more compatible with bignums, a planned feature. To get this | 1150 | more compatible with bignums, a planned feature. To get this |
| 1150 | behavior, set the experimental variable binary-as-unsigned to nil, | 1151 | behavior, set the experimental variable 'binary-as-unsigned' to nil, |
| 1151 | and if the new behavior breaks your code please email | 1152 | and if the new behavior breaks your code please email |
| 1152 | 32252@debbugs.gnu.org. Because %o and %x can now format signed | 1153 | 32252@debbugs.gnu.org. Because '%o' and '%x' can now format signed |
| 1153 | integers, they now support the + and space flags. | 1154 | integers, they now support the '+' and space flags. |
| 1154 | 1155 | ||
| 1155 | ** To avoid confusion caused by "smart quotes", the reader signals an | 1156 | ** To avoid confusion caused by "smart quotes", the reader signals an |
| 1156 | error when reading Lisp symbols which begin with one of the following | 1157 | error when reading Lisp symbols which begin with one of the following |
| @@ -1163,7 +1164,7 @@ backslash. For example: | |||
| 1163 | 1164 | ||
| 1164 | +++ | 1165 | +++ |
| 1165 | ** Omitting variables after '&optional' and '&rest' is now allowed. | 1166 | ** Omitting variables after '&optional' and '&rest' is now allowed. |
| 1166 | For example (defun foo (&optional)) is no longer an error. This is | 1167 | For example '(defun foo (&optional))' is no longer an error. This is |
| 1167 | sometimes convenient when writing macros. See the ChangeLog entry | 1168 | sometimes convenient when writing macros. See the ChangeLog entry |
| 1168 | titled "Allow '&rest' or '&optional' without following variable | 1169 | titled "Allow '&rest' or '&optional' without following variable |
| 1169 | (Bug#29165)" for a full listing of which arglists are accepted across | 1170 | (Bug#29165)" for a full listing of which arglists are accepted across |
| @@ -1172,8 +1173,8 @@ versions. | |||
| 1172 | ** Internal parsing commands now use 'syntax-ppss' and disregard | 1173 | ** Internal parsing commands now use 'syntax-ppss' and disregard |
| 1173 | 'open-paren-in-column-0-is-defun-start'. This affects mostly things like | 1174 | 'open-paren-in-column-0-is-defun-start'. This affects mostly things like |
| 1174 | 'forward-comment', 'scan-sexps', and 'forward-sexp' when parsing backward. | 1175 | 'forward-comment', 'scan-sexps', and 'forward-sexp' when parsing backward. |
| 1175 | The new variable 'comment-use-syntax-ppss' can be set to nil to recover the old | 1176 | The new variable 'comment-use-syntax-ppss' can be set to nil to recover |
| 1176 | behavior if needed. | 1177 | the old behavior if needed. |
| 1177 | 1178 | ||
| 1178 | ** The 'server-name' and 'server-socket-dir' variables are set when a | 1179 | ** The 'server-name' and 'server-socket-dir' variables are set when a |
| 1179 | socket has been passed to Emacs. | 1180 | socket has been passed to Emacs. |
| @@ -1183,6 +1184,10 @@ socket has been passed to Emacs. | |||
| 1183 | instead of just Microsoft platforms. This fixes a 'get-free-disk-space' | 1184 | instead of just Microsoft platforms. This fixes a 'get-free-disk-space' |
| 1184 | bug on OS X 10.8 and later. | 1185 | bug on OS X 10.8 and later. |
| 1185 | 1186 | ||
| 1187 | --- | ||
| 1188 | ** The function 'get-free-disk-space' returns now a non-nil value for | ||
| 1189 | remote systems, which support this check. | ||
| 1190 | |||
| 1186 | +++ | 1191 | +++ |
| 1187 | ** 'memory-limit' now returns a better estimate of memory consumption. | 1192 | ** 'memory-limit' now returns a better estimate of memory consumption. |
| 1188 | 1193 | ||
| @@ -1193,18 +1198,14 @@ each around a sequence of lisp forms, given a region. This is | |||
| 1193 | useful when a function makes a possibly large number of repetitive | 1198 | useful when a function makes a possibly large number of repetitive |
| 1194 | changes and the change hooks are time consuming. | 1199 | changes and the change hooks are time consuming. |
| 1195 | 1200 | ||
| 1196 | --- | ||
| 1197 | ** The function 'get-free-disk-space' returns now a non-nil value for | ||
| 1198 | remote systems, which support this check. | ||
| 1199 | |||
| 1200 | +++ | 1201 | +++ |
| 1201 | ** 'eql', 'make-hash-table', etc. now treat NaNs consistently. | 1202 | ** 'eql', 'make-hash-table', etc. now treat NaNs consistently. |
| 1202 | Formerly, some of these functions ignored signs and significands of | 1203 | Formerly, some of these functions ignored signs and significands of |
| 1203 | NaNs. Now, all these functions treat NaN signs and significands as | 1204 | NaNs. Now, all these functions treat NaN signs and significands as |
| 1204 | significant. For example, (eql 0.0e+NaN -0.0e+NaN) now returns nil | 1205 | significant. For example, '(eql 0.0e+NaN -0.0e+NaN)' now returns nil |
| 1205 | because the two NaNs have different signs; formerly it returned t. | 1206 | because the two NaNs have different signs; formerly it returned t. |
| 1206 | Also, Emacs now reads and prints NaN significands; e.g., if X is a | 1207 | Also, Emacs now reads and prints NaN significands; e.g., if X is a |
| 1207 | NaN, (format "%s" X) now returns "0.0e+NaN", "1.0e+NaN", etc., | 1208 | NaN, '(format "%s" X)' now returns "0.0e+NaN", "1.0e+NaN", etc., |
| 1208 | depending on X's significand. | 1209 | depending on X's significand. |
| 1209 | 1210 | ||
| 1210 | +++ | 1211 | +++ |
| @@ -1212,14 +1213,14 @@ depending on X's significand. | |||
| 1212 | If the optional third argument is non-nil, 'make-string' will produce | 1213 | If the optional third argument is non-nil, 'make-string' will produce |
| 1213 | a multibyte string even if its second argument is an ASCII character. | 1214 | a multibyte string even if its second argument is an ASCII character. |
| 1214 | 1215 | ||
| 1215 | ** (format "%d" X) no longer mishandles a floating-point number X that | 1216 | ** '(format "%d" X)' no longer mishandles a floating-point number X that |
| 1216 | does not fit in a machine integer. | 1217 | does not fit in a machine integer. |
| 1217 | 1218 | ||
| 1218 | +++ | 1219 | +++ |
| 1219 | ** In the DST slot, encode-time and parse-time-string now return -1 | 1220 | ** In the DST slot, 'encode-time' and 'parse-time-string' now return -1 |
| 1220 | if it is not known whether daylight saving time is in effect. | 1221 | if it is not known whether daylight saving time is in effect. |
| 1221 | Formerly they were inconsistent: encode-time returned t in this | 1222 | Formerly they were inconsistent: 'encode-time' returned t in this |
| 1222 | situation, whereas parse-time-string returned nil. Now they | 1223 | situation, whereas 'parse-time-string' returned nil. Now they |
| 1223 | consistently use use nil to mean that DST is not in effect, and use -1 | 1224 | consistently use use nil to mean that DST is not in effect, and use -1 |
| 1224 | to mean that it is not known whether DST is in effect. | 1225 | to mean that it is not known whether DST is in effect. |
| 1225 | 1226 | ||
| @@ -1240,23 +1241,23 @@ file name extensions. | |||
| 1240 | 1241 | ||
| 1241 | *** The default way the list of possible external viewers for MIME | 1242 | *** The default way the list of possible external viewers for MIME |
| 1242 | types is sorted and chosen has changed. Earlier, the most specific | 1243 | types is sorted and chosen has changed. Earlier, the most specific |
| 1243 | viewer was chosen, even if there was a general override in ~/.mailcap. | 1244 | viewer was chosen, even if there was a general override in "~/.mailcap". |
| 1244 | For instance, if /etc/mailcap has an entry for image/gif, that one | 1245 | For instance, if "/etc/mailcap" has an entry for "image/gif", that one |
| 1245 | will be chosen even if you have an entry for image/* in your | 1246 | will be chosen even if you have an entry for "image/*" in your |
| 1246 | ~/.mailcap file. But with the new method, entries from ~/.mailcap | 1247 | "~/.mailcap" file. But with the new method, entries from "~/.mailcap" |
| 1247 | overrides all system and Emacs-provided defaults. To get the old | 1248 | overrides all system and Emacs-provided defaults. To get the old |
| 1248 | method back, set 'mailcap-prefer-mailcap-viewers' to nil. | 1249 | method back, set 'mailcap-prefer-mailcap-viewers' to nil. |
| 1249 | 1250 | ||
| 1250 | ** URL | 1251 | ** URL |
| 1251 | 1252 | ||
| 1252 | *** The file: handler no longer looks for index.html in directories if | 1253 | *** The 'file:' handler no longer looks for "index.html" in |
| 1253 | you ask it for a file:///dir URL. Since this is a low-level library, | 1254 | directories if you ask it for a "file:///dir" URL. Since this is a |
| 1254 | such decisions (if they are to be made at all) are left to | 1255 | low-level library, such decisions (if they are to be made at all) are |
| 1255 | higher-level functions. | 1256 | left to higher-level functions. |
| 1256 | 1257 | ||
| 1257 | ** image-mode | 1258 | ** Image mode |
| 1258 | 1259 | ||
| 1259 | *** image-mode started using ImageMagick by default for all images | 1260 | *** 'image-mode' started using ImageMagick by default for all images |
| 1260 | some years back. It now respects 'imagemagick-types-inhibit' as a way | 1261 | some years back. It now respects 'imagemagick-types-inhibit' as a way |
| 1261 | to disable that. | 1262 | to disable that. |
| 1262 | 1263 | ||