aboutsummaryrefslogtreecommitdiffstats
path: root/etc/NEWS
diff options
context:
space:
mode:
Diffstat (limited to 'etc/NEWS')
-rw-r--r--etc/NEWS154
1 files changed, 147 insertions, 7 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 13805ce0da7..f43491b6306 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -97,9 +97,28 @@ Terminal is automatically initialized to use 24-bit colors if the
97required capabilities are found in terminfo. See the FAQ node 97required capabilities are found in terminfo. See the FAQ node
98"Colors on a TTY" for more information. 98"Colors on a TTY" for more information.
99 99
100+++
101** Emacs now obeys the X resource "scrollBar" at startup.
102The effect is similar to that of "toolBar" resource on the tool bar.
103
100 104
101* Changes in Emacs 26.1 105* Changes in Emacs 26.1
102 106
107+++
108** The function 'assoc' now takes an optional third argument 'testfn'.
109This argument, when non-nil, is used for comparison instead of
110'equal'.
111
112---
113** New variable 'executable-prefix-env' for inserting magic signatures.
114This variable affects the format of the interpreter magic number
115inserted by 'executable-set-magic'. If non-nil, the magic number now
116takes the form "#!/usr/bin/env interpreter", otherwise the value
117determined by 'executable-prefix', which is by default
118"#!/path/to/interpreter". By default, 'executable-prefix-env' is nil,
119so the default behavior is not changed.
120
121+++
103** The variable 'emacs-version' no longer includes the build number. 122** The variable 'emacs-version' no longer includes the build number.
104This is now stored separately in a new variable, 'emacs-build-number'. 123This is now stored separately in a new variable, 'emacs-build-number'.
105 124
@@ -353,6 +372,12 @@ variable of this kind to swap modifiers in Emacs.
353--- 372---
354** New input methods: 'cyrillic-tuvan', 'polish-prefix'. 373** New input methods: 'cyrillic-tuvan', 'polish-prefix'.
355 374
375---
376** The 'dutch' input method no longer attempts to support Turkish too.
377Also, it no longer converts 'IJ' and 'ij' to the compatibility
378characters U+0132 LATIN CAPITAL LIGATURE IJ and U+0133 LATIN SMALL
379LIGATURE IJ.
380
356+++ 381+++
357** File name quoting by adding the prefix "/:" is now possible for the 382** File name quoting by adding the prefix "/:" is now possible for the
358local part of a remote file name. Thus, if you have a directory named 383local part of a remote file name. Thus, if you have a directory named
@@ -405,10 +430,74 @@ display of raw bytes from octal to hex.
405** You can now provide explicit field numbers in format specifiers. 430** You can now provide explicit field numbers in format specifiers.
406For example, '(format "%2$s %1$s" "X" "Y")' produces "Y X". 431For example, '(format "%2$s %1$s" "X" "Y")' produces "Y X".
407 432
408+++
409** 'comment-indent-function' values may now return a cons to specify a 433** 'comment-indent-function' values may now return a cons to specify a
410range of indentation. 434range of indentation.
411 435
436+++
437** Emacs now supports optional display of line numbers in the buffer.
438This is similar to what linum-mode provides, but much faster and
439doesn't usurp the display margin for the line numbers. Customize the
440buffer-local variable 'display-line-numbers' to activate this optional
441display. Alternatively, you can use the `display-line-numbers-mode'
442minor mode or the global `global-display-line-numbers-mode'. When
443using these modes, customize `display-line-numbers-type' with the same
444value as you would use with `display-line-numbers'.
445
446If `display-line-numbers' is set to t, Emacs will display the number
447of each line before the line. If set to 'relative', Emacs will
448display the line number relative to the line showing point, with that
449line's number displayed as absolute. If set to 'visual', Emacs will
450display a relative number for every screen line, i.e. it will count
451screen lines rather than buffer lines. The default is nil, which
452doesn't display the line numbers.
453
454In 'relative' and 'visual' modes, the variable
455'display-line-numbers-current-absolute' controls what number is
456displayed for the line showing point. By default, this variable's
457value is t, which means display the absolute line number for the line
458showing point. Customizing this variable to a nil value will cause
459Emacs to show zero instead, which preserves horizontal space of the
460window in large buffers.
461
462Line numbers are not displayed at all in minibuffer windows and in
463tooltips, as they are not useful there.
464
465The new face 'line-number' is used to display the line numbers. The
466new face 'line-number-current-line' can be customized to display the
467current line's number differently from all the other line numbers; by
468default these two faces are identical.
469
470You can also customize the new buffer-local variable
471'display-line-numbers-width' to specify a fixed minimal with of the
472area allocated to line-number display. The default is nil, meaning
473that Emacs will dynamically calculate the area width, enlarging or
474shrinking it as needed. Setting it to a non-negative integer
475specifies that as the minimal width; selecting a value that is large
476enough to display all line numbers in a buffer will then keep the
477line-number display area of constant width at all times, if that is
478desired.
479
480When using `display-line-numbers-mode', you can customize the variable
481`display-line-numbers-grow-only' to a non-nil value; this means that
482Emacs may grow the above area width dynamically, but never shrink it.
483Under this mode, customizing the variable
484`display-line-numbers-width-start' to a non-nil value will cause Emacs
485to set `display-line-numbers-width' to the minimum width necessary to
486display all line numbers in the current buffer when first visiting it.
487
488Lisp programs can disable line-number display for a particular screen
489line by putting the 'display-line-numbers-disable' text property or
490overlay property on the first character of that screen line. This is
491intended for add-on packages that need a finer control of the display.
492
493Lisp programs that need to know how much screen estate is used up for
494line-number display in a window can use the new function
495'line-number-display-width'.
496
497Linum mode and all similar packages are henceforth becoming obsolete.
498Users and developers are encouraged to switch to this new feature
499instead.
500
412 501
413* Editing Changes in Emacs 26.1 502* Editing Changes in Emacs 26.1
414 503
@@ -500,11 +589,19 @@ current buffer with the contents of the accessible portion of a
500different buffer while keeping point, mark, markers, and text 589different buffer while keeping point, mark, markers, and text
501properties as intact as possible. 590properties as intact as possible.
502 591
592+++
593** More user control of reordering bidirectional text for display.
594The two new variables, 'bidi-paragraph-start-re' and
595'bidi-paragraph-separate-re', allow customization of what exactly are
596paragraphs, for the purposes of bidirectional display.
597
503 598
504* Changes in Specialized Modes and Packages in Emacs 26.1 599* Changes in Specialized Modes and Packages in Emacs 26.1
505 600
506** Dired 601** Dired
507You can now use '`?`' in 'dired-do-shell-command'; as ' ? ', it gets replaced 602
603+++
604*** You can now use '`?`' in 'dired-do-shell-command'; as ' ? ', it gets replaced
508by the current file name. 605by the current file name.
509 606
510*** html2text is now marked obsolete. 607*** html2text is now marked obsolete.
@@ -638,6 +735,18 @@ this is controlled by the 'wdired-create-parent-directories' variable.
638*** 'W' is now bound to 'browse-url-of-dired-file', and is useful for 735*** 'W' is now bound to 'browse-url-of-dired-file', and is useful for
639viewing HTML files and the like. 736viewing HTML files and the like.
640 737
738** Grep
739
740---
741*** Grep commands will now use GNU grep's '--null' option if
742available, which allows distinguishing the filename from contents if
743they contain colons. This can be controlled by the new custom option
744'grep-use-null-filename-separator'.
745
746*** The grep/rgrep/lgrep functions will now ask about saving files
747before running. This is controlled by the 'grep-save-buffers'
748variable.
749
641** Edebug 750** Edebug
642 751
643*** Edebug can be prevented from pausing 1 second after reaching a 752*** Edebug can be prevented from pausing 1 second after reaching a
@@ -702,6 +811,14 @@ Ido mode is active.
702in question). 811in question).
703 812
704+++ 813+++
814*** It's now possible to specify aspect-ratio preserving combinations
815of :width/:max-height and :height/:max-width keywords. In either
816case, the "max" keywords win. (Previously some combinations would,
817depending on the aspect ratio of the image, just be ignored and in
818other instances this would lead to the aspect ratio not being
819preserved.)
820
821+++
705*** Images inserted with 'insert-image' and related functions get a 822*** Images inserted with 'insert-image' and related functions get a
706keymap put into the text properties (or overlays) that span the 823keymap put into the text properties (or overlays) that span the
707image. This keymap binds keystrokes for manipulating size and 824image. This keymap binds keystrokes for manipulating size and
@@ -978,10 +1095,6 @@ things like forward-word in readline work.
978** hideshow mode got four key bindings that are analogous to outline 1095** hideshow mode got four key bindings that are analogous to outline
979mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e.' 1096mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e.'
980 1097
981** The grep/rgrep/lgrep functions will now ask about saving files
982before running. This is controlled by the 'grep-save-buffers'
983variable.
984
985--- 1098---
986** Customizable variable 'query-replace-from-to-separator' 1099** Customizable variable 'query-replace-from-to-separator'
987now doesn't propertize the string value of the separator. 1100now doesn't propertize the string value of the separator.
@@ -1041,6 +1154,10 @@ instead of its first.
1041renamed to 'lread--old-style-backquotes'. No user code should use 1154renamed to 'lread--old-style-backquotes'. No user code should use
1042this variable. 1155this variable.
1043 1156
1157** To avoid confusion caused by "smart quotes", the reader no longer
1158accepts Lisp symbols which begin with the following quotation
1159characters: ‘’‛“”‟〞"', unless they are escaped with backslash.
1160
1044+++ 1161+++
1045** Module functions are now implemented slightly differently; in 1162** Module functions are now implemented slightly differently; in
1046particular, the function 'internal--module-call' has been removed. 1163particular, the function 'internal--module-call' has been removed.
@@ -1050,9 +1167,26 @@ break.
1050 1167
1051* Lisp Changes in Emacs 26.1 1168* Lisp Changes in Emacs 26.1
1052 1169
1170+++
1171** New optional argument TESTFN in 'alist-get', 'map-elt' and 'map-put'.
1172
1053** New function 'seq-set-equal-p' to check if SEQUENCE1 and SEQUENCE2 1173** New function 'seq-set-equal-p' to check if SEQUENCE1 and SEQUENCE2
1054contain the same elements, regardless of the order. 1174contain the same elements, regardless of the order.
1055 1175
1176** Checksum/Hash
1177
1178+++
1179** New function 'secure-hash-algorithms' to list the algorithms that
1180'secure-hash' supports.
1181See the node "(elisp) Checksum/Hash" in the ELisp manual for details.
1182
1183+++
1184** Emacs now exposes the GnuTLS cryptographic API with the functions
1185'gnutls-macs' and 'gnutls-hash-mac'; 'gnutls-digests' and
1186'gnutls-hash-digest'; 'gnutls-ciphers' and 'gnutls-symmetric-encrypt'
1187and 'gnutls-symmetric-decrypt'.
1188See the node "(elisp) GnuTLS Cryptography" in the ELisp manual for details.
1189
1056+++ 1190+++
1057** Emacs now supports records for user-defined types, via the new 1191** Emacs now supports records for user-defined types, via the new
1058functions 'make-record', 'record', and 'recordp'. Records are now 1192functions 'make-record', 'record', and 'recordp'. Records are now
@@ -1418,9 +1552,12 @@ For details see the section "Mouse Window Auto-selection" in the Elisp
1418manual. 1552manual.
1419 1553
1420--- 1554---
1421** 'tcl-auto-fill-mode' is now declared obsolete. It's functionality 1555** 'tcl-auto-fill-mode' is now declared obsolete. Its functionality
1422can be replicated simply by setting 'comment-auto-fill-only-comments'. 1556can be replicated simply by setting 'comment-auto-fill-only-comments'.
1423 1557
1558** New pcase pattern 'rx' to match against a rx-style regular
1559expression.
1560
1424 1561
1425* Changes in Emacs 26.1 on Non-Free Operating Systems 1562* Changes in Emacs 26.1 on Non-Free Operating Systems
1426 1563
@@ -1466,6 +1603,9 @@ debugger has been attached to it.
1466** 'set-mouse-position' and 'set-mouse-absolute-pixel-position' work 1603** 'set-mouse-position' and 'set-mouse-absolute-pixel-position' work
1467on macOS. 1604on macOS.
1468 1605
1606** Emacs can now be run as a GUI application from the command line on
1607macOS.
1608
1469 1609
1470---------------------------------------------------------------------- 1610----------------------------------------------------------------------
1471This file is part of GNU Emacs. 1611This file is part of GNU Emacs.