aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS287
1 files changed, 146 insertions, 141 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 91e5419229c..1ad8451744e 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -119,9 +119,30 @@ These variables are for users who would like to avoid the small
119probability of data corruption due to techniques Emacs uses to recover 119probability of data corruption due to techniques Emacs uses to recover
120in these situations. 120in these situations.
121 121
122+++
123** A second dir-local file (.dir-locals-2.el) is now accepted.
124See the variable 'dir-locals-file-2' for more information.
125
126---
127** International domain names (IDNA) are now encoded via the new
128puny.el library, so that one can visit web sites with non-ASCII URLs.
129
130+++
131** The new 'timer-list' command lists all active timers in a buffer
132where you can cancel them with the 'c' command.
133
134+++
135** New function 'read-multiple-choice' use to prompt for
136multiple-choice questions, with a handy way to display help texts.
137
122 138
123* Editing Changes in Emacs 25.2 139* Editing Changes in Emacs 25.2
124 140
141+++
142** New bindings for 'query-replace-map'.
143'undo', undo the last replacement; bound to 'u'.
144'undo-all', undo all replacements; bound to 'U'.
145
125 146
126* Changes in Specialized Modes and Packages in Emacs 25.2 147* Changes in Specialized Modes and Packages in Emacs 25.2
127 148
@@ -130,6 +151,18 @@ in these situations.
130--- 151---
131*** Messages from CMake are now recognized. 152*** Messages from CMake are now recognized.
132 153
154** Dired
155
156+++
157*** In wdired, when editing files to contain slash characters,
158the resulting directories are automatically created. Whether
159to do this or not is controlled by the
160'wdired-create-parent-directories' variable.
161
162+++
163*** 'W' is now bound to 'browse-url-of-dired-file', and is useful for
164viewing HTML files and the like.
165
133** eww 166** eww
134 167
135+++ 168+++
@@ -140,6 +173,41 @@ in these situations.
140with the 'o' command from 'image-map'. 173with the 'o' command from 'image-map'.
141 174
142+++ 175+++
176*** A new command 'C' ('eww-toggle-colors') can be used to toggle
177whether to use the HTML-specified colors or not. The user can also
178customize the 'shr-use-colors' variable.
179
180---
181*** Images that are being loaded are now marked with grey
182"placeholder" images of the size specified by the HTML. They are then
183replaced by the real images asynchronously, which will also now
184respect width/height HTML specs (unless they specify widths/heights
185bigger than the current window).
186
187** Images
188
189+++
190*** Images are automatically scaled before displaying based on the
191'image-scaling-factor' variable (if Emacs supports scaling the images
192in question).
193
194+++
195*** Images inserted with 'insert-image' and related functions get a
196keymap put into the text properties (or overlays) that span the
197image. This keymap binds keystrokes for manipulating size and
198rotation, as well as saving the image to a file. These commands are
199also available in 'image-mode'.
200
201+++
202*** A new library for creating and manipulating SVG images has been
203added. See the "SVG Images" section in the lispref manual for
204details.
205
206+++
207*** New setf-able function to access and set image parameters is
208provided: 'image-property'.
209
210+++
143** The commands that add ChangeLog entries now prefer a VCS root directory 211** The commands that add ChangeLog entries now prefer a VCS root directory
144for the ChangeLog file, if none already exists. Customize 212for the ChangeLog file, if none already exists. Customize
145'change-log-directory-files' to nil for the old behavior. 213'change-log-directory-files' to nil for the old behavior.
@@ -147,14 +215,25 @@ for the ChangeLog file, if none already exists. Customize
147--- 215---
148** Support for non-string values of 'time-stamp-format' has been removed. 216** Support for non-string values of 'time-stamp-format' has been removed.
149 217
150** Tramp
151
152** Message 218** Message
153 219
154--- 220---
155*** `message-use-idna' now defaults to t (because Emacs comes with 221*** `message-use-idna' now defaults to t (because Emacs comes with
156built-in IDNA support now). 222built-in IDNA support now).
157 223
224---
225*** The 'message-valid-fqdn-regexp' variable has been removed, since
226there are now top-level domains added all the time. Message will no
227longer warn about sending emails to top-level domains it hasn't heard
228about.
229
230*** 'message-beginning-of-line' (bound to C-a) understands folded headers.
231In 'visual-line-mode' it will look for the true beginning of a header
232while in non-'visual-line-mode' it will move the point to the indented
233header's value.
234
235** Tramp
236
158+++ 237+++
159*** New connection method "sg", which allows to edit files under 238*** New connection method "sg", which allows to edit files under
160different group ID. 239different group ID.
@@ -176,6 +255,39 @@ different group ID.
176string literals. The syntax variants \N{character name} and 255string literals. The syntax variants \N{character name} and
177\N{U+code} are supported. 256\N{U+code} are supported.
178 257
258+++
259** Prog mode has some support for multi-mode indentation.
260This allows better indentation support in modes that support multiple
261programming languages in the same buffer, like literate programming
262environments or ANTLR programs with embedded Python code.
263
264A major mode can provide indentation context for a sub-mode through
265the 'prog-indentation-context' variable. To support this, modes that
266provide indentation should use 'prog-widen' instead of 'widen' and
267'prog-first-column' instead of a literal zero. See the node
268"Mode-Specific Indent" in the ELisp manual for more details.
269
270** ERC
271
272*** New variable 'erc-default-port-tls' used to connect to TLS IRC
273servers.
274
275** URL
276
277+++
278*** The new function 'url-cookie-delete-cookie' can be used to
279programmatically delete all cookies, or cookies from a specific
280domain.
281
282*** The URL package now support https over proxies supporting CONNECT.
283
284** VC and related modes
285
286---
287*** The VC state indicator in the mode line now defaults to more
288colorful faces to make it more obvious to the user what the state is.
289See the 'vc-faces' customization group.
290
179 291
180* New Modes and Packages in Emacs 25.2 292* New Modes and Packages in Emacs 25.2
181 293
@@ -186,6 +298,18 @@ string literals. The syntax variants \N{character name} and
186** Resizing a frame no longer runs 'window-configuration-change-hook'. 298** Resizing a frame no longer runs 'window-configuration-change-hook'.
187Put your function on 'window-size-change-functions' instead. 299Put your function on 'window-size-change-functions' instead.
188 300
301** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term
302mode to send the same escape sequences that xterm does. This makes
303things like forward-word in readline work.
304
305---
306** hideshow mode got four key bindings that are analogous to outline
307mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e.'
308
309** The grep/rgrep/lgrep functions will now ask about saving files
310before running. This is controlled by the 'grep-save-buffers'
311variable.
312
189 313
190* Lisp Changes in Emacs 25.2 314* Lisp Changes in Emacs 25.2
191 315
@@ -218,6 +342,14 @@ a new window when opening man pages when there's already one, use
218 (inhibit-same-window . nil) 342 (inhibit-same-window . nil)
219 (mode . Man-mode)))) 343 (mode . Man-mode))))
220 344
345---
346** There is now a new variable 'flyspell-sort-corrections-function'
347that allows changing the way corrections are sorted.
348
349---
350** The new command 'fortune-message' has been added, which displays
351fortunes in the echo area.
352
221+++ 353+++
222** New function 'func-arity' returns information about the argument list 354** New function 'func-arity' returns information about the argument list
223of an arbitrary function. 355of an arbitrary function.
@@ -237,10 +369,20 @@ permanent and documented, and may be used by Lisp programs. Its value
237is a list of currently open parenthesis positions, starting with the 369is a list of currently open parenthesis positions, starting with the
238outermost parenthesis. 370outermost parenthesis.
239 371
372---
373** 'read-color' will now display the color names using the color itself
374as the background color.
375
240** The function 'redirect-debugging-output' now works on platforms 376** The function 'redirect-debugging-output' now works on platforms
241other than GNU/Linux. 377other than GNU/Linux.
242 378
243+++ 379+++
380** The new function 'string-version-lessp' compares strings by
381interpreting consecutive runs of numerical characters as numbers, and
382compares their numerical values. According to this predicate,
383"foo2.png" is smaller than "foo12.png".
384
385+++
244** New functions 'sxhash-eq' and 'sxhash-eql' return hash codes of a 386** New functions 'sxhash-eq' and 'sxhash-eql' return hash codes of a
245Lisp object suitable for use with 'eq' and 'eql' correspondingly. If 387Lisp object suitable for use with 'eq' and 'eql' correspondingly. If
246two objects are 'eq' ('eql'), then the result of 'sxhash-eq' 388two objects are 'eq' ('eql'), then the result of 'sxhash-eq'
@@ -436,31 +578,16 @@ by default, and must be enabled by using the '--with-modules' option
436at configure time. 578at configure time.
437 579
438+++ 580+++
439** A second dir-local file (.dir-locals-2.el) is now accepted.
440See the variable 'dir-locals-file-2' for more information.
441
442+++
443** Network security (TLS/SSL certificate validity and the like) is 581** Network security (TLS/SSL certificate validity and the like) is
444added via the new Network Security Manager (NSM) and controlled via 582added via the new Network Security Manager (NSM) and controlled via
445the 'network-security-level' variable. 583the 'network-security-level' variable.
446 584
447---
448** International domain names (IDNA) are now encoded via the new
449puny.el library, so that one can visit web sites with non-ASCII URLs.
450
451+++ 585+++
452** C-h l now also lists the commands that were run. 586** C-h l now also lists the commands that were run.
453 587
454** The new M-s M-w key binding uses eww to search the web for the
455text in the region.
456
457+++ 588+++
458** The new 'timer-list' command lists all active timers in a buffer 589** x-select-enable-clipboard is renamed select-enable-clipboard
459where you can cancel them with the 'c' command. 590and x-select-enable-primary is renamed select-enable-primary.
460
461** M-x suggests shorthands and ignores obsolete commands for completion.
462** x-select-enable-clipboard is renamed select-enable-clipboard.
463x-select-enable-primary and renamed select-enable-primary.
464Additionally they both now apply to all systems (OSX, GNUstep, Windows, you 591Additionally they both now apply to all systems (OSX, GNUstep, Windows, you
465name it), with the proviso that on some systems (e.g. Windows) 592name it), with the proviso that on some systems (e.g. Windows)
466select-enable-primary is ineffective since the system doesn't 593select-enable-primary is ineffective since the system doesn't
@@ -476,10 +603,6 @@ selected window is strongly dedicated to its buffer.
476'even-window-sizes' and now handles window widths as well. 603'even-window-sizes' and now handles window widths as well.
477 604
478+++ 605+++
479** New function 'read-multiple-choice' use to prompt for
480multiple-choice questions, with a handy way to display help texts.
481
482+++
483** terpri gets an optional arg ENSURE to conditionally output a newline. 606** terpri gets an optional arg ENSURE to conditionally output a newline.
484 607
485+++ 608+++
@@ -601,11 +724,6 @@ is intended for adding to 'kill-emacs-query-functions'.
601in favor of the global 'M-s h' bindings introduced in Emacs-23.1. 724in favor of the global 'M-s h' bindings introduced in Emacs-23.1.
602They'll disappear soon. 725They'll disappear soon.
603 726
604+++
605** New bindings for 'query-replace-map'.
606'undo', undo the last replacement; bound to 'u'.
607'undo-all', undo all replacements; bound to 'U'.
608
609 727
610* Changes in Specialized Modes and Packages in Emacs 25.1 728* Changes in Specialized Modes and Packages in Emacs 25.1
611 729
@@ -669,18 +787,6 @@ the ordering of object keys by default.
669'json-pretty-print-buffer-ordered' pretty prints JSON objects with 787'json-pretty-print-buffer-ordered' pretty prints JSON objects with
670object keys sorted alphabetically. 788object keys sorted alphabetically.
671 789
672+++
673** Prog mode has some support for multi-mode indentation.
674This allows better indentation support in modes that support multiple
675programming languages in the same buffer, like literate programming
676environments or ANTLR programs with embedded Python code.
677
678A major mode can provide indentation context for a sub-mode through
679the 'prog-indentation-context' variable. To support this, modes that
680provide indentation should use 'prog-widen' instead of 'widen' and
681'prog-first-column' instead of a literal zero. See the node
682"Mode-Specific Indent" in the ELisp manual for more details.
683
684** Prettify Symbols mode 790** Prettify Symbols mode
685 791
686+++ 792+++
@@ -736,9 +842,6 @@ obsolete alias for the new 'save-place-local-mode' command.
736'erc-network-hide-list' and 'erc-channel-hide-list' will only hide the 842'erc-network-hide-list' and 'erc-channel-hide-list' will only hide the
737specified message types for the respective specified targets. 843specified message types for the respective specified targets.
738 844
739*** New variable 'erc-default-port-tls' used to connect to TLS IRC
740servers.
741
742--- 845---
743*** Reconnection is now asynchronous. 846*** Reconnection is now asynchronous.
744 847
@@ -990,11 +1093,6 @@ whether to use variable-pitch fonts or not. The user can also
990customize the 'shr-use-fonts' variable. 1093customize the 'shr-use-fonts' variable.
991 1094
992+++ 1095+++
993*** A new command 'C' ('eww-toggle-colors') can be used to toggle
994whether to use the HTML-specified colors or not. The user can also
995customize the 'shr-use-colors' variable.
996
997+++
998*** A new command 'R' ('eww-readable') will try do identify the main 1096*** A new command 'R' ('eww-readable') will try do identify the main
999textual parts of a web page and display only that, leaving menus and 1097textual parts of a web page and display only that, leaving menus and
1000the like off the page. 1098the like off the page.
@@ -1004,13 +1102,6 @@ the like off the page.
1004toggle the paragraph direction between left-to-right and right-to-left. 1102toggle the paragraph direction between left-to-right and right-to-left.
1005 1103
1006--- 1104---
1007*** Images that are being loaded are now marked with grey
1008"placeholder" images of the size specified by the HTML. They are then
1009replaced by the real images asynchronously, which will also now
1010respect width/height HTML specs (unless they specify widths/heights
1011bigger than the current window).
1012
1013---
1014*** You can now use several eww buffers in parallel by renaming eww 1105*** You can now use several eww buffers in parallel by renaming eww
1015buffers you want to keep separate. 1106buffers you want to keep separate.
1016 1107
@@ -1049,17 +1140,6 @@ invalid certificates are marked in red.
1049*** text/html messages that contain inline image parts will be 1140*** text/html messages that contain inline image parts will be
1050transformed into multipart/related messages before sending. 1141transformed into multipart/related messages before sending.
1051 1142
1052---
1053*** The 'message-valid-fqdn-regexp' variable has been removed, since
1054there are now top-level domains added all the time. Message will no
1055longer warn about sending emails to top-level domains it hasn't heard
1056about.
1057
1058*** 'message-beginning-of-line' (bound to C-a) understands folded headers.
1059In 'visual-line-mode' it will look for the true beginning of a header
1060while in non-'visual-line-mode' it will move the point to the indented
1061header's value.
1062
1063+++ 1143+++
1064** In Show Paren Mode, a parenthesis can be highlighted when point 1144** In Show Paren Mode, a parenthesis can be highlighted when point
1065stands inside it, and certain parens can be highlighted when point is 1145stands inside it, and certain parens can be highlighted when point is
@@ -1071,30 +1151,6 @@ respectively, 'show-paren-when-point-inside-paren' or
1071** If gpg2 exists on the system, it is now used as the default value 1151** If gpg2 exists on the system, it is now used as the default value
1072of 'epg-gpg-program' (instead of gpg). 1152of 'epg-gpg-program' (instead of gpg).
1073 1153
1074** Images
1075
1076+++
1077*** Images are automatically scaled before displaying based on the
1078'image-scaling-factor' variable (if Emacs supports scaling the images
1079in question).
1080
1081+++
1082*** Images inserted with 'insert-image' and related functions get a
1083keymap put into the text properties (or overlays) that span the
1084image. This keymap binds keystrokes for manipulating size and
1085rotation, as well as saving the image to a file. These commands are
1086also available in 'image-mode'.
1087
1088+++
1089*** A new library for creating and manipulating SVG images has been
1090added. See the "SVG Images" section in the lispref manual for
1091details.
1092
1093+++
1094*** New setf-able function to access and set image parameters is
1095provided: 'image-property'.
1096
1097
1098** Lisp mode 1154** Lisp mode
1099 1155
1100--- 1156---
@@ -1268,13 +1324,6 @@ variable, meaning you can bind it around an 'url-retrieve' call.
1268plist will contain a :peer element that has the output of 1324plist will contain a :peer element that has the output of
1269'gnutls-peer-status' (if Emacs is built with GnuTLS support). 1325'gnutls-peer-status' (if Emacs is built with GnuTLS support).
1270 1326
1271+++
1272*** The new function 'url-cookie-delete-cookie' can be used to
1273programmatically delete all cookies, or cookies from a specific
1274domain.
1275
1276*** The URL package now support https over proxies supporting CONNECT.
1277
1278** Tramp 1327** Tramp
1279 1328
1280+++ 1329+++
@@ -1324,11 +1373,6 @@ This command is useful when you perform version control commands
1324outside Emacs (e.g., from the shell prompt), or if you switch the VC 1373outside Emacs (e.g., from the shell prompt), or if you switch the VC
1325back-end for the buffer's file, or remove it from version control. 1374back-end for the buffer's file, or remove it from version control.
1326 1375
1327---
1328*** The VC state indicator in the mode line now defaults to more
1329colorful faces to make it more obvious to the user what the state is.
1330See the 'vc-faces' customization group.
1331
1332+++ 1376+++
1333*** New option 'vc-annotate-background-mode' controls whether 1377*** New option 'vc-annotate-background-mode' controls whether
1334the color range from 'vc-annotate-color-map' is applied to the 1378the color range from 'vc-annotate-color-map' is applied to the
@@ -1617,15 +1661,6 @@ compression command is determined from the new
1617'dired-compress-files-alist' variable. 1661'dired-compress-files-alist' variable.
1618 1662
1619+++ 1663+++
1620*** In wdired, when editing files to contain slash characters,
1621the resulting directories are automatically created. Whether
1622to do this or not is controlled by the
1623'wdired-create-parent-directories' variable.
1624
1625+++
1626*** 'W' is now bound to 'browse-url-of-dired-file', and is useful for
1627viewing HTML files and the like.
1628
1629*** New user interface for the 'A' and 'Q' commands. 1664*** New user interface for the 'A' and 'Q' commands.
1630These keys, now bound to 'dired-do-find-regexp' and 1665These keys, now bound to 'dired-do-find-regexp' and
1631'dired-do-find-regexp-and-replace', work similarly to 'xref-find-apropos' 1666'dired-do-find-regexp-and-replace', work similarly to 'xref-find-apropos'
@@ -1771,14 +1806,6 @@ Although M-x term still sets EMACS for compatibility with Bash 4.3 and earlier,
1771this is deprecated and will be phased out when Bash 4.4 or later takes over. 1806this is deprecated and will be phased out when Bash 4.4 or later takes over.
1772Use the INSIDE_EMACS environment variable instead. 1807Use the INSIDE_EMACS environment variable instead.
1773 1808
1774** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term
1775mode to send the same escape sequences that xterm does. This makes
1776things like forward-word in readline work.
1777
1778---
1779** hideshow mode got four key bindings that are analogous to outline
1780mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e.'
1781
1782+++ 1809+++
1783** 'save-excursion' does not save&restore the mark any more. 1810** 'save-excursion' does not save&restore the mark any more.
1784Use 'save-mark-and-excursion' if you want the old behavior. 1811Use 'save-mark-and-excursion' if you want the old behavior.
@@ -1873,10 +1900,6 @@ behavior, set 'diff-switches' to '-c'.
1873dynamically. Any third-party code that changes these templates should 1900dynamically. Any third-party code that changes these templates should
1874be updated accordingly. 1901be updated accordingly.
1875 1902
1876** The grep/rgrep/lgrep functions will now ask about saving files
1877before running. This is controlled by the 'grep-save-buffers'
1878variable.
1879
1880+++ 1903+++
1881** '(/ N)' is now equivalent to '(/ 1 N)' rather than to '(/ N 1)'. 1904** '(/ N)' is now equivalent to '(/ 1 N)' rather than to '(/ N 1)'.
1882The new behavior is compatible with Common Lisp and with XEmacs. 1905The new behavior is compatible with Common Lisp and with XEmacs.
@@ -1982,10 +2005,6 @@ details.
1982It should be placed right where the docstring would be, and FORM is then 2005It should be placed right where the docstring would be, and FORM is then
1983evaluated (and should return a string) when the closure is built. 2006evaluated (and should return a string) when the closure is built.
1984 2007
1985---
1986** The new command 'fortune-message' has been added, which displays
1987fortunes in the echo area.
1988
1989+++ 2008+++
1990** define-inline provides a new way to define inlinable functions. 2009** define-inline provides a new way to define inlinable functions.
1991 2010
@@ -2012,12 +2031,6 @@ environment. For the time being this is implemented for modern POSIX
2012systems and for MS-Windows, for other systems they fall back to their 2031systems and for MS-Windows, for other systems they fall back to their
2013counterparts 'string-lessp' and 'string-equal'. 2032counterparts 'string-lessp' and 'string-equal'.
2014 2033
2015+++
2016** The new function 'string-version-lessp' compares strings by
2017interpreting consecutive runs of numerical characters as numbers, and
2018compares their numerical values. According to this predicate,
2019"foo2.png" is smaller than "foo12.png".
2020
2021--- 2034---
2022*** The ls-lisp package uses 'string-collate-lessp' to sort file names. 2035*** The ls-lisp package uses 'string-collate-lessp' to sort file names.
2023The effect is that, on systems that use ls-lisp for Dired, the default 2036The effect is that, on systems that use ls-lisp for Dired, the default
@@ -2212,14 +2225,6 @@ coding-system of your choice when invoking functions like 'prin1' and
2212** New possible value for 'system-type': 'nacl'. 2225** New possible value for 'system-type': 'nacl'.
2213This is used by Google's Native Client (NaCl). 2226This is used by Google's Native Client (NaCl).
2214 2227
2215---
2216** 'read-color' will now display the color names using the color itself
2217as the background color.
2218
2219---
2220** There is now a new variable 'flyspell-sort-corrections-function'
2221that allows changing the way corrections are sorted.
2222
2223** Miscellaneous name change 2228** Miscellaneous name change
2224 2229
2225--- 2230---