* configure.ac: fix typo in previous change
[emacs.git] / etc / NEWS
blobd2016e1352cafdd3df46763d59bf62d02adba89b
1 GNU Emacs NEWS -- history of user-visible changes.
3 Copyright (C) 2014-2017 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
6 Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
7 If possible, use M-x report-emacs-bug.
9 This file is about changes in Emacs version 26.
11 See file HISTORY for a list of GNU Emacs versions and release dates.
12 See files NEWS.25, NEWS.24, NEWS.23, NEWS.22, NEWS.21, NEWS.20,
13 NEWS.19, NEWS.18, and NEWS.1-17 for changes in older Emacs versions.
15 You can narrow news to a specific version by calling 'view-emacs-news'
16 with a prefix argument or by typing C-u C-h C-n.
18 Temporary note:
19 +++ indicates that all necessary documentation updates are complete.
20     (This means all relevant manuals in doc/ AND lisp doc-strings.)
21 --- means no change in the manuals is needed.
22 When you add a new item, use the appropriate mark if you are sure it applies,
25 * Installation Changes in Emacs 26.1
27 ** By default libgnutls is now required when building Emacs.
28 Use 'configure --with-gnutls=no' to build even when GnuTLS is missing.
30 ** GnuTLS version 2.12.2 or later is now required, instead of merely
31 version 2.6.6 or later.
33 ** The new option 'configure --with-mailutils' causes Emacs to rely on
34 GNU Mailutils to retrieve email.  It is recommended, and is the
35 default if GNU Mailutils is installed.  When --with-mailutils is not
36 in effect, the Emacs build procedure by default continues to build and
37 install a limited 'movemail' substitute that retrieves POP3 email only
38 via insecure channels; to avoid this problem, use either
39 --with-mailutils or --without-pop when configuring.
41 ** The new option 'configure --enable-gcc-warnings=warn-only' causes
42 GCC to issue warnings without stopping the build.  This behavior is
43 now the default in developer builds.  As before, use
44 '--disable-gcc-warnings' to suppress GCC's warnings, and
45 '--enable-gcc-warnings' to stop the build if GCC issues warnings.
47 ** When GCC warnings are enabled, '--enable-check-lisp-object-type' is
48 now enabled by default when configuring.
50 +++
51 ** The Emacs server now has socket-launching support.  This allows
52 socket based activation, where an external process like systemd can
53 invoke the Emacs server process upon a socket connection event and
54 hand the socket over to Emacs.  Emacs uses this socket to service
55 emacsclient commands.  This new functionality can be disabled with the
56 configure option '--disable-libsystemd'.
58 +++
59 ** A systemd user unit file is provided.  Use it in the standard way:
60 systemctl --user enable emacs
61 (If your Emacs is installed in a non-standard location, you may
62 need to copy the emacs.service file to eg ~/.config/systemd/user/)
64 ** New configure option '--disable-build-details' attempts to build an
65 Emacs that is more likely to be reproducible; that is, if you build
66 and install Emacs twice, the second Emacs is a copy of the first.
67 Deterministic builds omit the build date from the output of the
68 emacs-version and erc-cmd-SV functions, and the leave the following
69 variables nil: emacs-build-system, emacs-build-time,
70 erc-emacs-build-time.
72 ** The configure option '--with-gameuser' now defaults to 'no',
73 as this appears to be the most common configuration in practice.
74 When it is 'no', the shared game directory and the auxiliary program
75 update-game-score are no longer needed and are not installed.
77 ** Emacs no longer works on IRIX.  We expect that Emacs users are not
78 affected by this, as SGI stopped supporting IRIX in December 2013.
81 * Startup Changes in Emacs 26.1
83 +++
84 ** New option '--fg-daemon'.  This is the same as '--daemon', except
85 it runs in the foreground and does not fork.  This is intended for
86 modern init systems such as systemd, which manage many of the traditional
87 aspects of daemon behavior themselves.  '--bg-daemon' is now an alias
88 for '--daemon'.
90 +++
91 ** New option '--module-assertions'.
92 When given this option, Emacs will perform expensive correctness
93 checks when dealing with dynamic modules.  This is intended for module
94 authors that wish to verify that their module conforms to the module
95 requirements.  The option makes Emacs abort if a module-related
96 assertion triggers.
98 +++
99 ** Emacs now supports 24-bit colors on capable text terminals
100 Terminal is automatically initialized to use 24-bit colors if the
101 required capabilities are found in terminfo.  See the FAQ node
102 "Colors on a TTY" for more information.
105 ** Emacs now obeys the X resource "scrollBar" at startup.
106 The effect is similar to that of "toolBar" resource on the tool bar.
109 * Changes in Emacs 26.1
112 ** The function 'assoc' now takes an optional third argument 'testfn'.
113 This argument, when non-nil, is used for comparison instead of
114 'equal'.
117 ** New variable 'executable-prefix-env' for inserting magic signatures.
118 This variable affects the format of the interpreter magic number
119 inserted by 'executable-set-magic'.  If non-nil, the magic number now
120 takes the form "#!/usr/bin/env interpreter", otherwise the value
121 determined by 'executable-prefix', which is by default
122 "#!/path/to/interpreter".  By default, 'executable-prefix-env' is nil,
123 so the default behavior is not changed.
126 ** The variable 'emacs-version' no longer includes the build number.
127 This is now stored separately in a new variable, 'emacs-build-number'.
130 ** The new function 'mapbacktrace' applies a function to all frames of
131 the current stack trace.
134 ** Emacs now provides a limited form of concurrency with Lisp threads.
135 Concurrency in Emacs Lisp is "mostly cooperative", meaning that
136 Emacs will only switch execution between threads at well-defined
137 times: when Emacs waits for input, during blocking operations related
138 to threads (such as mutex locking), or when the current thread
139 explicitly yields.  Global variables are shared among all threads, but
140 a 'let' binding is thread-local.  Each thread also has its own current
141 buffer and its own match data.
143 See the chapter "Threads" in the ELisp manual for full documentation
144 of these facilities.
147 ** The new function 'file-name-case-insensitive-p' tests whether a
148 given file is on a case-insensitive filesystem.
151 ** The new user variable 'electric-quote-chars' provides a list
152 of curved quotes for 'electric-quote-mode', allowing user to choose
153 the types of quotes to be used.
155 ** The new user option 'electric-quote-context-sensitive' makes
156 'electric-quote-mode' context sensitive.  If it is non-nil, you can
157 type an ASCII apostrophe to insert an opening or closing quote,
158 depending on context.  Emacs will replace the apostrophe by an opening
159 quote character at the beginning of the buffer, the beginning of a
160 line, after a whitespace character, and after an opening parenthesis;
161 and it will replace the apostrophe by a closing quote character in all
162 other cases.
164 ** The new variable 'electric-quote-inhibit-functions' controls when
165 to disable electric quoting based on context.  Major modes can add
166 functions to this list; Emacs will temporarily disable
167 'electric-quote-mode' whenever any of the functions returns non-nil.
168 This can be used by major modes that derive from 'text-mode' but allow
169 inline code segments, such as 'markdown-mode'.
172 ** The new user variable 'dired-omit-case-fold' allows the user to
173 customize the case-sensitivity of dired-omit-mode.  It defaults to
174 the same sensitivity as that of the filesystem for the corresponding
175 dired buffer.
178 ** Emacs now uses double buffering to reduce flicker when editing and
179 resizing graphical Emacs frames on the X Window System.  This support
180 requires the DOUBLE-BUFFER extension, which major X servers have
181 supported for many years.  If your system has this extension, but an
182 Emacs built with double buffering misbehaves on some displays you use,
183 you can disable the feature by adding
185   '(inhibit-double-buffering . t)
187 to default-frame-alist.  Or inject this parameter into the selected
188 frame by evaluating this form:
190   (modify-frame-parameters nil '((inhibit-double-buffering . t)))
193 The group 'wp', whose label was "text", is now deprecated.
194 Use the new group 'text', which inherits from 'wp', instead.
197 ** The new function 'call-shell-region' executes a command in an
198 inferior shell with the buffer region as input.
201 ** The new user option 'shell-command-dont-erase-buffer' controls
202 if the output buffer is erased between shell commands; if non-nil,
203 the output buffer is not erased; this variable also controls where
204 to set the point in the output buffer: beginning of the output,
205 end of the buffer or save the point.
206 When 'shell-command-dont-erase-buffer' is nil, the default value,
207 the behavior of 'shell-command', 'shell-command-on-region' and
208 'async-shell-command' is as usual.
211 ** The new user option 'async-shell-command-display-buffer' controls
212 whether the output buffer of an asynchronous command is shown
213 immediately, or only when there is output.
216 ** The new user option 'mouse-select-region-move-to-beginning'
217 controls the position of point when double-clicking mouse-1 on the end
218 of a parenthetical grouping or string-delimiter: the default value nil
219 keeps point at the end of the region, setting it to non-nil moves
220 point to the beginning of the region.
223 ** The new user option 'mouse-drag-and-drop-region' allows to drag the
224 entire region of text to another place or another buffer.
227 ** The new user option 'confirm-kill-processes' allows the user to
228 skip a confirmation prompt for killing subprocesses when exiting
229 Emacs.  When set to t (the default), Emacs will prompt for
230 confirmation before killing subprocesses on exit, which is the same
231 behavior as before.
234 ** 'find-library-name' will now fall back on looking at 'load-history'
235 to try to locate libraries that have been loaded with an explicit path
236 outside 'load-path'.
239 ** Faces in 'minibuffer-prompt-properties' no longer overwrite properties
240 in the text in functions like 'read-from-minibuffer', but instead are
241 added to the end of the face list.  This allows users to say things
242 like '(read-from-minibuffer (propertize "Enter something: " 'face 'bold))'.
245 ** The new variable 'extended-command-suggest-shorter' has been added
246 to control whether to suggest shorter 'M-x' commands or not.
249 ** icomplete now respects 'completion-ignored-extensions'.
252 ** Non-breaking hyphens are now displayed with the 'nobreak-hyphen'
253 face instead of the 'escape-glyph' face.
256 ** Approximations to quotes are now displayed with the new 'homoglyph'
257 face instead of the 'escape-glyph' face.
260 ** New face 'header-line-highlight'.
261 This face is the header-line analogue of 'mode-line-highlight'; it
262 should be the preferred mouse-face for mouse-sensitive elements in the
263 header line.
266 ** 'C-x h' ('mark-whole-buffer') will now avoid marking the prompt
267 part of minibuffers.
270 ** 'find-library' now takes a prefix argument to pop to a different
271 window.
274 ** 'process-attributes' on Darwin systems now returns more information.
277 ** Several accessors for the value returned by 'file-attributes'
278 have been added.  They are: 'file-attribute-type',
279 'file-attribute-link-number', 'file-attribute-user-id',
280 'file-attribute-group-id', 'file-attribute-access-time',
281 'file-attribute-modification-time',
282 'file-attribute-status-change-time', 'file-attribute-size',
283 'file-attribute-modes', 'file-attribute-inode-number',
284 'file-attribute-device-number' and 'file-attribute-collect'.
287 ** The new function 'buffer-hash' computes a fast, non-consing hash of
288 a buffer's contents.
291 ** 'fill-paragraph' no longer marks the buffer as changed unless it
292 actually changed something.
295 ** The locale language name 'ca' is now mapped to the language
296 environment 'Catalan', which has been added.
299 ** 'align-regexp' has a separate history for its interactive argument.
300 'align-regexp' no longer shares its history with all other
301 history-less functions that use 'read-string'.
304 ** The networking code has been reworked so that it's more
305 asynchronous than it was (when specifying :nowait t in
306 'make-network-process').  How asynchronous it is varies based on the
307 capabilities of the system, but on a typical GNU/Linux system the DNS
308 resolution, the connection, and (for TLS streams) the TLS negotiation
309 are all done without blocking the main Emacs thread.  To get
310 asynchronous TLS, the TLS boot parameters have to be passed in (see
311 the manual for details).
313 Certain process oriented functions (like 'process-datagram-address')
314 will block until socket setup has been performed.  The recommended way
315 to deal with asynchronous sockets is to avoid interacting with them
316 until they have changed status to "run".  This is most easily done
317 from a process sentinel.
319 ** 'make-network-process' and 'open-network-stream' sometimes allowed
320 :service to be an integer string (e.g., :service "993") and sometimes
321 required an integer (e.g., :service 993).  This difference has been
322 eliminated, and integer strings work everywhere.
324 ** It is possible to disable attempted recovery on fatal signals.
326 Two new variables support disabling attempts to recover from stack
327 overflow and to avoid automatic auto-save when Emacs is delivered a
328 fatal signal.  'attempt-stack-overflow-recovery', if set to 'nil',
329 will disable attempts to recover from C stack overflows; Emacs will
330 then crash as with any other fatal signal.
331 'attempt-orderly-shutdown-on-fatal-signal', if set to 'nil', will
332 disable attempts to auto-save the session and shut down in an orderly
333 fashion when Emacs receives a fatal signal; instead, Emacs will
334 terminate immediately.  Both variables are non-'nil' by default.
335 These variables are for users who would like to avoid the small
336 probability of data corruption due to techniques Emacs uses to recover
337 in these situations.
340 ** 'interrupt-process' consults now the list
341 'interrupt-process-functions', which function has to be called in
342 order to deliver the SIGINT signal.  This allows Tramp to send the
343 SIGINT signal to remote asynchronous processes.  The hitherto existing
344 implementation has been moved to 'internal-default-interrupt-process'.
347 ** File local and directory local variables are now initialized each
348 time the major mode is set, not just when the file is first visited.
349 These local variables will thus not vanish on setting a major mode.
352 ** A second dir-local file (.dir-locals-2.el) is now accepted.
353 See the variable 'dir-locals-file-2' for more information.
356 ** Connection-local variables can be used to specify local variables
357 with a value depending on the connected remote server.  For details,
358 see the node "Connection Local Variables" in the ELisp manual.
361 ** International domain names (IDNA) are now encoded via the new
362 puny.el library, so that one can visit web sites with non-ASCII URLs.
365 ** The new 'timer-list' command lists all active timers in a buffer,
366 where you can cancel them with the 'c' command.
369 ** The new function 'read-multiple-choice' prompts for multiple-choice
370 questions, with a handy way to display help texts.
373 ** 'switch-to-buffer-preserve-window-point' now defaults to t.
376 ** The new variable 'debugger-stack-frame-as-list' allows displaying
377 all call stack frames in a Lisp backtrace buffer as lists.  Both
378 debug.el and edebug.el have been updated to heed to this variable.
381 ** Values in call stack frames are now displayed using 'cl-prin1'.
382 The old behaviour of using 'prin1' can be restored by customizing the
383 new option 'debugger-print-function'.
386 ** NUL bytes in strings copied to the system clipboard are now
387 replaced with "\0".
390 ** The new variable 'x-ctrl-keysym' has been added to the existing
391 roster of X keysyms.  It can be used in combination with another
392 variable of this kind to swap modifiers in Emacs.
395 ** New input methods: 'cyrillic-tuvan', 'polish-prefix'.
398 ** The 'dutch' input method no longer attempts to support Turkish too.
399 Also, it no longer converts 'IJ' and 'ij' to the compatibility
400 characters U+0132 LATIN CAPITAL LIGATURE IJ and U+0133 LATIN SMALL
401 LIGATURE IJ.
404 ** File name quoting by adding the prefix "/:" is now possible for the
405 local part of a remote file name.  Thus, if you have a directory named
406 "/~" on the remote host "foo", you can prevent it from being
407 substituted by a home directory by writing it as "/foo:/:/~/file".
410 ** The new variable 'maximum-scroll-margin' allows having effective
411 settings of 'scroll-margin' up to half the window size, instead of
412 always restricting the margin to a quarter of the window.
415 ** Emacs can scroll horizontally using mouse, touchpad, and trackbar.
416 You can enable this by customizing 'mwheel-tilt-scroll-p'.  If you
417 want to reverse the direction of the scroll, customize
418 'mwheel-flip-direction'.
421 ** Emacsclient has a new option -u/--suppress-output.  The option
422 suppresses display of return values from the server process.
425 ** New user option 'dig-program-options' and extended functionality
426 for DNS-querying functions 'nslookup-host', 'dns-lookup-host',
427 and 'run-dig'.  Each function now accepts an optional name server
428 argument interactively (with a prefix argument) and non-interactively.
431 ** Emacsclient has a new option -T/--tramp.
432 This helps with using a local Emacs session as the server for a remote
433 emacsclient.  With appropriate setup, one can now set the EDITOR
434 environment variable on a remote machine to emacsclient, and
435 use the local Emacs to edit remote files via Tramp.  See the node
436 "emacsclient Options" in the user manual for the details.
439 ** 'describe-key-briefly' now ignores mouse movement events.
442 ** The new variable 'eval-expression-print-maximum-character' prevents
443 large integers from being displayed as characters.
445 ** Two new commands for finding the source code of Emacs Lisp
446 libraries: 'find-library-other-window' and 'find-library-other-frame'.
449 ** The new variable 'display-raw-bytes-as-hex' allows to change the
450 display of raw bytes from octal to hex.
452 ** You can now provide explicit field numbers in format specifiers.
453 For example, '(format "%2$s %1$s" "X" "Y")' produces "Y X".
455 ** 'comment-indent-function' values may now return a cons to specify a
456 range of indentation.
459 ** Emacs now supports optional display of line numbers in the buffer.
460 This is similar to what linum-mode provides, but much faster and
461 doesn't usurp the display margin for the line numbers.  Customize the
462 buffer-local variable 'display-line-numbers' to activate this optional
463 display.  Alternatively, you can use the `display-line-numbers-mode'
464 minor mode or the global `global-display-line-numbers-mode'.  When
465 using these modes, customize `display-line-numbers-type' with the same
466 value as you would use with `display-line-numbers'.
468 If `display-line-numbers' is set to t, Emacs will display the number
469 of each line before the line.  If set to 'relative', Emacs will
470 display the line number relative to the line showing point, with that
471 line's number displayed as absolute.  If set to 'visual', Emacs will
472 display a relative number for every screen line, i.e. it will count
473 screen lines rather than buffer lines.  The default is nil, which
474 doesn't display the line numbers.
476 In 'relative' and 'visual' modes, the variable
477 'display-line-numbers-current-absolute' controls what number is
478 displayed for the line showing point.  By default, this variable's
479 value is t, which means display the absolute line number for the line
480 showing point.  Customizing this variable to a nil value will cause
481 Emacs to show zero instead, which preserves horizontal space of the
482 window in large buffers.
484 Line numbers are not displayed at all in minibuffer windows and in
485 tooltips, as they are not useful there.
487 The new face 'line-number' is used to display the line numbers.  The
488 new face 'line-number-current-line' can be customized to display the
489 current line's number differently from all the other line numbers; by
490 default these two faces are identical.
492 You can also customize the new buffer-local variable
493 'display-line-numbers-width' to specify a fixed minimal with of the
494 area allocated to line-number display.  The default is nil, meaning
495 that Emacs will dynamically calculate the area width, enlarging or
496 shrinking it as needed.  Setting it to a non-negative integer
497 specifies that as the minimal width; selecting a value that is large
498 enough to display all line numbers in a buffer will then keep the
499 line-number display area of constant width at all times, if that is
500 desired.
502 When using `display-line-numbers-mode', you can customize the variable
503 `display-line-numbers-grow-only' to a non-nil value; this means that
504 Emacs may grow the above area width dynamically, but never shrink it.
505 Under this mode, customizing the variable
506 `display-line-numbers-width-start' to a non-nil value will cause Emacs
507 to set `display-line-numbers-width' to the minimum width necessary to
508 display all line numbers in the current buffer when first visiting it.
510 Lisp programs can disable line-number display for a particular screen
511 line by putting the 'display-line-numbers-disable' text property or
512 overlay property on the first character of that screen line.  This is
513 intended for add-on packages that need a finer control of the display.
515 Lisp programs that need to know how much screen estate is used up for
516 line-number display in a window can use the new function
517 'line-number-display-width'.
519 Linum mode and all similar packages are henceforth becoming obsolete.
520 Users and developers are encouraged to switch to this new feature
521 instead.
524 * Editing Changes in Emacs 26.1
527 ** New variable 'column-number-indicator-zero-based'.
528 Traditionally, in Column Number mode, the displayed column number
529 counts from zero starting at the left margin of the window.  This
530 behavior is now controlled by 'column-number-indicator-zero-based'.
531 If you would prefer for the displayed column number to count from one,
532 you may set this variable to nil.  (Behind the scenes, there is now a
533 new mode line construct, '%C', which operates exactly as '%c' does
534 except that it counts from one.)
537 ** New single-line horizontal scrolling mode.
538 The 'auto-hscroll-mode' variable can now have a new special value,
539 'current-line', which causes only the line where the cursor is
540 displayed to be horizontally scrolled when lines are truncated on
541 display and point moves outside the left or right window margin.
544 ** New mode line constructs '%o' and '%q', and user option
545 'mode-line-percent-position'.  '%o' displays the "degree of travel" of
546 the window through the buffer.  Unlike the default '%p', this
547 percentage approaches 100% as the window approaches the end of the
548 buffer.  '%q' displays the percentage offsets of both the start and
549 the end of the window, e.g. "5-17%".  The new option
550 'mode-line-percent-position' makes it easier to switch between '%p',
551 '%P', and these new constructs.
554 ** Two new user options 'list-matching-lines-jump-to-current-line' and
555 'list-matching-lines-current-line-face' to show highlighted the current
556 line in *Occur* buffer.
559 ** The 'occur' command can now operate on the region.
562 ** New bindings for 'query-replace-map'.
563 'undo', undo the last replacement; bound to 'u'.
564 'undo-all', undo all replacements; bound to 'U'.
566 ** 'delete-trailing-whitespace' deletes whitespace after form feed.
567 In modes where form feed was treated as a whitespace character,
568 'delete-trailing-whitespace' would keep lines containing it unchanged.
569 It now deletes whitespace after the last form feed thus behaving the
570 same as in modes where the character is not whitespace.
572 ** No more prompt about changed file when the file's content is unchanged.
573 Instead of only checking the modification time, Emacs now also checks
574 the file's actual content before prompting the user.
576 ** Various casing improvements.
578 *** 'upcase', 'upcase-region' et al. convert title case characters
579 (such as Dz) into their upper case form (such as DZ).
581 *** 'capitalize', 'upcase-initials' et al. make use of title-case forms
582 of initial characters (correctly producing for example Džungla instead
583 of incorrect DŽungla).
585 *** Characters which turn into multiple ones when cased are correctly handled.
586 For example, fi ligature is converted to FI when upper cased.
588 *** Greek small sigma is correctly handled when at the end of the word.
589 Strings such as ΌΣΟΣ are now correctly converted to Όσος when
590 capitalized instead of incorrect Όσοσ (compare lowercase sigma at the
591 end of the word).
593 ** Emacs can now auto-save buffers to visited files in a more robust
594 manner via the new mode 'auto-save-visited-mode'.  Unlike
595 'auto-save-visited-file-name', this mode uses the normal saving
596 procedure and therefore obeys saving hooks.
597 'auto-save-visited-file-name' is now obsolete.
600 ** New behavior of 'mark-defun' implemented
601 Prefix argument selects that many (or that many more) defuns.
602 Negative prefix arg flips the direction of selection.  Also,
603 'mark-defun' between defuns correctly selects N following defuns (or
604 -N previous for negative arguments).  Finally, comments preceding the
605 defun are selected unless they are separated from the defun by a blank
606 line.
608 ** New command 'replace-buffer-contents'.
609 This command replaces the contents of the accessible portion of the
610 current buffer with the contents of the accessible portion of a
611 different buffer while keeping point, mark, markers, and text
612 properties as intact as possible.
615 ** New commands 'apropos-local-variable' and 'apropos-local-value.
616 These are buffer-local versions of 'apropos-variable' and
617 'apropos-value', respectively.  They show buffer-local variables whose
618 names and values, respectively, match a given pattern.
621 ** More user control of reordering bidirectional text for display.
622 The two new variables, 'bidi-paragraph-start-re' and
623 'bidi-paragraph-separate-re', allow customization of what exactly are
624 paragraphs, for the purposes of bidirectional display.
627 * Changes in Specialized Modes and Packages in Emacs 26.1
629 ** New function `cl-generic-p'.
631 ** Dired
634 *** You can answer 'all' in 'dired-do-delete' to delete recursively all
635 remaining directories without more prompts.
638 *** Dired supports wildcards in the directory part of the file names.
641 *** You can now use '`?`' in 'dired-do-shell-command'; as ' ? ', it gets replaced
642 by the current file name.
644 *** html2text is now marked obsolete.
646 *** smerge-refine-regions can refine regions in separate buffers
648 *** Info menu and index completion uses substring completion by default.
649 This can be customized via the info-menu category in
650 completion-category-override.
653 *** The ancestor buffer is shown by default in 3way merges.
654 A new option ediff-show-ancestor and a new toggle
655 ediff-toggle-show-ancestor.
657 ** TeX: Add luatex and xetex as alternatives to pdftex
659 ** Electric-Buffer-menu
662 *** Key 'U' is bound to 'Buffer-menu-unmark-all' and key 'M-DEL' is
663 bound to 'Buffer-menu-unmark-all-buffers'.
665 ** bs
668 *** Two new commands 'bs-unmark-all', bound to 'U', and
669 'bs-unmark-previous', bound to <backspace>.
671 ** Buffer-menu
674 *** Two new commands 'Buffer-menu-unmark-all', bound to 'U' and
675 'Buffer-menu-unmark-all-buffers', bound to 'M-DEL'.
677 ** Gnus
680 *** The .newsrc file will now only be saved if the native select
681 method is an NNTP select method.
684 *** A new command for sorting articles by readedness marks has been
685 added: 'C-c C-s C-m C-m'.
687 ** Ibuffer
690 *** New command 'ibuffer-jump'.
693 *** New filter commands 'ibuffer-filter-by-basename',
694 'ibuffer-filter-by-file-extension', 'ibuffer-filter-by-directory',
695 'ibuffer-filter-by-starred-name', 'ibuffer-filter-by-modified'
696 and 'ibuffer-filter-by-visiting-file'; bound respectively
697 to '/b', '/.', '//', '/*', '/i' and '/v'.
700 *** Two new commands 'ibuffer-filter-chosen-by-completion'
701 and 'ibuffer-and-filter', the second bound to '/&'.
704 *** The commands 'ibuffer-pop-filter', 'ibuffer-pop-filter-group',
705 'ibuffer-or-filter' and 'ibuffer-filter-disable' have the alternative
706 bindings '/<up>', '/S-<up>', '/|' and '/DEL', respectively.
709 *** The data format specifying filters has been extended to allow
710 explicit logical 'and', and a more flexible form for logical 'not'.
711 See 'ibuffer-filtering-qualifiers' doc string for full details.
714 *** A new command 'ibuffer-copy-buffername-as-kill'; bound
715 to 'B'.
718 *** New command 'ibuffer-change-marks'; bound to '* c'.
721 *** A new command 'ibuffer-mark-by-locked' to mark
722 all locked buffers;  bound to '% L'.
725 *** A new option 'ibuffer-locked-char' to indicate
726 locked buffers; Ibuffer shows a new column displaying
727 'ibuffer-locked-char' for locked buffers.
730 *** A new command 'ibuffer-unmark-all-marks' to unmark
731 all buffers without asking confirmation;  bound to
732 'U'; 'ibuffer-do-replace-regexp' bound to 'r'.
735 *** A new command 'ibuffer-mark-by-content-regexp' to mark buffers
736 whose content matches a regexp; bound to '% g'.
739 *** Two new options 'ibuffer-never-search-content-name' and
740 'ibuffer-never-search-content-mode' used by
741 'ibuffer-mark-by-content-regexp'.
743 ** Browse-URL
745 *** Support for opening links to man pages in Man or WoMan mode.
747 ** Comint
750 *** New user option 'comint-move-point-for-matching-input' to control
751 where to place point after C-c M-r and C-c M-s.
753 ** Compilation mode
756 *** Messages from CMake are now recognized.
759 *** The number of errors, warnings, and informational messages is now
760 displayed in the mode line.  These are updated as compilation
761 proceeds.
764 *** A new option 'dired-always-read-filesystem' default to nil.
765 If non-nil, buffers visiting files are reverted before search them;
766 for instance, in 'dired-mark-files-containing-regexp' a non-nil value
767 of this option means the file is revisited in a temporary buffer;
768 this temporary buffer is the actual buffer searched: the original buffer
769 visiting the file is not modified.
772 *** In wdired, when editing files to contain slash characters,
773 the resulting directories are automatically created.  Whether to do
774 this is controlled by the 'wdired-create-parent-directories' variable.
777 *** 'W' is now bound to 'browse-url-of-dired-file', and is useful for
778 viewing HTML files and the like.
780 ** Grep
783 *** Grep commands will now use GNU grep's '--null' option if
784 available, which allows distinguishing the filename from contents if
785 they contain colons.  This can be controlled by the new custom option
786 'grep-use-null-filename-separator'.
788 *** The grep/rgrep/lgrep functions will now ask about saving files
789 before running.  This is controlled by the 'grep-save-buffers'
790 variable.
792 ** Edebug
794 *** Edebug can be prevented from pausing 1 second after reaching a
795 breakpoint (e.g. with "f" and "o") by customizing the new option
796 'edebug-sit-on-break'.
799 *** New customizable option 'edebug-max-depth'
800 This allows to enlarge the maximum recursion depth when instrumenting
801 code.
803 ** Eshell
805 *** 'eshell-input-filter's value is now a named function
806 'eshell-input-filter-default', and has a new custom option
807 'eshell-input-filter-initial-space' to ignore adding commands prefixed
808 with blank space to eshell history.
810 ** eww
813 *** New 'M-RET' command for opening a link at point in a new eww buffer.
816 *** A new 's' command for switching to another eww buffer via the minibuffer.
819 *** The 'o' command ('shr-save-contents') has moved to 'O' to avoid collision
820 with the 'o' command from 'image-map'.
823 *** A new command 'C' ('eww-toggle-colors') can be used to toggle
824 whether to use the HTML-specified colors or not.  The user can also
825 customize the 'shr-use-colors' variable.
828 *** Images that are being loaded are now marked with gray
829 "placeholder" images of the size specified by the HTML.  They are then
830 replaced by the real images asynchronously, which will also now
831 respect width/height HTML specs (unless they specify widths/heights
832 bigger than the current window).
835 *** The 'w' command on links is now 'shr-maybe-probe-and-copy-url'.
836 'shr-copy-url' now only copies the url at point; users who wish to
837 avoid accidentally accessing remote links may rebind 'w' and 'u' in
838 'eww-link-keymap' to it.
841 ** Ido
843 *** The commands 'find-alternate-file-other-window',
844 'dired-other-window', 'dired-other-frame', and
845 'display-buffer-other-window' are now remapped to Ido equivalents if
846 Ido mode is active.
848 ** Images
851 *** Images are automatically scaled before displaying based on the
852 'image-scaling-factor' variable (if Emacs supports scaling the images
853 in question).
856 *** It's now possible to specify aspect-ratio preserving combinations
857 of :width/:max-height and :height/:max-width keywords.  In either
858 case, the "max" keywords win.  (Previously some combinations would,
859 depending on the aspect ratio of the image, just be ignored and in
860 other instances this would lead to the aspect ratio not being
861 preserved.)
864 *** Images inserted with 'insert-image' and related functions get a
865 keymap put into the text properties (or overlays) that span the
866 image.  This keymap binds keystrokes for manipulating size and
867 rotation, as well as saving the image to a file.  These commands are
868 also available in 'image-mode'.
871 *** A new library for creating and manipulating SVG images has been
872 added.  See the "SVG Images" section in the Lisp reference manual for
873 details.
876 *** New setf-able function to access and set image parameters is
877 provided: 'image-property'.
880 *** New commands 'image-scroll-left' and 'image-scroll-right'
881 for 'image-mode' that complement 'image-scroll-up' and
882 'image-scroll-down': they have the same prefix arg behavior and stop
883 at image boundaries.
885 ** Image-Dired
887 *** Now provides a minor mode 'image-dired-minor-mode' which replaces
888 the function 'image-dired-setup-dired-keybindings'.
890 *** Thumbnail generation is now asynchronous
891 The number of concurrent processes is limited by the variable
892 'image-dired-thumb-job-limit'.
894 *** 'image-dired-thumbnail-storage' has a new option 'standard-large'
895 for generating 256x256 thumbnails according to the Thumbnail Managing
896 Standard.
898 *** Inherits movement keys from 'image-mode' for viewing full images.
899 This includes the usual char, line, and page movement commands.
901 *** All the -options types have been changed to argument lists
902 instead of shell command strings.  This change affects
903 'image-dired-cmd-create-thumbnail-options',
904 'image-dired-cmd-create-temp-image-options',
905 'image-dired-cmd-rotate-thumbnail-options',
906 'image-dired-cmd-rotate-original-options',
907 'image-dired-cmd-write-exif-data-options',
908 'image-dired-cmd-read-exif-data-options', and introduces
909 'image-dired-cmd-pngnq-options', 'image-dired-cmd-pngcrush-options',
910 'image-dired-cmd-create-standard-thumbnail-options'
912 *** Recognizes more tools by default, including pngnq-s9 and OptiPNG
914 *** 'find-file' and related commands now work on thumbnails and
915 displayed images, providing a default argument of the original file name
916 via an addition to 'file-name-at-point-functions'.
919 ** The default 'Info-default-directory-list' no longer checks some obsolete
920 directory suffixes (gnu, gnu/lib, gnu/lib/emacs, emacs, lib, lib/emacs)
921 when searching for info directories.
924 ** The commands that add ChangeLog entries now prefer a VCS root directory
925 for the ChangeLog file, if none already exists.  Customize
926 'change-log-directory-files' to nil for the old behavior.
929 ** Support for non-string values of 'time-stamp-format' has been removed.
931 ** Message
934 *** 'message-use-idna' now defaults to t (because Emacs comes with
935 built-in IDNA support now).
938 *** When sending HTML messages with embedded images, and you have
939 exiftool installed, and you rotate images with EXIF data (i.e.,
940 JPEGs), the rotational information will be inserted into the outgoing
941 image in the message.  (The original image will not have its
942 orientation affected.)
945 *** The 'message-valid-fqdn-regexp' variable has been removed, since
946 there are now top-level domains added all the time.  Message will no
947 longer warn about sending emails to top-level domains it hasn't heard
948 about.
950 *** 'message-beginning-of-line' (bound to C-a) understands folded headers.
951 In 'visual-line-mode' it will look for the true beginning of a header
952 while in non-'visual-line-mode' it will move the point to the indented
953 header's value.
955 ** Package
958 *** The new variable 'package-gnupghome-dir' has been added to control
959 where the GnuPG home directory (used for signature verification) is
960 located and whether GnuPG's option "--homedir" is used or not.
963 *** Deleting a package no longer respects 'delete-by-moving-to-trash'.
965 ** Tramp
968 *** The method part of remote file names is mandatory now.  A valid
969 remote file name starts with "/method:host:" or "/method:user@host:".
972 *** The new pseudo method "-" is a marker for the default method.
973 "/-::" is the shortest remote file name then.
976 *** The command 'tramp-change-syntax' allows to choose an alternative
977 remote file name syntax.
980 *** New connection method "sg", which supports editing files under a
981 different group ID.
984 *** New connection method "doas" for OpenBSD hosts.
987 *** New connection method "gdrive", which allows to access Google
988 Drive onsite repositories.
991 *** Gateway methods in Tramp have been removed.  Instead, the Tramp
992 manual documents how to configure ssh and PuTTY accordingly.
995 *** Setting the "ENV" environment variable in
996 'tramp-remote-process-environment' enables reading of shell
997 initialization files.
1000 *** Tramp is able now to send SIGINT to remote asynchronous processes.
1003 *** Variable 'tramp-completion-mode' is obsoleted.
1006 ** 'auto-revert-use-notify' is set back to t in 'global-auto-revert-mode'.
1008 ** JS mode
1011 *** JS mode now sets 'comment-multi-line' to t.
1014 *** New variable 'js-indent-align-list-continuation', when set to nil,
1015 will not align continuations of bracketed lists, but will indent them
1016 by the fixed width 'js-indent-level'.
1018 ** CSS mode
1021 *** Support for completing attribute values, at-rules, bang-rules,
1022 HTML tags, classes and IDs using the 'completion-at-point' command.
1023 Completion candidates for HTML classes and IDs are retrieved from open
1024 HTML mode buffers.
1027 *** CSS mode now binds 'C-h S' to a function that will show
1028 information about a CSS construct (an at-rule, property, pseudo-class,
1029 pseudo-element, with the default being guessed from context).  By
1030 default the information is looked up on the Mozilla Developer Network,
1031 but this can be customized using 'css-lookup-url-format'.
1034 *** CSS colors are fontified using the color they represent as the
1035 background.  For instance, #ff0000 would be fontified with a red
1036 background.
1039 ** Emacs now supports character name escape sequences in character and
1040 string literals.  The syntax variants \N{character name} and
1041 \N{U+code} are supported.
1044 ** Prog mode has some support for multi-mode indentation.
1045 This allows better indentation support in modes that support multiple
1046 programming languages in the same buffer, like literate programming
1047 environments or ANTLR programs with embedded Python code.
1049 A major mode can provide indentation context for a sub-mode through
1050 the 'prog-indentation-context' variable.  To support this, modes that
1051 provide indentation should use 'prog-widen' instead of 'widen' and
1052 'prog-first-column' instead of a literal zero.  See the node
1053 "Mode-Specific Indent" in the ELisp manual for more details.
1055 ** ERC
1057 *** New variable 'erc-default-port-tls' used to connect to TLS IRC
1058 servers.
1060 ** URL
1063 *** The new function 'url-cookie-delete-cookie' can be used to
1064 programmatically delete all cookies, or cookies from a specific
1065 domain.
1068 *** 'url-retrieve-synchronously' now takes an optional timeout parameter.
1071 *** The URL package now support HTTPS over proxies supporting CONNECT.
1074 *** 'url-user-agent' now defaults to 'default', and the User-Agent
1075 string is computed dynamically based on 'url-privacy-level'.
1077 ** VC and related modes
1080 *** The VC state indicator in the mode line now defaults to more
1081 colorful faces to make it more obvious to the user what the state is.
1082 See the 'vc-faces' customization group.
1085 *** 'vc-dir-mode' now binds 'vc-log-outgoing' to 'O'; and has various
1086 branch-related commands on a keymap bound to 'B'.
1088 ** CC mode
1090 *** Opening a .h file will turn C or C++ mode depending on language used.
1091 This is done with the help of 'c-or-c++-mode' function which analyses
1092 contents of the buffer to determine whether it's a C or C++ source
1093 file.
1096 ** New DNS mode command 'dns-mode-ipv6-to-nibbles' to convert IPv6 addresses
1097 to a format suitable for reverse lookup zone files.
1099 ** Ispell
1102 *** Enchant (version 2.1.0 or later required) is now supported as a
1103 spell-checker.  Enchant is a meta-spell-checker that uses providers
1104 such as Hunspell to do the actual checking.  With it, users can use
1105 spell-checkers not directly supported by Emacs, such as Voikko, Hspell
1106 and AppleSpell, more easily share personal word-lists with other
1107 programs, and configure different spelling-checkers for different
1108 languages.
1110 ** Flymake
1113 *** Emacs does no longer prompt the user before killing Flymake
1114 processes on exit.
1117 * New Modes and Packages in Emacs 26.1
1119 ** New Elisp data-structure library 'radix-tree'.
1121 ** New library 'xdg' with utilities for some XDG standards and specs.
1123 ** HTML
1126 *** A new submode of 'html-mode', 'mhtml-mode', is now the default
1127 mode for *.html files.  This mode handles indentation,
1128 fontification, and commenting for embedded JavaScript and CSS.
1130 ** New mode 'conf-toml-mode' is a sub-mode of conf-mode, specialized
1131    for editing TOML files.
1133 ** New mode 'conf-desktop-mode' is a sub-mode of conf-unix-mode,
1134 specialized for editing freedesktop.org desktop entries.
1136 ** New minor mode 'pixel-scroll-mode' provides smooth pixel-level scrolling.
1138 ** New major mode 'less-css-mode' (a minor variant of 'css-mode') for
1139 editing Less files.
1142 * Incompatible Lisp Changes in Emacs 26.1
1144 *** password-data is now a hash-table
1145 so that `password-read' can use any object for the `key' argument.
1148 *** Command 'dired-mark-extension' now automatically prepends a '.' to the
1149 extension when not present.  The new command 'dired-mark-suffix' behaves
1150 similarly but it doesn't prepend a '.'.
1153 ** Certain cond/pcase/cl-case forms are now compiled using a faster jump
1154 table implementation. This uses a new bytecode op 'switch', which isn't
1155 compatible with previous Emacs versions. This functionality can be disabled
1156 by setting 'byte-compile-cond-use-jump-table' to nil.
1158 ** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term
1159 mode to send the same escape sequences that xterm does.  This makes
1160 things like forward-word in readline work.
1163 ** hideshow mode got four key bindings that are analogous to outline
1164 mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e.'
1167 ** Customizable variable 'query-replace-from-to-separator'
1168 now doesn't propertize the string value of the separator.
1169 Instead, text properties are added by query-replace-read-from.
1170 Additionally, the new nil value restores pre-24.5 behavior
1171 of not providing replacement pairs via the history.
1173 ** Some obsolete functions, variables, and faces have been removed:
1174 *** make-variable-frame-local.  Variables cannot be frame-local any more.
1175 *** From subr.el: window-dot, set-window-dot, read-input, show-buffer,
1176 eval-current-buffer, string-to-int
1177 *** icomplete-prospects-length.
1178 *** All the default-FOO variables that hold the default value of the
1179 FOO variable.  Use 'default-value' and 'setq-default' to access and
1180 change FOO, respectively.  The exhaustive list of removed variables is:
1181 'default-mode-line-format', 'default-header-line-format',
1182 'default-line-spacing', 'default-abbrev-mode', 'default-ctl-arrow',
1183 'default-truncate-lines', 'default-left-margin', 'default-tab-width',
1184 'default-case-fold-search', 'default-left-margin-width',
1185 'default-right-margin-width', 'default-left-fringe-width',
1186 'default-right-fringe-width', 'default-fringes-outside-margins',
1187 'default-scroll-bar-width', 'default-vertical-scroll-bar',
1188 'default-indicate-empty-lines', 'default-indicate-buffer-boundaries',
1189 'default-fringe-indicator-alist', 'default-fringe-cursor-alist',
1190 'default-scroll-up-aggressively', 'default-scroll-down-aggressively',
1191 'default-fill-column', 'default-cursor-type',
1192 'default-cursor-in-non-selected-windows',
1193 'default-buffer-file-coding-system', 'default-major-mode', and
1194 'default-enable-multibyte-characters'.
1195 *** Many variables obsoleted in 22.1 referring to face symbols
1198 ** The variable 'text-quoting-style' no longer affects the treatment
1199 of curved quotes in format arguments to functions like 'message' and
1200 'format-message'.  In particular, when this variable's value is
1201 'grave', all quotes in formats are output as-is.
1203 ** Functions like 'check-declare-file' and 'check-declare-directory'
1204 now generate less chatter and more-compact diagnostics.  The auxiliary
1205 function 'check-declare-errmsg' has been removed.
1208 ** The regular expression character class [:blank:] now matches
1209 Unicode horizontal whitespace as defined in the Unicode Technical
1210 Standard #18.  If you only want to match space and tab, use [ \t]
1211 instead.
1214 ** 'min' and 'max' no longer round their results.  Formerly, they
1215 returned a floating-point value if any argument was floating-point,
1216 which was sometimes numerically incorrect.  For example, on a 64-bit
1217 host (max 1e16 10000000000000001) now returns its second argument
1218 instead of its first.
1221 ** The variable 'old-style-backquotes' has been made internal and
1222 renamed to 'lread--old-style-backquotes'.  No user code should use
1223 this variable.
1225 ** To avoid confusion caused by "smart quotes", the reader no longer
1226 accepts Lisp symbols which begin with the following quotation
1227 characters: ‘’‛“”‟〞"', unless they are escaped with backslash.
1230 ** 'default-file-name-coding-system' now defaults to a coding system
1231 that does not process CRLF.  For example, it defaults to utf-8-unix
1232 instead of to utf-8.  Before this change, Emacs would sometimes
1233 mishandle file names containing these control characters.
1236 ** 'file-attributes', 'file-symlink-p' and 'make-symbolic-link' no
1237 longer quietly mutate the target of a local symbolic link, so that
1238 Emacs can access and copy them reliably regardless of their contents.
1239 The following changes are involved.
1241 *** 'file-attributes' and 'file-symlink-p' no longer prepend "/:" to
1242 symbolic links whose targets begin with "/" and contain ":".  For
1243 example, if a symbolic link "x" has a target "/y:z", (file-symlink-p
1244 "x") now returns "/y:z" rather than "/:/y:z".
1246 *** 'make-symbolic-link' no longer looks for file name handlers when
1247 creating a local symbolic link.  For example, (make-symbolic-link
1248 "/y:z" "x") now creates a symlink to "/y:z" instead of failing.
1250 *** 'make-symbolic-link' now expands a link target with leading "~"
1251 only when the optional third arg is an integer, as when invoked
1252 interactively.  For example, (make-symbolic-link "~y" "x") now creates
1253 a link with target the literal string "~y"; to get the old behavior,
1254 use (make-symbolic-link (expand-file-name "~y") "x").  To avoid this
1255 expansion in interactive use, you can now prefix the link target with
1256 "/:".  For example, (make-symbolic-link "/:~y" "x" 1) now creates a
1257 link to literal "~y".
1260 ** Module functions are now implemented slightly differently; in
1261 particular, the function 'internal--module-call' has been removed.
1262 Code that depends on undocumented internals of the module system might
1263 break.
1266 ** The arguments LOCKNAME and MUSTBENEW of 'write-region' are
1267 propagated to file name handlers now.
1269 ** When built against recent versions of GTK+, Emacs always uses
1270 gtk_window_move for moving frames and ignores the value of the
1271 variable 'x-gtk-use-window-move'.  The variable is now obsolete.
1274 * Lisp Changes in Emacs 26.1
1276 ** New optional argument TEXT in 'make-temp-file'.
1278 ** New function `define-symbol-prop'.
1281 ** New optional argument TESTFN in 'alist-get', 'map-elt' and 'map-put'.
1283 ** New function 'seq-set-equal-p' to check if SEQUENCE1 and SEQUENCE2
1284 contain the same elements, regardless of the order.
1286 ** Checksum/Hash
1289 ** New function 'secure-hash-algorithms' to list the algorithms that
1290 'secure-hash' supports.
1291 See the node "(elisp) Checksum/Hash" in the ELisp manual for details.
1294 ** Emacs now exposes the GnuTLS cryptographic API with the functions
1295 'gnutls-macs' and 'gnutls-hash-mac'; 'gnutls-digests' and
1296 'gnutls-hash-digest'; 'gnutls-ciphers' and 'gnutls-symmetric-encrypt'
1297 and 'gnutls-symmetric-decrypt'.
1298 See the node "(elisp) GnuTLS Cryptography" in the ELisp manual for details.
1301 ** Emacs now supports records for user-defined types, via the new
1302 functions 'make-record', 'record', and 'recordp'.  Records are now
1303 used internally to represent cl-defstruct and defclass instances, for
1304 example.
1307 ** 'save-some-buffers' now uses 'save-some-buffers-default-predicate'
1308 to decide which buffers to ask about, if the PRED argument is nil.
1309 The default value of 'save-some-buffers-default-predicate' is nil,
1310 which means ask about all file-visiting buffers.
1312 ** string-(to|as|make)-(uni|multi)byte are now declared obsolete.
1313 ** New variable 'while-no-input-ignore-events' which allow
1314 setting which special events 'while-no-input' should ignore.
1315 It is a list of symbols.
1317 ** New function 'undo-amalgamate-change-group' to get rid of
1318 undo-boundaries between two states.
1320 ** New var 'definition-prefixes' is a hash table mapping prefixes to
1321 the files where corresponding definitions can be found.  This can be
1322 used to fetch definitions that are not yet loaded, for example for
1323 'C-h f'.
1325 ** New var 'syntax-ppss-table' to control the syntax-table used in
1326 'syntax-ppss'.
1329 ** 'define-derived-mode' can now specify an :after-hook form, which
1330 gets evaluated after the new mode's hook has run.  This can be used to
1331 incorporate configuration changes made in the mode hook into the
1332 mode's setup.
1334 ** Autoload files can be generated without timestamps,
1335 by setting 'autoload-timestamps' to nil.
1336 FIXME As an experiment, nil is the current default.
1337 If no insurmountable problems before next release, it can stay that way.
1340 ** 'gnutls-boot' now takes a parameter ':complete-negotiation' that
1341 says that negotiation should complete even on non-blocking sockets.
1344 ** There is now a new variable 'flyspell-sort-corrections-function'
1345 that allows changing the way corrections are sorted.
1348 ** The new command 'fortune-message' has been added, which displays
1349 fortunes in the echo area.
1352 ** New function 'func-arity' returns information about the argument list
1353 of an arbitrary function.  This generalizes 'subr-arity' for functions
1354 that are not built-in primitives.  We recommend using this new
1355 function instead of 'subr-arity'.
1357 ** New function 'region-bounds' can be used in the interactive spec
1358 to provide region boundaries (for rectangular regions more than one)
1359 to an interactively callable function as a single argument instead of
1360 two separate arguments region-beginning and region-end.
1363 ** 'parse-partial-sexp' state has a new element.  Element 10 is
1364 non-nil when the last character scanned might be the first character
1365 of a two character construct, i.e., a comment delimiter or escaped
1366 character.  Its value is the syntax of that last character.
1369 ** 'parse-partial-sexp's state, element 9, has now been confirmed as
1370 permanent and documented, and may be used by Lisp programs.  Its value
1371 is a list of currently open parenthesis positions, starting with the
1372 outermost parenthesis.
1375 ** 'read-color' will now display the color names using the color itself
1376 as the background color.
1378 ** The function 'redirect-debugging-output' now works on platforms
1379 other than GNU/Linux.
1382 ** The new function 'string-version-lessp' compares strings by
1383 interpreting consecutive runs of numerical characters as numbers, and
1384 compares their numerical values.  According to this predicate,
1385 "foo2.png" is smaller than "foo12.png".
1388 ** Numeric comparisons and 'logb' no longer return incorrect answers
1389 due to internal rounding errors.  For example, (< most-positive-fixnum
1390 (+ 1.0 most-positive-fixnum)) now correctly returns t on 64-bit hosts.
1393 ** The functions 'ffloor', 'fceiling', 'ftruncate' and 'fround' now
1394 accept only floating-point arguments, as per their documentation.
1395 Formerly, they quietly accepted integer arguments and sometimes
1396 returned nonsensical answers, e.g., (< N (ffloor N)) could return t.
1399 ** On hosts like GNU/Linux x86-64 where a 'long double' fraction
1400 contains at least EMACS_INT_WIDTH - 3 bits, 'format' no longer returns
1401 incorrect answers due to internal rounding errors when formatting
1402 Emacs integers with %e, %f, or %g conversions.  For example, on these
1403 hosts (eql N (string-to-number (format "%.0f" N))) now returns t for
1404 all Emacs integers N.
1407 ** Calls that accept floating-point integers (for use on hosts with
1408 limited integer range) now signal an error if arguments are not
1409 integral.  For example (decode-char 'ascii 0.5) now signals an error.
1412 ** The new function 'char-from-name' converts a Unicode name string
1413 to the corresponding character code.
1416 ** New functions 'sxhash-eq' and 'sxhash-eql' return hash codes of a
1417 Lisp object suitable for use with 'eq' and 'eql' correspondingly.  If
1418 two objects are 'eq' ('eql'), then the result of 'sxhash-eq'
1419 ('sxhash-eql') on them will be the same.
1422 ** Function 'sxhash' has been renamed to 'sxhash-equal' for
1423 consistency with the new functions.  For compatibility, 'sxhash'
1424 remains as an alias to 'sxhash-equal'.
1427 ** 'make-hash-table' now defaults to a rehash threshold of 0.8125
1428 instead of 0.8, to avoid rounding glitches.
1431 ** New function 'add-variable-watcher' can be used to call a function
1432 when a symbol's value is changed.  This is used to implement the new
1433 debugger command 'debug-on-variable-change'.
1436 ** Time conversion functions that accept a time zone rule argument now
1437 allow it to be OFFSET or a list (OFFSET ABBR), where the integer
1438 OFFSET is a count of seconds east of Universal Time, and the string
1439 ABBR is a time zone abbreviation.  The affected functions are
1440 'current-time-string', 'current-time-zone', 'decode-time',
1441 'format-time-string', and 'set-time-zone-rule'.
1444 ** 'format-time-string' now formats "%q" to the calendar quarter.
1446 ** New built-in function 'mapcan' which avoids unnecessary consing (and garbage
1447 collection).
1450 ** 'car' and 'cdr' compositions 'cXXXr' and 'cXXXXr' are now part of Elisp.
1453 ** 'if-let*', 'when-let*', and 'and-let*' are new in subr-x.el.
1454 The incumbent 'if-let' and 'when-let' are now aliases.
1456 ** Low-level list functions like 'length' and 'member' now do a better
1457 job of signaling list cycles instead of looping indefinitely.
1460 ** The new functions 'make-nearby-temp-file' and 'temporary-file-directory'
1461 can be used for creation of temporary files of remote or mounted directories.
1464 ** On GNU platforms when operating on a local file, 'file-attributes'
1465 no longer suffers from a race when called while another process is
1466 altering the filesystem.  On non-GNU platforms 'file-attributes'
1467 attempts to detect the race, and returns nil if it does so.
1470 ** The new function 'file-local-name' can be used to specify arguments
1471 of remote processes.
1474 ** The new functions 'file-name-quote', 'file-name-unquote' and
1475 'file-name-quoted-p' can be used to quote / unquote file names with
1476 the prefix "/:".
1479 ** The new error 'file-missing', a subcategory of 'file-error', is now
1480 signaled instead of 'file-error' if a file operation acts on a file
1481 that does not exist.
1484 ** The function 'delete-directory' no longer signals an error when
1485 operating recursively and when some other process deletes the directory
1486 or its files before 'delete-directory' gets to them.
1489 *** New error type 'user-search-failed' like 'search-failed' but
1490 avoids debugger like 'user-error'.
1493 ** The function 'line-number-at-pos' now takes a second optional
1494 argument 'absolute'. If this parameter is nil, the default, this
1495 function keeps on returning the line number taking potential narrowing
1496 into account. If this parameter is non-nil, the function ignores
1497 narrowing and returns the absolute line number.
1499 ** Changes in Frame- and Window- Handling
1502 *** Resizing a frame no longer runs 'window-configuration-change-hook'.
1503 'window-size-change-functions' should be used instead.
1506 *** The new function 'frame-size-changed-p' can tell whether a frame has
1507 been resized since the last time 'window-size-change-functions' has been
1508 run.
1511 *** The function 'frame-geometry' now also returns the width of a
1512 frame's outer border.
1515 *** New frame parameters and changed semantics for older ones
1518 **** 'z-group' positions a frame above or below all others.
1521 **** 'min-width' and 'min-height' specify the absolute minimum size of a
1522 frame.
1525 **** 'parent-frame' makes a frame the child frame of another Emacs
1526 frame.  The section "Child Frames" in the Elisp manual describes the
1527 intrinsics of that relationship.
1530 **** 'delete-before' triggers deletion of one frame before that of
1531 another.
1534 **** 'mouse-wheel-frame' specifies another frame whose windows shall be
1535 scrolled instead.
1538 **** 'no-other-frame' has 'next-frame' and 'previous-frame' skip this
1539 frame.
1542 **** 'skip-taskbar' removes a frame's icon from the taskbar and has
1543 Alt-<TAB> skip this frame.
1546 **** 'no-focus-on-map' avoids that a frame gets input focus when mapped.
1549 **** 'no-accept-focus' means that a frame does not want to get input
1550 focus via the mouse.
1553 **** 'undecorated' removes the window manager decorations from a frame.
1556 **** 'override-redirect' tells the window manager to disregard this
1557 frame.
1560 **** 'width' and 'height' allow to specify pixel values and ratios now.
1563 **** 'left' and 'top' allow to specify ratios now.
1566 **** 'keep-ratio' preserves size and position of child frames when their
1567 parent frame is resized.
1570 **** 'no-special-glyphs' suppresses display of truncation and
1571 continuation glyphs in a frame.
1574 **** 'auto-hide-function' and 'minibuffer-exit' handle auto hiding of
1575 frames and exiting from minibuffer individually.
1578 **** 'fit-frame-to-buffer-margins' and 'fit-frame-to-buffer-sizes'
1579 handle fitting a frame to its buffer individually.
1582 **** 'drag-internal-border', 'drag-with-header-line',
1583 'drag-with-mode-line', 'snap-width', 'top-visible' and 'bottom-visible'
1584 allow to drag and resize frames with the mouse.
1586 *** The new function 'frame-list-z-order' returns a list of all frames
1587 in Z (stacking) order.
1590 *** The function 'x-focus-frame' optionally tries to not activate its
1591 frame.
1594 *** The variable 'focus-follows-mouse' has a third meaningful value
1595 'auto-raise' to indicate that the window manager automatically raises a
1596 frame when the mouse pointer enters it.
1599 *** The new function 'frame-restack' puts a frame above or below
1600 another on the display.
1603 *** The new face 'internal-border' specifies the background of a frame's
1604 internal border.
1607 *** The NORECORD argument of 'select-window' now has a meaningful value
1608 'mark-for-redisplay' which is like any other non-nil value but marks
1609 WINDOW for redisplay.
1612 *** Support for side windows is now official.  The display action
1613 function 'display-buffer-in-side-window' will display its buffer in a
1614 side window.  Functions for toggling all side windows on a frame,
1615 changing and reversing the layout of side windows and returning the main
1616 (major non-side) window of a frame are provided.  For details consult
1617 the section "Side Windows" in the Elisp manual.
1620 *** Support for atomic windows - rectangular compositions of windows
1621 treated by 'split-window', 'delete-window' and 'delete-other-windows'
1622 like a single live window - is now official.  For details consult the
1623 section "Atomic Windows" in the Elisp manual.
1626 *** New 'display-buffer' alist entry 'window-parameters' allows to
1627 assign window parameters to the window used for displaying the buffer.
1630 *** New function 'display-buffer-reuse-mode-window' is an action function
1631 suitable for use in 'display-buffer-alist'. For example, to avoid creating
1632 a new window when opening man pages when there's already one, use
1633 (add-to-list 'display-buffer-alist
1634      '("\\`\\*Man .*\\*\\'" .
1635        (display-buffer-reuse-mode-window
1636         (inhibit-same-window . nil)
1637         (mode . Man-mode))))
1640 *** New window parameter 'no-delete-other-windows' prevents that
1641 its window gets deleted by 'delete-other-windows'.
1644 *** New window parameters 'mode-line-format' and 'header-line-format'
1645 allow to override the buffer-local formats for this window.
1648 *** New command 'window-swap-states' swaps the states of two live
1649 windows.
1652 *** New functions 'window-pixel-width-before-size-change' and
1653 'window-pixel-height-before-size-change' support detecting which
1654 window changed size when 'window-size-change-functions' are run.
1657 *** The new function 'window-lines-pixel-dimensions' returns the pixel
1658 dimensions of a window's text lines.
1661 *** The new function 'window-largest-empty-rectangle' returns the
1662 dimensions of the largest rectangular area not occupying any text in a
1663 window's body.
1666 *** The semantics of 'mouse-autoselect-window' has changed slightly.
1667 For details see the section "Mouse Window Auto-selection" in the Elisp
1668 manual.
1671 ** 'tcl-auto-fill-mode' is now declared obsolete.  Its functionality
1672 can be replicated simply by setting 'comment-auto-fill-only-comments'.
1674 ** New pcase pattern 'rx' to match against a rx-style regular
1675 expression.
1678 * Changes in Emacs 26.1 on Non-Free Operating Systems
1680 ** Intercepting hotkeys on Windows 7 and later now works better.
1681 The new keyboard hooking code properly grabs system hotkeys such as
1682 Win-* and Alt-TAB, in a way that Emacs can get at them before the
1683 system.  This makes the 'w32-register-hot-key' functionality work
1684 again on all versions of MS-Windows starting with Windows 7.  On
1685 Windows NT and later you can now register any hotkey combination.  (On
1686 Windows 9X, the previous limitations, spelled out in the Emacs manual,
1687 still apply.)
1689 ** 'convert-standard-filename' no longer mirrors slashes on MS-Windows.
1690 Previously, on MS-Windows this function converted slash characters in
1691 file names into backslashes.  It no longer does that.  If your Lisp
1692 program used 'convert-standard-filename' to prepare file names to be
1693 passed to subprocesses (which is not the recommended usage of that
1694 function), you will now have to mirror slashes in your application
1695 code.  One possible way is this:
1697          (let ((start 0))
1698            (while (string-match "/" file-name start)
1699              (aset file-name (match-beginning 0) ?\\)
1700              (setq start (match-end 0))))
1702 ** GUI sessions now treat SIGINT like Posix platforms do.
1703 The effect of delivering a Ctrl-C (SIGINT) signal to a GUI Emacs on
1704 MS-Windows is now the same as on Posix platforms -- Emacs saves the
1705 session and exits.  In particular, this will happen if you start
1706 emacs.exe from the Windows shell, then type Ctrl-C into that shell's
1707 window.
1710 ** 'signal-process' supports SIGTRAP on Windows XP and later.
1711 The 'kill' emulation on Windows now maps SIGTRAP to a call to the
1712 'DebugBreakProcess' API.  This causes the receiving process to break
1713 execution and return control to the debugger.  If no debugger is
1714 attached to the receiving process, the call is typically ignored.
1715 This is in contrast to the default action on POSIX Systems, where it
1716 causes the receiving process to terminate with a core dump if no
1717 debugger has been attached to it.
1719 ** 'set-mouse-position' and 'set-mouse-absolute-pixel-position' work
1720 on macOS.
1722 ** Emacs can now be run as a GUI application from the command line on
1723 macOS.
1725 ** 'ns-appearance' and 'ns-transparent-titlebar' change the appearance
1726 of frame decorations on macOS 10.9+.
1728 ** 'ns-use-thin-smoothing' enables thin font smoothing on macOS 10.8+.
1731 ----------------------------------------------------------------------
1732 This file is part of GNU Emacs.
1734 GNU Emacs is free software: you can redistribute it and/or modify
1735 it under the terms of the GNU General Public License as published by
1736 the Free Software Foundation, either version 3 of the License, or
1737 (at your option) any later version.
1739 GNU Emacs is distributed in the hope that it will be useful,
1740 but WITHOUT ANY WARRANTY; without even the implied warranty of
1741 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1742 GNU General Public License for more details.
1744 You should have received a copy of the GNU General Public License
1745 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
1748 Local variables:
1749 coding: utf-8
1750 mode: outline
1751 paragraph-separate: "[  \f]*$"
1752 end: