diff options
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 71 |
1 files changed, 53 insertions, 18 deletions
| @@ -385,6 +385,10 @@ longer choke when a buffer on display contains long lines. The | |||
| 385 | variable 'long-line-threshold' controls whether and when these display | 385 | variable 'long-line-threshold' controls whether and when these display |
| 386 | optimizations are in effect. | 386 | optimizations are in effect. |
| 387 | 387 | ||
| 388 | A companion variable 'large-hscroll-threshold' controls when another | ||
| 389 | set of display optimizations are in effect, which are aimed | ||
| 390 | specifically at speeding up display of long lines that are truncated. | ||
| 391 | |||
| 388 | If you still experience slowdowns while editing files with long lines, | 392 | If you still experience slowdowns while editing files with long lines, |
| 389 | this may be due to line truncation, or to one of the enabled minor | 393 | this may be due to line truncation, or to one of the enabled minor |
| 390 | modes, or to the current major mode. Try turning off line truncation | 394 | modes, or to the current major mode. Try turning off line truncation |
| @@ -396,6 +400,9 @@ and the major mode with 'M-x so-long-mode', or visit the file with | |||
| 396 | Note that the display optimizations in these cases may cause the | 400 | Note that the display optimizations in these cases may cause the |
| 397 | buffer to be occasionally mis-fontified. | 401 | buffer to be occasionally mis-fontified. |
| 398 | 402 | ||
| 403 | The new function 'long-line-optimizations-p' returns non-nil when | ||
| 404 | these optimizations are in effect in the current buffer. | ||
| 405 | |||
| 399 | +++ | 406 | +++ |
| 400 | ** New command to change the font size globally. | 407 | ** New command to change the font size globally. |
| 401 | To increase the font size, type 'C-x C-M-+' or 'C-x C-M-='; to | 408 | To increase the font size, type 'C-x C-M-+' or 'C-x C-M-='; to |
| @@ -454,7 +461,7 @@ duplicated on its right-hand side. | |||
| 454 | 461 | ||
| 455 | +++ | 462 | +++ |
| 456 | ** 'network-lookup-address-info' can now check numeric IP address validity. | 463 | ** 'network-lookup-address-info' can now check numeric IP address validity. |
| 457 | Specifying 'numeric as the new optional 'hints' argument makes it | 464 | Specifying 'numeric' as the new optional 'hints' argument makes it |
| 458 | check if the passed address is a valid IPv4/IPv6 address (without DNS | 465 | check if the passed address is a valid IPv4/IPv6 address (without DNS |
| 459 | traffic). | 466 | traffic). |
| 460 | 467 | ||
| @@ -1250,6 +1257,12 @@ be used as a file-local variable. | |||
| 1250 | If given a prefix, it will query the user for an argument to use for | 1257 | If given a prefix, it will query the user for an argument to use for |
| 1251 | the run/continue command. | 1258 | the run/continue command. |
| 1252 | 1259 | ||
| 1260 | --- | ||
| 1261 | *** 'perldb' now recognizes '-E'. | ||
| 1262 | As of Perl 5.10, 'perl -E 0' behaves like 'perl -e 0' but also activates | ||
| 1263 | all optional features of the Perl version in use. 'perldb' now uses | ||
| 1264 | this invocation as its default. | ||
| 1265 | |||
| 1253 | ** Customize | 1266 | ** Customize |
| 1254 | 1267 | ||
| 1255 | --- | 1268 | --- |
| @@ -1265,7 +1278,6 @@ Sets the value of the buffer-local variable 'whitespace-style' in | |||
| 1265 | 'diff-mode' buffers. By default, this variable is '(face trailing)', | 1278 | 'diff-mode' buffers. By default, this variable is '(face trailing)', |
| 1266 | which preserves behavior from previous Emacs versions. | 1279 | which preserves behavior from previous Emacs versions. |
| 1267 | 1280 | ||
| 1268 | |||
| 1269 | ** Ispell | 1281 | ** Ispell |
| 1270 | 1282 | ||
| 1271 | --- | 1283 | --- |
| @@ -1339,6 +1351,13 @@ When invoked with a non-zero prefix argument, as in 'C-u C-x C-e', | |||
| 1339 | this command will pop up a new buffer and show the full pretty-printed | 1351 | this command will pop up a new buffer and show the full pretty-printed |
| 1340 | value there. | 1352 | value there. |
| 1341 | 1353 | ||
| 1354 | +++ | ||
| 1355 | *** You can now generate a backtrace from Lisp errors in redisplay. | ||
| 1356 | To do this, set the new variable 'backtrace-on-redisplay-error' to a | ||
| 1357 | non-nil value. The backtrace will be written to a special buffer | ||
| 1358 | named "*Redisplay-trace*". This buffer will not be automatically | ||
| 1359 | displayed in a window. | ||
| 1360 | |||
| 1342 | ** Compile | 1361 | ** Compile |
| 1343 | 1362 | ||
| 1344 | +++ | 1363 | +++ |
| @@ -1741,11 +1760,6 @@ The new ':doc-spec-function' element can be used to compute the | |||
| 1741 | ':doc-spec' element when the user asks for info on that particular | 1760 | ':doc-spec' element when the user asks for info on that particular |
| 1742 | mode (instead of at load time). | 1761 | mode (instead of at load time). |
| 1743 | 1762 | ||
| 1744 | ** Subr-x | ||
| 1745 | |||
| 1746 | +++ | ||
| 1747 | *** New macro 'with-memoization' provides a very primitive form of memoization. | ||
| 1748 | |||
| 1749 | ** Ansi-color | 1763 | ** Ansi-color |
| 1750 | 1764 | ||
| 1751 | --- | 1765 | --- |
| @@ -2035,7 +2049,7 @@ This command displays a buffer containing the page load history of | |||
| 2035 | the current WebKit widget, and allows you to navigate it. | 2049 | the current WebKit widget, and allows you to navigate it. |
| 2036 | 2050 | ||
| 2037 | --- | 2051 | --- |
| 2038 | *** On X11, the WebKit inspector is now available inside xwidgets. | 2052 | *** On X, the WebKit inspector is now available inside xwidgets. |
| 2039 | To access the inspector, right click on the widget and select "Inspect | 2053 | To access the inspector, right click on the widget and select "Inspect |
| 2040 | Element". | 2054 | Element". |
| 2041 | 2055 | ||
| @@ -2149,6 +2163,13 @@ Additionally, globs ending with '**/' or '***/' no longer raise an | |||
| 2149 | error, and now expand to all directories recursively (following | 2163 | error, and now expand to all directories recursively (following |
| 2150 | symlinks in the latter case). | 2164 | symlinks in the latter case). |
| 2151 | 2165 | ||
| 2166 | +++ | ||
| 2167 | *** Lisp forms in Eshell now treat a 'nil' result as a failed exit status. | ||
| 2168 | When executing a command that looks like '(lisp form)', Eshell will | ||
| 2169 | set the exit status (available in the '$?' variable) to 2. This | ||
| 2170 | allows commands like that to be used as conditionals. To change this | ||
| 2171 | behavior, customize the new 'eshell-lisp-form-nil-is-failure' option. | ||
| 2172 | |||
| 2152 | ** Shell | 2173 | ** Shell |
| 2153 | 2174 | ||
| 2154 | --- | 2175 | --- |
| @@ -2229,10 +2250,10 @@ instead of also trying to ping it. Customize the user option | |||
| 2229 | To respect Emacs naming conventions, the variable 'unread-bib-file' | 2250 | To respect Emacs naming conventions, the variable 'unread-bib-file' |
| 2230 | has been renamed to 'bib-unread-file'. The following commands have | 2251 | has been renamed to 'bib-unread-file'. The following commands have |
| 2231 | also been renamed: | 2252 | also been renamed: |
| 2232 | 'addbib' to 'bib-add' | 2253 | 'addbib' to 'bib-add' |
| 2233 | 'return-key-bib' to 'bib-return-key' | 2254 | 'return-key-bib' to 'bib-return-key' |
| 2234 | 'mark-bib' to 'bib-mark' | 2255 | 'mark-bib' to 'bib-mark' |
| 2235 | 'unread-bib' to 'bib-unread' | 2256 | 'unread-bib' to 'bib-unread' |
| 2236 | 2257 | ||
| 2237 | --- | 2258 | --- |
| 2238 | *** proced.el shows system processes of remote hosts. | 2259 | *** proced.el shows system processes of remote hosts. |
| @@ -2551,6 +2572,18 @@ patcomp.el, pc-mode.el, pc-select.el, s-region.el, and sregex.el. | |||
| 2551 | * Lisp Changes in Emacs 29.1 | 2572 | * Lisp Changes in Emacs 29.1 |
| 2552 | 2573 | ||
| 2553 | +++ | 2574 | +++ |
| 2575 | ** New function 'compiled-function-p'. | ||
| 2576 | This returns non-nil if its argument is either a built-in, or a | ||
| 2577 | byte-compiled, or a natively-compiled function object, or a function | ||
| 2578 | loaded from a dynamic module. | ||
| 2579 | |||
| 2580 | --- | ||
| 2581 | ** 'deactivate-mark' can have new value 'dont-save'. | ||
| 2582 | This value means that Emacs should deactivate the mark as usual, but | ||
| 2583 | without setting the primary selection, if 'select-active-regions' is | ||
| 2584 | enabled. | ||
| 2585 | |||
| 2586 | +++ | ||
| 2554 | ** New 'declare' form 'interactive-args'. | 2587 | ** New 'declare' form 'interactive-args'. |
| 2555 | This can be used to specify what forms to put into 'command-history' | 2588 | This can be used to specify what forms to put into 'command-history' |
| 2556 | when executing commands interactively. | 2589 | when executing commands interactively. |
| @@ -2562,8 +2595,8 @@ compiler now emits a warning about this deprecated usage. | |||
| 2562 | 2595 | ||
| 2563 | +++ | 2596 | +++ |
| 2564 | ** Emacs now supports user-customizable and themable icons. | 2597 | ** Emacs now supports user-customizable and themable icons. |
| 2565 | These can be used for buttons in buffers and the like. See | 2598 | These can be used for buttons in buffers and the like. See the |
| 2566 | '(elisp)Icons' and '(emacs)Icons' for details. | 2599 | "(elisp) Icons" and "(emacs) Icons" nodes in the manuals for details. |
| 2567 | 2600 | ||
| 2568 | +++ | 2601 | +++ |
| 2569 | ** New arguments MESSAGE and TIMEOUT of 'set-transient-map'. | 2602 | ** New arguments MESSAGE and TIMEOUT of 'set-transient-map'. |
| @@ -2624,11 +2657,13 @@ things to be saved. | |||
| 2624 | ** New function 'string-equal-ignore-case'. | 2657 | ** New function 'string-equal-ignore-case'. |
| 2625 | This compares strings ignoring case differences. | 2658 | This compares strings ignoring case differences. |
| 2626 | 2659 | ||
| 2627 | --- | 2660 | ** 'symbol-file' can now report natively-compiled ".eln" files. |
| 2628 | ** 'symbol-file' can now report natively-compiled .eln files. | ||
| 2629 | If Emacs was built with native-compilation enabled, Lisp programs can | 2661 | If Emacs was built with native-compilation enabled, Lisp programs can |
| 2630 | now call 'symbol-file' with the new optional 3rd argument non-nil to | 2662 | now call 'symbol-file' with the new optional 3rd argument non-nil to |
| 2631 | request the name of the .eln file which defined a given symbol. | 2663 | request the name of the ".eln" file which defined a given symbol. |
| 2664 | |||
| 2665 | +++ | ||
| 2666 | ** New macro 'with-memoization' provides a very primitive form of memoization. | ||
| 2632 | 2667 | ||
| 2633 | ** Themes | 2668 | ** Themes |
| 2634 | 2669 | ||
| @@ -2860,7 +2895,7 @@ This is like 'get-text-property', but works on the 'display' text | |||
| 2860 | property. | 2895 | property. |
| 2861 | 2896 | ||
| 2862 | +++ | 2897 | +++ |
| 2863 | ** New function 'add-text-display-property'. | 2898 | ** New function 'add-display-text-property'. |
| 2864 | This is like 'put-text-property', but works on the 'display' text | 2899 | This is like 'put-text-property', but works on the 'display' text |
| 2865 | property. | 2900 | property. |
| 2866 | 2901 | ||