diff options
| author | Michael Albinus | 2017-10-14 12:52:05 +0200 |
|---|---|---|
| committer | Michael Albinus | 2017-10-14 12:52:05 +0200 |
| commit | def9715282f71953740e8b92cf6443bfc459dd41 (patch) | |
| tree | 39d936cb9bc8dce7c3179903d25f47c8a45daaca | |
| parent | 4e59ecc646e88a7a756f1850d92fd2b8780513eb (diff) | |
| download | emacs-def9715282f71953740e8b92cf6443bfc459dd41.tar.gz emacs-def9715282f71953740e8b92cf6443bfc459dd41.zip | |
; Cleanup of etc/NEWS
| -rw-r--r-- | etc/NEWS | 219 |
1 files changed, 112 insertions, 107 deletions
| @@ -1,6 +1,6 @@ | |||
| 1 | GNU Emacs NEWS -- history of user-visible changes. | 1 | GNU Emacs NEWS -- history of user-visible changes. |
| 2 | 2 | ||
| 3 | Copyright (C) 2014-2017 Free Software Foundation, Inc. | 3 | Copyright (C) 2016-2017 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. |
| @@ -58,7 +58,7 @@ configure option '--disable-libsystemd'. | |||
| 58 | 58 | ||
| 59 | +++ | 59 | +++ |
| 60 | ** A systemd user unit file is provided. Use it in the standard way: | 60 | ** A systemd user unit file is provided. Use it in the standard way: |
| 61 | systemctl --user enable emacs | 61 | 'systemctl --user enable emacs'. |
| 62 | (If your Emacs is installed in a non-standard location, you may | 62 | (If your Emacs is installed in a non-standard location, you may |
| 63 | need to copy the emacs.service file to eg ~/.config/systemd/user/) | 63 | need to copy the emacs.service file to eg ~/.config/systemd/user/) |
| 64 | 64 | ||
| @@ -107,10 +107,10 @@ requirements. The option makes Emacs abort if a module-related | |||
| 107 | assertion triggers. | 107 | assertion triggers. |
| 108 | 108 | ||
| 109 | +++ | 109 | +++ |
| 110 | ** Emacs now supports 24-bit colors on capable text terminals | 110 | ** Emacs now supports 24-bit colors on capable text terminals. |
| 111 | Terminal is automatically initialized to use 24-bit colors if the | 111 | Terminal is automatically initialized to use 24-bit colors if the |
| 112 | required capabilities are found in terminfo. See the FAQ node | 112 | required capabilities are found in terminfo. See the FAQ node |
| 113 | "Colors on a TTY" for more information. | 113 | "(efaq) Colors on a TTY" for more information. |
| 114 | 114 | ||
| 115 | +++ | 115 | +++ |
| 116 | ** Emacs now obeys the X resource "scrollBar" at startup. | 116 | ** Emacs now obeys the X resource "scrollBar" at startup. |
| @@ -121,8 +121,8 @@ The effect is similar to that of "toolBar" resource on the tool bar. | |||
| 121 | 121 | ||
| 122 | +++ | 122 | +++ |
| 123 | ** Option 'buffer-offer-save' can be set to new value, 'always'. When | 123 | ** Option 'buffer-offer-save' can be set to new value, 'always'. When |
| 124 | set to 'always', the command `save-some-buffers' will always offer | 124 | set to 'always', the command 'save-some-buffers' will always offer |
| 125 | this buffer for saving. | 125 | this buffer for saving. |
| 126 | 126 | ||
| 127 | ** Security vulnerability related to Enriched Text mode is removed. | 127 | ** Security vulnerability related to Enriched Text mode is removed. |
| 128 | 128 | ||
| @@ -176,8 +176,8 @@ explicitly yields. Global variables are shared among all threads, but | |||
| 176 | a 'let' binding is thread-local. Each thread also has its own current | 176 | a 'let' binding is thread-local. Each thread also has its own current |
| 177 | buffer and its own match data. | 177 | buffer and its own match data. |
| 178 | 178 | ||
| 179 | See the chapter "Threads" in the ELisp manual for full documentation | 179 | See the chapter "(elisp) Threads" in the ELisp manual for full |
| 180 | of these facilities. | 180 | documentation of these facilities. |
| 181 | 181 | ||
| 182 | +++ | 182 | +++ |
| 183 | ** The new user variable 'electric-quote-chars' provides a list | 183 | ** The new user variable 'electric-quote-chars' provides a list |
| @@ -224,8 +224,9 @@ frame by evaluating this form: | |||
| 224 | (modify-frame-parameters nil '((inhibit-double-buffering . t))) | 224 | (modify-frame-parameters nil '((inhibit-double-buffering . t))) |
| 225 | 225 | ||
| 226 | --- | 226 | --- |
| 227 | The group 'wp', whose label was "text", is now deprecated. | 227 | ** The customization group 'wp', whose label was "text", is now |
| 228 | Use the new group 'text', which inherits from 'wp', instead. | 228 | deprecated. Use the new group 'text', which inherits from 'wp', |
| 229 | instead. | ||
| 229 | 230 | ||
| 230 | +++ | 231 | +++ |
| 231 | ** The new function 'call-shell-region' executes a command in an | 232 | ** The new function 'call-shell-region' executes a command in an |
| @@ -339,13 +340,13 @@ eliminated, and integer strings work everywhere. | |||
| 339 | ** It is possible to disable attempted recovery on fatal signals. | 340 | ** It is possible to disable attempted recovery on fatal signals. |
| 340 | Two new variables support disabling attempts to recover from stack | 341 | Two new variables support disabling attempts to recover from stack |
| 341 | overflow and to avoid automatic auto-save when Emacs is delivered a | 342 | overflow and to avoid automatic auto-save when Emacs is delivered a |
| 342 | fatal signal. 'attempt-stack-overflow-recovery', if set to 'nil', | 343 | fatal signal. 'attempt-stack-overflow-recovery', if set to nil, |
| 343 | will disable attempts to recover from C stack overflows; Emacs will | 344 | will disable attempts to recover from C stack overflows; Emacs will |
| 344 | then crash as with any other fatal signal. | 345 | then crash as with any other fatal signal. |
| 345 | 'attempt-orderly-shutdown-on-fatal-signal', if set to 'nil', will | 346 | 'attempt-orderly-shutdown-on-fatal-signal', if set to nil, will |
| 346 | disable attempts to auto-save the session and shut down in an orderly | 347 | disable attempts to auto-save the session and shut down in an orderly |
| 347 | fashion when Emacs receives a fatal signal; instead, Emacs will | 348 | fashion when Emacs receives a fatal signal; instead, Emacs will |
| 348 | terminate immediately. Both variables are non-'nil' by default. | 349 | terminate immediately. Both variables are non-nil by default. |
| 349 | These variables are for users who would like to avoid the small | 350 | These variables are for users who would like to avoid the small |
| 350 | probability of data corruption due to techniques Emacs uses to recover | 351 | probability of data corruption due to techniques Emacs uses to recover |
| 351 | in these situations. | 352 | in these situations. |
| @@ -362,7 +363,7 @@ See the variable 'dir-locals-file-2' for more information. | |||
| 362 | +++ | 363 | +++ |
| 363 | ** Connection-local variables can be used to specify local variables | 364 | ** Connection-local variables can be used to specify local variables |
| 364 | with a value depending on the connected remote server. For details, | 365 | with a value depending on the connected remote server. For details, |
| 365 | see the node "Connection Local Variables" in the ELisp manual. | 366 | see the node "(elisp) Connection Local Variables" in the ELisp manual. |
| 366 | 367 | ||
| 367 | --- | 368 | --- |
| 368 | ** International domain names (IDNA) are now encoded via the new | 369 | ** International domain names (IDNA) are now encoded via the new |
| @@ -382,7 +383,7 @@ debug.el and edebug.el have been updated to heed to this variable. | |||
| 382 | 383 | ||
| 383 | --- | 384 | --- |
| 384 | ** Values in call stack frames are now displayed using 'cl-prin1'. | 385 | ** Values in call stack frames are now displayed using 'cl-prin1'. |
| 385 | The old behaviour of using 'prin1' can be restored by customizing the | 386 | The old behavior of using 'prin1' can be restored by customizing the |
| 386 | new option 'debugger-print-function'. | 387 | new option 'debugger-print-function'. |
| 387 | 388 | ||
| 388 | +++ | 389 | +++ |
| @@ -420,17 +421,17 @@ want to reverse the direction of the scroll, customize | |||
| 420 | 'mwheel-flip-direction'. | 421 | 'mwheel-flip-direction'. |
| 421 | 422 | ||
| 422 | +++ | 423 | +++ |
| 423 | ** Emacsclient has a new option -u/--suppress-output. | 424 | ** Emacsclient has a new option '-u' / '--suppress-output'. |
| 424 | This option suppresses display of return values from the server | 425 | This option suppresses display of return values from the server |
| 425 | process. | 426 | process. |
| 426 | 427 | ||
| 427 | +++ | 428 | +++ |
| 428 | ** Emacsclient has a new option -T/--tramp. | 429 | ** Emacsclient has a new option '-T' / '--tramp'. |
| 429 | This helps with using a local Emacs session as the server for a remote | 430 | This helps with using a local Emacs session as the server for a remote |
| 430 | emacsclient. With appropriate setup, one can now set the EDITOR | 431 | emacsclient. With appropriate setup, one can now set the EDITOR |
| 431 | environment variable on a remote machine to emacsclient, and | 432 | environment variable on a remote machine to emacsclient, and |
| 432 | use the local Emacs to edit remote files via Tramp. See the node | 433 | use the local Emacs to edit remote files via Tramp. See the node |
| 433 | "emacsclient Options" in the user manual for the details. | 434 | "(emacs) emacsclient Options" in the user manual for the details. |
| 434 | 435 | ||
| 435 | --- | 436 | --- |
| 436 | ** New user option 'dig-program-options' and extended functionality | 437 | ** New user option 'dig-program-options' and extended functionality |
| @@ -456,17 +457,17 @@ display of raw bytes from octal to hex. | |||
| 456 | 457 | ||
| 457 | +++ | 458 | +++ |
| 458 | ** You can now provide explicit field numbers in format specifiers. | 459 | ** You can now provide explicit field numbers in format specifiers. |
| 459 | For example, '(format "%2$s %1$s" "X" "Y")' produces "Y X". | 460 | For example, '(format "%2$s %1$s %2$s" "X" "Y")' produces "Y X Y". |
| 460 | 461 | ||
| 461 | +++ | 462 | +++ |
| 462 | ** Emacs now supports optional display of line numbers in the buffer. | 463 | ** Emacs now supports optional display of line numbers in the buffer. |
| 463 | This is similar to what linum-mode provides, but much faster and | 464 | This is similar to what 'linum-mode' provides, but much faster and |
| 464 | doesn't usurp the display margin for the line numbers. Customize the | 465 | doesn't usurp the display margin for the line numbers. Customize the |
| 465 | buffer-local variable 'display-line-numbers' to activate this optional | 466 | buffer-local variable 'display-line-numbers' to activate this optional |
| 466 | display. Alternatively, you can use the `display-line-numbers-mode' | 467 | display. Alternatively, you can use the 'display-line-numbers-mode' |
| 467 | minor mode or the global `global-display-line-numbers-mode'. When | 468 | minor mode or the global 'global-display-line-numbers-mode'. When |
| 468 | using these modes, customize `display-line-numbers-type' with the same | 469 | using these modes, customize 'display-line-numbers-type' with the same |
| 469 | value as you would use with `display-line-numbers'. | 470 | value as you would use with 'display-line-numbers'. |
| 470 | 471 | ||
| 471 | Line numbers are not displayed at all in minibuffer windows and in | 472 | Line numbers are not displayed at all in minibuffer windows and in |
| 472 | tooltips, as they are not useful there. | 473 | tooltips, as they are not useful there. |
| @@ -480,13 +481,13 @@ Lisp programs that need to know how much screen estate is used up for | |||
| 480 | line-number display in a window can use the new function | 481 | line-number display in a window can use the new function |
| 481 | 'line-number-display-width'. | 482 | 'line-number-display-width'. |
| 482 | 483 | ||
| 483 | Linum mode and all similar packages are henceforth becoming obsolete. | 484 | 'linum-mode' and all similar packages are henceforth becoming obsolete. |
| 484 | Users and developers are encouraged to switch to this new feature | 485 | Users and developers are encouraged to switch to this new feature |
| 485 | instead. | 486 | instead. |
| 486 | 487 | ||
| 487 | +++ | 488 | +++ |
| 488 | ** emacsclient now accepts command-line options in ALTERNATE_EDITOR | 489 | ** emacsclient now accepts command-line options in ALTERNATE_EDITOR |
| 489 | and --alternate-editor. For example, ALTERNATE_EDITOR="emacs -Q -nw". | 490 | and '--alternate-editor'. For example, ALTERNATE_EDITOR="emacs -Q -nw". |
| 490 | Arguments may be quoted "like this", so that for example an absolute | 491 | Arguments may be quoted "like this", so that for example an absolute |
| 491 | path containing a space may be specified; quote escaping is not | 492 | path containing a space may be specified; quote escaping is not |
| 492 | supported. | 493 | supported. |
| @@ -526,8 +527,8 @@ the end of the window, e.g. "5-17%". The new option | |||
| 526 | 527 | ||
| 527 | +++ | 528 | +++ |
| 528 | ** Two new user options 'list-matching-lines-jump-to-current-line' and | 529 | ** Two new user options 'list-matching-lines-jump-to-current-line' and |
| 529 | 'list-matching-lines-current-line-face' to show highlighted the current | 530 | 'list-matching-lines-current-line-face' to show the current line |
| 530 | line in *Occur* buffer. | 531 | highlighted in *Occur* buffer. |
| 531 | 532 | ||
| 532 | +++ | 533 | +++ |
| 533 | ** The 'occur' command can now operate on the region. | 534 | ** The 'occur' command can now operate on the region. |
| @@ -590,7 +591,7 @@ different buffer while keeping point, mark, markers, and text | |||
| 590 | properties as intact as possible. | 591 | properties as intact as possible. |
| 591 | 592 | ||
| 592 | +++ | 593 | +++ |
| 593 | ** New commands 'apropos-local-variable' and 'apropos-local-value. | 594 | ** New commands 'apropos-local-variable' and 'apropos-local-value'. |
| 594 | These are buffer-local versions of 'apropos-variable' and | 595 | These are buffer-local versions of 'apropos-variable' and |
| 595 | 'apropos-value', respectively. They show buffer-local variables whose | 596 | 'apropos-value', respectively. They show buffer-local variables whose |
| 596 | names and values, respectively, match a given pattern. | 597 | names and values, respectively, match a given pattern. |
| @@ -614,7 +615,7 @@ state to take effect (making a frame visible, for example). | |||
| 614 | See the file ORG-NEWS for user-visible changes in Org. | 615 | See the file ORG-NEWS for user-visible changes in Org. |
| 615 | 616 | ||
| 616 | --- | 617 | --- |
| 617 | ** New function `cl-generic-p'. | 618 | ** New function 'cl-generic-p'. |
| 618 | 619 | ||
| 619 | ** Dired | 620 | ** Dired |
| 620 | 621 | ||
| @@ -666,17 +667,17 @@ keep previous behavior. | |||
| 666 | ** html2text is now marked obsolete. | 667 | ** html2text is now marked obsolete. |
| 667 | 668 | ||
| 668 | --- | 669 | --- |
| 669 | ** smerge-refine-regions can refine regions in separate buffers | 670 | ** smerge-refine-regions can refine regions in separate buffers. |
| 670 | 671 | ||
| 671 | --- | 672 | --- |
| 672 | ** Info menu and index completion uses substring completion by default. | 673 | ** Info menu and index completion uses substring completion by default. |
| 673 | This can be customized via the info-menu category in | 674 | This can be customized via the 'info-menu' category in |
| 674 | completion-category-override. | 675 | 'completion-category-overrides'. |
| 675 | 676 | ||
| 676 | +++ | 677 | +++ |
| 677 | ** The ancestor buffer is shown by default in 3-way merges. | 678 | ** The ancestor buffer is shown by default in 3-way merges. |
| 678 | A new option ediff-show-ancestor and a new toggle | 679 | A new option 'ediff-show-ancestor' and a new toggle |
| 679 | ediff-toggle-show-ancestor. | 680 | 'ediff-toggle-show-ancestor'. |
| 680 | 681 | ||
| 681 | --- | 682 | --- |
| 682 | ** TeX: Add luatex and xetex as alternatives to pdftex | 683 | ** TeX: Add luatex and xetex as alternatives to pdftex |
| @@ -707,7 +708,7 @@ bound to 'Buffer-menu-unmark-all-buffers'. | |||
| 707 | ** Gnus | 708 | ** Gnus |
| 708 | 709 | ||
| 709 | --- | 710 | --- |
| 710 | *** The .newsrc file will now only be saved if the native select | 711 | *** The ~/.newsrc file will now only be saved if the native select |
| 711 | method is an NNTP select method. | 712 | method is an NNTP select method. |
| 712 | 713 | ||
| 713 | +++ | 714 | +++ |
| @@ -716,9 +717,10 @@ added: 'C-c C-s C-m C-m'. | |||
| 716 | 717 | ||
| 717 | +++ | 718 | +++ |
| 718 | 719 | ||
| 719 | *** In message-citation-line-format the %Z format is now the time zone name | 720 | *** In 'message-citation-line-format' the '%Z' format is now the time |
| 720 | instead of the numeric form. The %z format continues to be the | 721 | zone name instead of the numeric form. The '%z' format continues to |
| 721 | numeric form. The new behavior is compatible with format-time-string. | 722 | be the numeric form. The new behavior is compatible with |
| 723 | 'format-time-string'. | ||
| 722 | 724 | ||
| 723 | ** Ibuffer | 725 | ** Ibuffer |
| 724 | 726 | ||
| @@ -785,7 +787,7 @@ whose content matches a regexp; bound to '% g'. | |||
| 785 | 787 | ||
| 786 | --- | 788 | --- |
| 787 | *** New user option 'comint-move-point-for-matching-input' to control | 789 | *** New user option 'comint-move-point-for-matching-input' to control |
| 788 | where to place point after C-c M-r and C-c M-s. | 790 | where to place point after 'C-c M-r' and 'C-c M-s'. |
| 789 | 791 | ||
| 790 | ** Compilation mode | 792 | ** Compilation mode |
| 791 | 793 | ||
| @@ -818,7 +820,7 @@ breakpoint (e.g. with "f" and "o") by customizing the new option | |||
| 818 | 'edebug-sit-on-break'. | 820 | 'edebug-sit-on-break'. |
| 819 | 821 | ||
| 820 | +++ | 822 | +++ |
| 821 | *** New customizable option 'edebug-max-depth' | 823 | *** New customizable option 'edebug-max-depth'. |
| 822 | This allows to enlarge the maximum recursion depth when instrumenting | 824 | This allows to enlarge the maximum recursion depth when instrumenting |
| 823 | code. | 825 | code. |
| 824 | 826 | ||
| @@ -860,7 +862,6 @@ bigger than the current window). | |||
| 860 | avoid accidentally accessing remote links may rebind 'w' and 'u' in | 862 | avoid accidentally accessing remote links may rebind 'w' and 'u' in |
| 861 | 'eww-link-keymap' to it. | 863 | 'eww-link-keymap' to it. |
| 862 | 864 | ||
| 863 | |||
| 864 | ** Ido | 865 | ** Ido |
| 865 | 866 | ||
| 866 | --- | 867 | --- |
| @@ -893,8 +894,8 @@ also available in 'image-mode'. | |||
| 893 | 894 | ||
| 894 | +++ | 895 | +++ |
| 895 | *** A new library for creating and manipulating SVG images has been | 896 | *** A new library for creating and manipulating SVG images has been |
| 896 | added. See the "SVG Images" section in the Lisp reference manual for | 897 | added. See the "(elisp) SVG Images" section in the ELisp reference |
| 897 | details. | 898 | manual for details. |
| 898 | 899 | ||
| 899 | +++ | 900 | +++ |
| 900 | *** New setf-able function to access and set image parameters is | 901 | *** New setf-able function to access and set image parameters is |
| @@ -936,10 +937,10 @@ instead of shell command strings. This change affects | |||
| 936 | 'image-dired-cmd-write-exif-data-options', | 937 | 'image-dired-cmd-write-exif-data-options', |
| 937 | 'image-dired-cmd-read-exif-data-options', and introduces | 938 | 'image-dired-cmd-read-exif-data-options', and introduces |
| 938 | 'image-dired-cmd-pngnq-options', 'image-dired-cmd-pngcrush-options', | 939 | 'image-dired-cmd-pngnq-options', 'image-dired-cmd-pngcrush-options', |
| 939 | 'image-dired-cmd-create-standard-thumbnail-options' | 940 | 'image-dired-cmd-create-standard-thumbnail-options'. |
| 940 | 941 | ||
| 941 | --- | 942 | --- |
| 942 | *** Recognizes more tools by default, including pngnq-s9 and OptiPNG | 943 | *** Recognizes more tools by default, including pngnq-s9 and OptiPNG. |
| 943 | 944 | ||
| 944 | --- | 945 | --- |
| 945 | *** 'find-file' and related commands now work on thumbnails and | 946 | *** 'find-file' and related commands now work on thumbnails and |
| @@ -978,7 +979,7 @@ there are now top-level domains added all the time. Message will no | |||
| 978 | longer warn about sending emails to top-level domains it hasn't heard | 979 | longer warn about sending emails to top-level domains it hasn't heard |
| 979 | about. | 980 | about. |
| 980 | 981 | ||
| 981 | *** 'message-beginning-of-line' (bound to C-a) understands folded headers. | 982 | *** 'message-beginning-of-line' (bound to 'C-a') understands folded headers. |
| 982 | In 'visual-line-mode' it will look for the true beginning of a header | 983 | In 'visual-line-mode' it will look for the true beginning of a header |
| 983 | while in non-'visual-line-mode' it will move the point to the indented | 984 | while in non-'visual-line-mode' it will move the point to the indented |
| 984 | header's value. | 985 | header's value. |
| @@ -988,7 +989,7 @@ header's value. | |||
| 988 | +++ | 989 | +++ |
| 989 | *** The new variable 'package-gnupghome-dir' has been added to control | 990 | *** The new variable 'package-gnupghome-dir' has been added to control |
| 990 | where the GnuPG home directory (used for signature verification) is | 991 | where the GnuPG home directory (used for signature verification) is |
| 991 | located and whether GnuPG's option "--homedir" is used or not. | 992 | located and whether GnuPG's option '--homedir' is used or not. |
| 992 | 993 | ||
| 993 | --- | 994 | --- |
| 994 | *** Deleting a package no longer respects 'delete-by-moving-to-trash'. | 995 | *** Deleting a package no longer respects 'delete-by-moving-to-trash'. |
| @@ -1070,8 +1071,8 @@ background. | |||
| 1070 | 1071 | ||
| 1071 | +++ | 1072 | +++ |
| 1072 | ** Emacs now supports character name escape sequences in character and | 1073 | ** Emacs now supports character name escape sequences in character and |
| 1073 | string literals. The syntax variants \N{character name} and | 1074 | string literals. The syntax variants '\N{character name}' and |
| 1074 | \N{U+code} are supported. | 1075 | '\N{U+code}' are supported. |
| 1075 | 1076 | ||
| 1076 | +++ | 1077 | +++ |
| 1077 | ** Prog mode has some support for multi-mode indentation. | 1078 | ** Prog mode has some support for multi-mode indentation. |
| @@ -1083,7 +1084,7 @@ A major mode can provide indentation context for a sub-mode through | |||
| 1083 | the 'prog-indentation-context' variable. To support this, modes that | 1084 | the 'prog-indentation-context' variable. To support this, modes that |
| 1084 | provide indentation should use 'prog-widen' instead of 'widen' and | 1085 | provide indentation should use 'prog-widen' instead of 'widen' and |
| 1085 | 'prog-first-column' instead of a literal zero. See the node | 1086 | 'prog-first-column' instead of a literal zero. See the node |
| 1086 | "Mode-Specific Indent" in the ELisp manual for more details. | 1087 | "(elisp) Mode-Specific Indent" in the ELisp manual for more details. |
| 1087 | 1088 | ||
| 1088 | ** ERC | 1089 | ** ERC |
| 1089 | 1090 | ||
| @@ -1140,12 +1141,12 @@ to a format suitable for reverse lookup zone files. | |||
| 1140 | +++ | 1141 | +++ |
| 1141 | *** Enchant is now supported as a spell-checker. | 1142 | *** Enchant is now supported as a spell-checker. |
| 1142 | 1143 | ||
| 1143 | Enchant is a meta-spell-checker that uses providers | 1144 | Enchant is a meta-spell-checker that uses providers such as Hunspell |
| 1144 | such as Hunspell to do the actual checking. With it, users can use | 1145 | to do the actual checking. With it, users can use spell-checkers not |
| 1145 | spell-checkers not directly supported by Emacs, such as Voikko, Hspell | 1146 | directly supported by Emacs, such as Voikko, Hspell and AppleSpell, |
| 1146 | and AppleSpell, more easily share personal word-lists with other | 1147 | more easily share personal word-lists with other programs, and |
| 1147 | programs, and configure different spelling-checkers for different | 1148 | configure different spelling-checkers for different languages. |
| 1148 | languages. (Version 2.1.0 or later of Enchant is required.) | 1149 | (Version 2.1.0 or later of Enchant is required.) |
| 1149 | 1150 | ||
| 1150 | ** Flymake | 1151 | ** Flymake |
| 1151 | 1152 | ||
| @@ -1161,7 +1162,7 @@ check your buffer from different perspectives (see variable | |||
| 1161 | 'flymake-diagnostic-functions'). Backends for Emacs Lisp mode are | 1162 | 'flymake-diagnostic-functions'). Backends for Emacs Lisp mode are |
| 1162 | provided. | 1163 | provided. |
| 1163 | 1164 | ||
| 1164 | The old Flymake behaviour is preserved in the so-called "legacy | 1165 | The old Flymake behavior is preserved in the so-called "legacy |
| 1165 | backend", which has been updated to benefit from the new UI features. | 1166 | backend", which has been updated to benefit from the new UI features. |
| 1166 | 1167 | ||
| 1167 | 1168 | ||
| @@ -1178,10 +1179,10 @@ backend", which has been updated to benefit from the new UI features. | |||
| 1178 | mode for *.html files. This mode handles indentation, | 1179 | mode for *.html files. This mode handles indentation, |
| 1179 | fontification, and commenting for embedded JavaScript and CSS. | 1180 | fontification, and commenting for embedded JavaScript and CSS. |
| 1180 | 1181 | ||
| 1181 | ** New mode 'conf-toml-mode' is a sub-mode of conf-mode, specialized | 1182 | ** New mode 'conf-toml-mode' is a sub-mode of 'conf-mode', specialized |
| 1182 | for editing TOML files. | 1183 | for editing TOML files. |
| 1183 | 1184 | ||
| 1184 | ** New mode 'conf-desktop-mode' is a sub-mode of conf-unix-mode, | 1185 | ** New mode 'conf-desktop-mode' is a sub-mode of 'conf-unix-mode', |
| 1185 | specialized for editing freedesktop.org desktop entries. | 1186 | specialized for editing freedesktop.org desktop entries. |
| 1186 | 1187 | ||
| 1187 | ** New minor mode 'pixel-scroll-mode' provides smooth pixel-level scrolling. | 1188 | ** New minor mode 'pixel-scroll-mode' provides smooth pixel-level scrolling. |
| @@ -1193,11 +1194,11 @@ editing Less files. | |||
| 1193 | * Incompatible Lisp Changes in Emacs 26.1 | 1194 | * Incompatible Lisp Changes in Emacs 26.1 |
| 1194 | 1195 | ||
| 1195 | --- | 1196 | --- |
| 1196 | *** password-data is now a hash-table | 1197 | ** 'password-data' is now a hash-table so that 'password-read' can use |
| 1197 | so that `password-read' can use any object for the `key' argument. | 1198 | any object for the 'key' argument. |
| 1198 | 1199 | ||
| 1199 | +++ | 1200 | +++ |
| 1200 | *** Command 'dired-mark-extension' now automatically prepends a '.' to the | 1201 | ** Command 'dired-mark-extension' now automatically prepends a '.' to the |
| 1201 | extension when not present. The new command 'dired-mark-suffix' behaves | 1202 | extension when not present. The new command 'dired-mark-suffix' behaves |
| 1202 | similarly but it doesn't prepend a '.'. | 1203 | similarly but it doesn't prepend a '.'. |
| 1203 | 1204 | ||
| @@ -1221,25 +1222,29 @@ binding syntax as 'and-let*'. | |||
| 1221 | --- | 1222 | --- |
| 1222 | ** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term | 1223 | ** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term |
| 1223 | mode to send the same escape sequences that xterm does. This makes | 1224 | mode to send the same escape sequences that xterm does. This makes |
| 1224 | things like forward-word in readline work. | 1225 | things like 'forward-word' in readline work. |
| 1225 | 1226 | ||
| 1226 | --- | 1227 | --- |
| 1227 | ** hideshow mode got four key bindings that are analogous to outline | 1228 | ** hideshow mode got four key bindings that are analogous to outline |
| 1228 | mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e.' | 1229 | mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e'. |
| 1229 | 1230 | ||
| 1230 | --- | 1231 | --- |
| 1231 | ** Customizable variable 'query-replace-from-to-separator' | 1232 | ** Customizable variable 'query-replace-from-to-separator' |
| 1232 | now doesn't propertize the string value of the separator. | 1233 | now doesn't propertize the string value of the separator. |
| 1233 | Instead, text properties are added by query-replace-read-from. | 1234 | Instead, text properties are added by 'query-replace-read-from'. |
| 1234 | Additionally, the new nil value restores pre-24.5 behavior | 1235 | Additionally, the new nil value restores pre-24.5 behavior |
| 1235 | of not providing replacement pairs via the history. | 1236 | of not providing replacement pairs via the history. |
| 1236 | 1237 | ||
| 1237 | --- | 1238 | --- |
| 1238 | ** Some obsolete functions, variables, and faces have been removed: | 1239 | ** Some obsolete functions, variables, and faces have been removed: |
| 1239 | *** make-variable-frame-local. Variables cannot be frame-local any more. | 1240 | |
| 1240 | *** From subr.el: window-dot, set-window-dot, read-input, show-buffer, | 1241 | *** 'make-variable-frame-local'. Variables cannot be frame-local any more. |
| 1241 | eval-current-buffer, string-to-int | 1242 | |
| 1242 | *** icomplete-prospects-length. | 1243 | *** From subr.el: 'window-dot', 'set-window-dot', 'read-input', |
| 1244 | 'show-buffer', 'eval-current-buffer', 'string-to-int'. | ||
| 1245 | |||
| 1246 | *** 'icomplete-prospects-length'. | ||
| 1247 | |||
| 1243 | *** All the default-FOO variables that hold the default value of the | 1248 | *** All the default-FOO variables that hold the default value of the |
| 1244 | FOO variable. Use 'default-value' and 'setq-default' to access and | 1249 | FOO variable. Use 'default-value' and 'setq-default' to access and |
| 1245 | change FOO, respectively. The exhaustive list of removed variables is: | 1250 | change FOO, respectively. The exhaustive list of removed variables is: |
| @@ -1257,7 +1262,8 @@ change FOO, respectively. The exhaustive list of removed variables is: | |||
| 1257 | 'default-cursor-in-non-selected-windows', | 1262 | 'default-cursor-in-non-selected-windows', |
| 1258 | 'default-buffer-file-coding-system', 'default-major-mode', and | 1263 | 'default-buffer-file-coding-system', 'default-major-mode', and |
| 1259 | 'default-enable-multibyte-characters'. | 1264 | 'default-enable-multibyte-characters'. |
| 1260 | *** Many variables obsoleted in 22.1 referring to face symbols | 1265 | |
| 1266 | *** Many variables obsoleted in 22.1 referring to face symbols. | ||
| 1261 | 1267 | ||
| 1262 | +++ | 1268 | +++ |
| 1263 | ** The variable 'text-quoting-style' is now a customizable option. It | 1269 | ** The variable 'text-quoting-style' is now a customizable option. It |
| @@ -1272,9 +1278,9 @@ now generate less chatter and more-compact diagnostics. The auxiliary | |||
| 1272 | function 'check-declare-errmsg' has been removed. | 1278 | function 'check-declare-errmsg' has been removed. |
| 1273 | 1279 | ||
| 1274 | +++ | 1280 | +++ |
| 1275 | ** The regular expression character class [:blank:] now matches | 1281 | ** The regular expression character class '[:blank:]' now matches |
| 1276 | Unicode horizontal whitespace as defined in the Unicode Technical | 1282 | Unicode horizontal whitespace as defined in the Unicode Technical |
| 1277 | Standard #18. If you only want to match space and tab, use [ \t] | 1283 | Standard #18. If you only want to match space and tab, use '[ \t]' |
| 1278 | instead. | 1284 | instead. |
| 1279 | 1285 | ||
| 1280 | +++ | 1286 | +++ |
| @@ -1296,8 +1302,8 @@ characters: ‘’‛“”‟〞"', unless they are escaped with backslash. | |||
| 1296 | 1302 | ||
| 1297 | +++ | 1303 | +++ |
| 1298 | ** 'default-file-name-coding-system' now defaults to a coding system | 1304 | ** 'default-file-name-coding-system' now defaults to a coding system |
| 1299 | that does not process CRLF. For example, it defaults to utf-8-unix | 1305 | that does not process CRLF. For example, it defaults to 'utf-8-unix' |
| 1300 | instead of to utf-8. Before this change, Emacs would sometimes | 1306 | instead of to 'utf-8'. Before this change, Emacs would sometimes |
| 1301 | mishandle file names containing these control characters. | 1307 | mishandle file names containing these control characters. |
| 1302 | 1308 | ||
| 1303 | +++ | 1309 | +++ |
| @@ -1368,9 +1374,10 @@ documentation and had inherent races that led to security holes. A | |||
| 1368 | call like (rename-file C D) that used the old, undocumented behavior | 1374 | call like (rename-file C D) that used the old, undocumented behavior |
| 1369 | can be written as (rename-file C (file-name-as-directory D)), a | 1375 | can be written as (rename-file C (file-name-as-directory D)), a |
| 1370 | formulation portable to both older and newer versions of Emacs. | 1376 | formulation portable to both older and newer versions of Emacs. |
| 1371 | Affected functions include add-name-to-file, copy-directory, | 1377 | Affected functions include 'add-name-to-file', 'copy-directory', |
| 1372 | copy-file, format-write-file, gnus-copy-file, make-symbolic-link, | 1378 | 'copy-file', 'format-write-file', 'gnus-copy-file', |
| 1373 | rename-file, thumbs-rename-images, and write-file. | 1379 | 'make-symbolic-link', 'rename-file', 'thumbs-rename-images', and |
| 1380 | 'write-file'. | ||
| 1374 | 1381 | ||
| 1375 | --- | 1382 | --- |
| 1376 | ** The list returned by 'overlays-at' is now in decreasing priority order. | 1383 | ** The list returned by 'overlays-at' is now in decreasing priority order. |
| @@ -1395,6 +1402,7 @@ Programs that called it with multiple arguments before should pass | |||
| 1395 | them through 'format' first. Even that is discouraged: for ElDoc | 1402 | them through 'format' first. Even that is discouraged: for ElDoc |
| 1396 | support, you should set 'eldoc-documentation-function' instead of | 1403 | support, you should set 'eldoc-documentation-function' instead of |
| 1397 | calling 'eldoc-message' directly. | 1404 | calling 'eldoc-message' directly. |
| 1405 | |||
| 1398 | 1406 | ||
| 1399 | * Lisp Changes in Emacs 26.1 | 1407 | * Lisp Changes in Emacs 26.1 |
| 1400 | 1408 | ||
| @@ -1453,9 +1461,7 @@ range of indentation. | |||
| 1453 | ** New optional argument TEXT in 'make-temp-file'. | 1461 | ** New optional argument TEXT in 'make-temp-file'. |
| 1454 | 1462 | ||
| 1455 | --- | 1463 | --- |
| 1456 | ** New function `define-symbol-prop'. | 1464 | ** New function 'define-symbol-prop'. |
| 1457 | |||
| 1458 | ** Checksum/Hash | ||
| 1459 | 1465 | ||
| 1460 | +++ | 1466 | +++ |
| 1461 | ** New function 'secure-hash-algorithms' to list the algorithms that | 1467 | ** New function 'secure-hash-algorithms' to list the algorithms that |
| @@ -1537,7 +1543,7 @@ function instead of 'subr-arity'. | |||
| 1537 | ** New function 'region-bounds' can be used in the interactive spec | 1543 | ** New function 'region-bounds' can be used in the interactive spec |
| 1538 | to provide region boundaries (for rectangular regions more than one) | 1544 | to provide region boundaries (for rectangular regions more than one) |
| 1539 | to an interactively callable function as a single argument instead of | 1545 | to an interactively callable function as a single argument instead of |
| 1540 | two separate arguments region-beginning and region-end. | 1546 | two separate arguments 'region-beginning' and 'region-end'. |
| 1541 | 1547 | ||
| 1542 | +++ | 1548 | +++ |
| 1543 | ** 'parse-partial-sexp' state has a new element. Element 10 is | 1549 | ** 'parse-partial-sexp' state has a new element. Element 10 is |
| @@ -1567,27 +1573,27 @@ compares their numerical values. According to this predicate, | |||
| 1567 | 1573 | ||
| 1568 | --- | 1574 | --- |
| 1569 | ** Numeric comparisons and 'logb' no longer return incorrect answers | 1575 | ** Numeric comparisons and 'logb' no longer return incorrect answers |
| 1570 | due to internal rounding errors. For example, (< most-positive-fixnum | 1576 | due to internal rounding errors. For example, '(< most-positive-fixnum |
| 1571 | (+ 1.0 most-positive-fixnum)) now correctly returns t on 64-bit hosts. | 1577 | (+ 1.0 most-positive-fixnum))' now correctly returns t on 64-bit hosts. |
| 1572 | 1578 | ||
| 1573 | --- | 1579 | --- |
| 1574 | ** The functions 'ffloor', 'fceiling', 'ftruncate' and 'fround' now | 1580 | ** The functions 'ffloor', 'fceiling', 'ftruncate' and 'fround' now |
| 1575 | accept only floating-point arguments, as per their documentation. | 1581 | accept only floating-point arguments, as per their documentation. |
| 1576 | Formerly, they quietly accepted integer arguments and sometimes | 1582 | Formerly, they quietly accepted integer arguments and sometimes |
| 1577 | returned nonsensical answers, e.g., (< N (ffloor N)) could return t. | 1583 | returned nonsensical answers, e.g., '(< N (ffloor N))' could return t. |
| 1578 | 1584 | ||
| 1579 | --- | 1585 | --- |
| 1580 | ** On hosts like GNU/Linux x86-64 where a 'long double' fraction | 1586 | ** On hosts like GNU/Linux x86-64 where a 'long double' fraction |
| 1581 | contains at least EMACS_INT_WIDTH - 3 bits, 'format' no longer returns | 1587 | contains at least EMACS_INT_WIDTH - 3 bits, 'format' no longer returns |
| 1582 | incorrect answers due to internal rounding errors when formatting | 1588 | incorrect answers due to internal rounding errors when formatting |
| 1583 | Emacs integers with %e, %f, or %g conversions. For example, on these | 1589 | Emacs integers with '%e', '%f', or '%g' conversions. For example, on |
| 1584 | hosts (eql N (string-to-number (format "%.0f" N))) now returns t for | 1590 | these hosts '(eql N (string-to-number (format "%.0f" N)))' now returns |
| 1585 | all Emacs integers N. | 1591 | t for all Emacs integers N. |
| 1586 | 1592 | ||
| 1587 | --- | 1593 | --- |
| 1588 | ** Calls that accept floating-point integers (for use on hosts with | 1594 | ** Calls that accept floating-point integers (for use on hosts with |
| 1589 | limited integer range) now signal an error if arguments are not | 1595 | limited integer range) now signal an error if arguments are not |
| 1590 | integral. For example (decode-char 'ascii 0.5) now signals an error. | 1596 | integral. For example '(decode-char 'ascii 0.5)' now signals an error. |
| 1591 | 1597 | ||
| 1592 | +++ | 1598 | +++ |
| 1593 | ** The new function 'char-from-name' converts a Unicode name string | 1599 | ** The new function 'char-from-name' converts a Unicode name string |
| @@ -1622,7 +1628,7 @@ ABBR is a time zone abbreviation. The affected functions are | |||
| 1622 | 'format-time-string', and 'set-time-zone-rule'. | 1628 | 'format-time-string', and 'set-time-zone-rule'. |
| 1623 | 1629 | ||
| 1624 | +++ | 1630 | +++ |
| 1625 | ** 'format-time-string' now formats "%q" to the calendar quarter. | 1631 | ** 'format-time-string' now formats '%q' to the calendar quarter. |
| 1626 | 1632 | ||
| 1627 | +++ | 1633 | +++ |
| 1628 | ** New built-in function 'mapcan'. | 1634 | ** New built-in function 'mapcan'. |
| @@ -1699,7 +1705,7 @@ run. | |||
| 1699 | frame's outer border. | 1705 | frame's outer border. |
| 1700 | 1706 | ||
| 1701 | +++ | 1707 | +++ |
| 1702 | *** New frame parameters and changed semantics for older ones | 1708 | *** New frame parameters and changed semantics for older ones: |
| 1703 | 1709 | ||
| 1704 | +++ | 1710 | +++ |
| 1705 | **** 'z-group' positions a frame above or below all others. | 1711 | **** 'z-group' positions a frame above or below all others. |
| @@ -1710,8 +1716,8 @@ frame. | |||
| 1710 | 1716 | ||
| 1711 | +++ | 1717 | +++ |
| 1712 | **** 'parent-frame' makes a frame the child frame of another Emacs | 1718 | **** 'parent-frame' makes a frame the child frame of another Emacs |
| 1713 | frame. The section "Child Frames" in the Elisp manual describes the | 1719 | frame. The section "(elisp) Child Frames" in the ELisp manual |
| 1714 | intrinsics of that relationship. | 1720 | describes the intrinsics of that relationship. |
| 1715 | 1721 | ||
| 1716 | +++ | 1722 | +++ |
| 1717 | **** 'delete-before' triggers deletion of one frame before that of | 1723 | **** 'delete-before' triggers deletion of one frame before that of |
| @@ -1727,7 +1733,7 @@ frame. | |||
| 1727 | 1733 | ||
| 1728 | +++ | 1734 | +++ |
| 1729 | **** 'skip-taskbar' removes a frame's icon from the taskbar and has | 1735 | **** 'skip-taskbar' removes a frame's icon from the taskbar and has |
| 1730 | Alt-<TAB> skip this frame. | 1736 | 'Alt-<TAB>' skip this frame. |
| 1731 | 1737 | ||
| 1732 | +++ | 1738 | +++ |
| 1733 | **** 'no-focus-on-map' avoids that a frame gets input focus when mapped. | 1739 | **** 'no-focus-on-map' avoids that a frame gets input focus when mapped. |
| @@ -1796,19 +1802,18 @@ internal border. | |||
| 1796 | WINDOW for redisplay. | 1802 | WINDOW for redisplay. |
| 1797 | 1803 | ||
| 1798 | +++ | 1804 | +++ |
| 1799 | *** Support for side windows is now official. | 1805 | *** Support for side windows is now official. The display action |
| 1800 | The display action function 'display-buffer-in-side-window' will | 1806 | function 'display-buffer-in-side-window' will display its buffer in a |
| 1801 | display its buffer in a side window. Functions for toggling all side | 1807 | side window. Functions for toggling all side windows on a frame, |
| 1802 | windows on a frame, changing and reversing the layout of side windows | 1808 | changing and reversing the layout of side windows and returning the |
| 1803 | and returning the main (major non-side) window of a frame are | 1809 | main (major non-side) window of a frame are provided. For details |
| 1804 | provided. For details consult the section "Side Windows" in the Elisp | 1810 | consult the section "(elisp) Side Windows" in the ELisp manual. |
| 1805 | manual. | ||
| 1806 | 1811 | ||
| 1807 | +++ | 1812 | +++ |
| 1808 | *** Support for atomic windows - rectangular compositions of windows | 1813 | *** Support for atomic windows - rectangular compositions of windows |
| 1809 | treated by 'split-window', 'delete-window' and 'delete-other-windows' | 1814 | treated by 'split-window', 'delete-window' and 'delete-other-windows' |
| 1810 | like a single live window - is now official. For details consult the | 1815 | like a single live window - is now official. For details consult the |
| 1811 | section "Atomic Windows" in the Elisp manual. | 1816 | section "(elisp) Atomic Windows" in the ELisp manual. |
| 1812 | 1817 | ||
| 1813 | +++ | 1818 | +++ |
| 1814 | *** New 'display-buffer' alist entry 'window-parameters' allows to | 1819 | *** New 'display-buffer' alist entry 'window-parameters' allows to |
| @@ -1854,14 +1859,14 @@ window's body. | |||
| 1854 | 1859 | ||
| 1855 | +++ | 1860 | +++ |
| 1856 | *** The semantics of 'mouse-autoselect-window' has changed slightly. | 1861 | *** The semantics of 'mouse-autoselect-window' has changed slightly. |
| 1857 | For details see the section "Mouse Window Auto-selection" in the Elisp | 1862 | For details see the section "(elisp) Mouse Window Auto-selection" in |
| 1858 | manual. | 1863 | the ELisp manual. |
| 1859 | 1864 | ||
| 1860 | --- | 1865 | --- |
| 1861 | ** 'tcl-auto-fill-mode' is now declared obsolete. Its functionality | 1866 | ** 'tcl-auto-fill-mode' is now declared obsolete. Its functionality |
| 1862 | can be replicated simply by setting 'comment-auto-fill-only-comments'. | 1867 | can be replicated simply by setting 'comment-auto-fill-only-comments'. |
| 1863 | 1868 | ||
| 1864 | ** New pcase pattern 'rx' to match against a rx-style regular expression. | 1869 | ** New pcase pattern 'rx' to match against an rx-style regular expression. |
| 1865 | For details, see the doc string of 'rx--pcase-macroexpander'. | 1870 | For details, see the doc string of 'rx--pcase-macroexpander'. |
| 1866 | 1871 | ||
| 1867 | --- | 1872 | --- |
| @@ -1881,7 +1886,7 @@ uniscribe). | |||
| 1881 | +++ | 1886 | +++ |
| 1882 | ** Intercepting hotkeys on Windows 7 and later now works better. | 1887 | ** Intercepting hotkeys on Windows 7 and later now works better. |
| 1883 | The new keyboard hooking code properly grabs system hotkeys such as | 1888 | The new keyboard hooking code properly grabs system hotkeys such as |
| 1884 | Win-* and Alt-TAB, in a way that Emacs can get at them before the | 1889 | 'Win-*' and 'Alt-TAB', in a way that Emacs can get at them before the |
| 1885 | system. This makes the 'w32-register-hot-key' functionality work | 1890 | system. This makes the 'w32-register-hot-key' functionality work |
| 1886 | again on all versions of MS-Windows starting with Windows 7. On | 1891 | again on all versions of MS-Windows starting with Windows 7. On |
| 1887 | Windows NT and later you can now register any hotkey combination. (On | 1892 | Windows NT and later you can now register any hotkey combination. (On |