Merge from gnulib
[emacs.git] / etc / NEWS
blob44f5ff5bded72c4e0c574a0bed0c8e5b33c336d2
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 'movemail' to retrieve email.  By default, the Emacs
35 build procedure continues to build and install a limited and insecure
36 'movemail' substitute.  Although --with-mailutils is recommended, it
37 is not yet the default due to backward-compatibility concerns.
39 ** The new option 'configure --enable-gcc-warnings=warn-only' causes
40 GCC to issue warnings without stopping the build.  This behavior is
41 now the default in developer builds.  As before, use
42 '--disable-gcc-warnings' to suppress GCC's warnings, and
43 '--enable-gcc-warnings' to stop the build if GCC issues warnings.
45 ** When GCC warnings are enabled, '--enable-check-lisp-object-type' is
46 now enabled by default when configuring.
48 +++
49 ** The Emacs server now has socket-launching support.  This allows
50 socket based activation, where an external process like systemd can
51 invoke the Emacs server process upon a socket connection event and
52 hand the socket over to Emacs.  Emacs uses this socket to service
53 emacsclient commands.  This new functionality can be disabled with the
54 configure option '--disable-libsystemd'.
56 +++
57 ** A systemd user unit file is provided.  Use it in the standard way:
58 systemctl --user enable emacs
59 (If your Emacs is installed in a non-standard location, you may
60 need to copy the emacs.service file to eg ~/.config/systemd/user/)
62 ** New configure option '--disable-build-details' attempts to build an
63 Emacs that is more likely to be reproducible; that is, if you build
64 and install Emacs twice, the second Emacs is a copy of the first.
65 Deterministic builds omit the build date from the output of the
66 emacs-version and erc-cmd-SV functions, and the leave the following
67 variables nil: emacs-build-system, emacs-build-time,
68 erc-emacs-build-time.
70 ** The configure option '--with-gameuser' now defaults to 'no',
71 as this appears to be the most common configuration in practice.
72 When it is 'no', the shared game directory and the auxiliary program
73 update-game-score are no longer needed and are not installed.
75 ** Emacs no longer works on IRIX.  We expect that Emacs users are not
76 affected by this, as SGI stopped supporting IRIX in December 2013.
79 * Startup Changes in Emacs 26.1
81 +++
82 ** New option '--fg-daemon'.  This is the same as '--daemon', except
83 it runs in the foreground and does not fork.  This is intended for
84 modern init systems such as systemd, which manage many of the traditional
85 aspects of daemon behavior themselves.  '--bg-daemon' is now an alias
86 for '--daemon'.
88 ** New option '--module-assertions'.  If the user supplies this
89 option, Emacs will perform expensive correctness checks when dealing
90 with dynamic modules.  This is intended for module authors that wish
91 to verify that their module conforms to the module requirements.  The
92 option makes Emacs abort if a module-related assertion triggers.
94 +++
95 ** Emacs now supports 24-bit colors on capable text terminals
96 Terminal is automatically initialized to use 24-bit colors if the
97 required capabilities are found in terminfo.  See the FAQ node
98 "Colors on a TTY" for more information.
101 ** Emacs now obeys the X resource "scrollBar" at startup.
102 The effect is similar to that of "toolBar" resource on the tool bar.
105 * Changes in Emacs 26.1
108 ** The function 'assoc' now takes an optional third argument 'testfn'.
109 This argument, when non-nil, is used for comparison instead of
110 'equal'.
113 ** New variable 'executable-prefix-env' for inserting magic signatures.
114 This variable affects the format of the interpreter magic number
115 inserted by 'executable-set-magic'.  If non-nil, the magic number now
116 takes the form "#!/usr/bin/env interpreter", otherwise the value
117 determined by 'executable-prefix', which is by default
118 "#!/path/to/interpreter".  By default, 'executable-prefix-env' is nil,
119 so the default behavior is not changed.
122 ** The variable 'emacs-version' no longer includes the build number.
123 This is now stored separately in a new variable, 'emacs-build-number'.
126 ** The new function 'mapbacktrace' applies a function to all frames of
127 the current stack trace.
130 ** Emacs now provides a limited form of concurrency with Lisp threads.
131 Concurrency in Emacs Lisp is "mostly cooperative", meaning that
132 Emacs will only switch execution between threads at well-defined
133 times: when Emacs waits for input, during blocking operations related
134 to threads (such as mutex locking), or when the current thread
135 explicitly yields.  Global variables are shared among all threads, but
136 a 'let' binding is thread-local.  Each thread also has its own current
137 buffer and its own match data.
139 See the chapter "Threads" in the ELisp manual for full documentation
140 of these facilities.
143 ** The new function 'file-name-case-insensitive-p' tests whether a
144 given file is on a case-insensitive filesystem.
147 ** The new user variable 'electric-quote-chars' provides a list
148 of curved quotes for 'electric-quote-mode', allowing user to choose
149 the types of quotes to be used.
151 ** The new user option 'electric-quote-context-sensitive' makes
152 'electric-quote-mode' context sensitive.  If it is non-nil, you can
153 type an ASCII apostrophe to insert an opening or closing quote,
154 depending on context.  Emacs will replace the apostrophe by an opening
155 quote character at the beginning of the buffer, the beginning of a
156 line, after a whitespace character, and after an opening parenthesis;
157 and it will replace the apostrophe by a closing quote character in all
158 other cases.
160 ** The new variable 'electric-quote-inhibit-functions' controls when
161 to disable electric quoting based on context.  Major modes can add
162 functions to this list; Emacs will temporarily disable
163 'electric-quote-mode' whenever any of the functions returns non-nil.
164 This can be used by major modes that derive from 'text-mode' but allow
165 inline code segments, such as 'markdown-mode'.
168 ** The new user variable 'dired-omit-case-fold' allows the user to
169 customize the case-sensitivity of dired-omit-mode.  It defaults to
170 the same sensitivity as that of the filesystem for the corresponding
171 dired buffer.
174 ** Emacs now uses double buffering to reduce flicker when editing and
175 resizing graphical Emacs frames on the X Window System.  This support
176 requires the DOUBLE-BUFFER extension, which major X servers have
177 supported for many years.  If your system has this extension, but an
178 Emacs built with double buffering misbehaves on some displays you use,
179 you can disable the feature by adding
181   '(inhibit-double-buffering . t)
183 to default-frame-alist.  Or inject this parameter into the selected
184 frame by evaluating this form:
186   (modify-frame-parameters nil '((inhibit-double-buffering . t)))
189 The group 'wp', whose label was "text", is now deprecated.
190 Use the new group 'text', which inherits from 'wp', instead.
193 ** The new function 'call-shell-region' executes a command in an
194 inferior shell with the buffer region as input.
197 ** The new user option 'shell-command-dont-erase-buffer' controls
198 if the output buffer is erased between shell commands; if non-nil,
199 the output buffer is not erased; this variable also controls where
200 to set the point in the output buffer: beginning of the output,
201 end of the buffer or save the point.
202 When 'shell-command-dont-erase-buffer' is nil, the default value,
203 the behavior of 'shell-command', 'shell-command-on-region' and
204 'async-shell-command' is as usual.
207 ** The new user option 'mouse-select-region-move-to-beginning'
208 controls the position of point when double-clicking mouse-1 on the end
209 of a parenthetical grouping or string-delimiter: the default value nil
210 keeps point at the end of the region, setting it to non-nil moves
211 point to the beginning of the region.
214 ** The new user option 'mouse-drag-and-drop-region' allows to drag the
215 entire region of text to another place or another buffer.
218 ** The new user option 'confirm-kill-processes' allows the user to
219 skip a confirmation prompt for killing subprocesses when exiting
220 Emacs.  When set to t (the default), Emacs will prompt for
221 confirmation before killing subprocesses on exit, which is the same
222 behavior as before.
225 ** 'find-library-name' will now fall back on looking at 'load-history'
226 to try to locate libraries that have been loaded with an explicit path
227 outside 'load-path'.
230 ** Faces in 'minibuffer-prompt-properties' no longer overwrite properties
231 in the text in functions like 'read-from-minibuffer', but instead are
232 added to the end of the face list.  This allows users to say things
233 like '(read-from-minibuffer (propertize "Enter something: " 'face 'bold))'.
236 ** The new variable 'extended-command-suggest-shorter' has been added
237 to control whether to suggest shorter 'M-x' commands or not.
240 ** icomplete now respects 'completion-ignored-extensions'.
243 ** Non-breaking hyphens are now displayed with the 'nobreak-hyphen'
244 face instead of the 'escape-glyph' face.
247 ** Approximations to quotes are now displayed with the new 'homoglyph'
248 face instead of the 'escape-glyph' face.
251 ** 'C-x h' ('mark-whole-buffer') will now avoid marking the prompt
252 part of minibuffers.
255 ** 'find-library' now takes a prefix argument to pop to a different
256 window.
259 ** 'process-attributes' on Darwin systems now returns more information.
262 ** Several accessors for the value returned by 'file-attributes'
263 have been added.  They are: 'file-attribute-type',
264 'file-attribute-link-number', 'file-attribute-user-id',
265 'file-attribute-group-id', 'file-attribute-access-time',
266 'file-attribute-modification-time',
267 'file-attribute-status-change-time', 'file-attribute-size',
268 'file-attribute-modes', 'file-attribute-inode-number',
269 'file-attribute-device-number' and 'file-attribute-collect'.
272 ** The new function 'buffer-hash' computes a fast, non-consing hash of
273 a buffer's contents.
276 ** 'fill-paragraph' no longer marks the buffer as changed unless it
277 actually changed something.
280 ** The locale language name 'ca' is now mapped to the language
281 environment 'Catalan', which has been added.
284 ** 'align-regexp' has a separate history for its interactive argument.
285 'align-regexp' no longer shares its history with all other
286 history-less functions that use 'read-string'.
289 ** The networking code has been reworked so that it's more
290 asynchronous than it was (when specifying :nowait t in
291 'make-network-process').  How asynchronous it is varies based on the
292 capabilities of the system, but on a typical GNU/Linux system the DNS
293 resolution, the connection, and (for TLS streams) the TLS negotiation
294 are all done without blocking the main Emacs thread.  To get
295 asynchronous TLS, the TLS boot parameters have to be passed in (see
296 the manual for details).
298 Certain process oriented functions (like 'process-datagram-address')
299 will block until socket setup has been performed.  The recommended way
300 to deal with asynchronous sockets is to avoid interacting with them
301 until they have changed status to "run".  This is most easily done
302 from a process sentinel.
304 ** 'make-network-process' and 'open-network-stream' sometimes allowed
305 :service to be an integer string (e.g., :service "993") and sometimes
306 required an integer (e.g., :service 993).  This difference has been
307 eliminated, and integer strings work everywhere.
309 ** It is possible to disable attempted recovery on fatal signals.
311 Two new variables support disabling attempts to recover from stack
312 overflow and to avoid automatic auto-save when Emacs is delivered a
313 fatal signal.  'attempt-stack-overflow-recovery', if set to 'nil',
314 will disable attempts to recover from C stack overflows; Emacs will
315 then crash as with any other fatal signal.
316 'attempt-orderly-shutdown-on-fatal-signal', if set to 'nil', will
317 disable attempts to auto-save the session and shut down in an orderly
318 fashion when Emacs receives a fatal signal; instead, Emacs will
319 terminate immediately.  Both variables are non-'nil' by default.
320 These variables are for users who would like to avoid the small
321 probability of data corruption due to techniques Emacs uses to recover
322 in these situations.
325 ** File local and directory local variables are now initialized each
326 time the major mode is set, not just when the file is first visited.
327 These local variables will thus not vanish on setting a major mode.
330 ** A second dir-local file (.dir-locals-2.el) is now accepted.
331 See the variable 'dir-locals-file-2' for more information.
334 ** Connection-local variables can be used to specify local variables
335 with a value depending on the connected remote server.  For details,
336 see the node "Connection Local Variables" in the ELisp manual.
339 ** International domain names (IDNA) are now encoded via the new
340 puny.el library, so that one can visit web sites with non-ASCII URLs.
343 ** The new 'timer-list' command lists all active timers in a buffer,
344 where you can cancel them with the 'c' command.
347 ** The new function 'read-multiple-choice' prompts for multiple-choice
348 questions, with a handy way to display help texts.
351 ** 'switch-to-buffer-preserve-window-point' now defaults to t.
354 ** The new variable 'debugger-stack-frame-as-list' allows displaying
355 all call stack frames in a Lisp backtrace buffer as lists.  Both
356 debug.el and edebug.el have been updated to heed to this variable.
359 ** Values in call stack frames are now displayed using 'cl-prin1'.
360 The old behaviour of using 'prin1' can be restored by customizing the
361 new option 'debugger-print-function'.
364 ** NUL bytes in strings copied to the system clipboard are now
365 replaced with "\0".
368 ** The new variable 'x-ctrl-keysym' has been added to the existing
369 roster of X keysyms.  It can be used in combination with another
370 variable of this kind to swap modifiers in Emacs.
373 ** New input methods: 'cyrillic-tuvan', 'polish-prefix'.
376 ** The 'dutch' input method no longer attempts to support Turkish too.
377 Also, it no longer converts 'IJ' and 'ij' to the compatibility
378 characters U+0132 LATIN CAPITAL LIGATURE IJ and U+0133 LATIN SMALL
379 LIGATURE IJ.
382 ** File name quoting by adding the prefix "/:" is now possible for the
383 local part of a remote file name.  Thus, if you have a directory named
384 "/~" on the remote host "foo", you can prevent it from being
385 substituted by a home directory by writing it as "/foo:/:/~/file".
388 ** The new variable 'maximum-scroll-margin' allows having effective
389 settings of 'scroll-margin' up to half the window size, instead of
390 always restricting the margin to a quarter of the window.
393 ** Emacs can scroll horizontally using mouse, touchpad, and trackbar.
394 You can enable this by customizing 'mwheel-tilt-scroll-p'.  If you
395 want to reverse the direction of the scroll, customize
396 'mwheel-flip-direction'.
399 ** Emacsclient has a new option -u/--suppress-output.  The option
400 suppresses display of return values from the server process.
403 ** New user option 'dig-program-options' and extended functionality
404 for DNS-querying functions 'nslookup-host', 'dns-lookup-host',
405 and 'run-dig'.  Each function now accepts an optional name server
406 argument interactively (with a prefix argument) and non-interactively.
409 ** Emacsclient has a new option -T/--tramp.
410 This helps with using a local Emacs session as the server for a remote
411 emacsclient.  With appropriate setup, one can now set the EDITOR
412 environment variable on a remote machine to emacsclient, and
413 use the local Emacs to edit remote files via Tramp.  See the node
414 "emacsclient Options" in the user manual for the details.
417 ** 'describe-key-briefly' now ignores mouse movement events.
420 ** The new variable 'eval-expression-print-maximum-character' prevents
421 large integers from being displayed as characters.
423 ** Two new commands for finding the source code of Emacs Lisp
424 libraries: 'find-library-other-window' and 'find-library-other-frame'.
427 ** The new variable 'display-raw-bytes-as-hex' allows to change the
428 display of raw bytes from octal to hex.
430 ** You can now provide explicit field numbers in format specifiers.
431 For example, '(format "%2$s %1$s" "X" "Y")' produces "Y X".
433 ** 'comment-indent-function' values may now return a cons to specify a
434 range of indentation.
437 ** Emacs now supports optional display of line numbers in the buffer.
438 This is similar to what linum-mode provides, but much faster and
439 doesn't usurp the display margin for the line numbers.  Customize the
440 buffer-local variable 'display-line-numbers' to activate this optional
441 display.  Alternatively, you can use the `display-line-numbers-mode'
442 minor mode or the global `global-display-line-numbers-mode'.  When
443 using these modes, customize `display-line-numbers-type' with the same
444 value as you would use with `display-line-numbers'.
446 If `display-line-numbers' is set to t, Emacs will display the number
447 of each line before the line.  If set to 'relative', Emacs will
448 display the line number relative to the line showing point, with that
449 line's number displayed as absolute.  If set to 'visual', Emacs will
450 display a relative number for every screen line, i.e. it will count
451 screen lines rather than buffer lines.  The default is nil, which
452 doesn't display the line numbers.
454 In 'relative' and 'visual' modes, the variable
455 'display-line-numbers-current-absolute' controls what number is
456 displayed for the line showing point.  By default, this variable's
457 value is t, which means display the absolute line number for the line
458 showing point.  Customizing this variable to a nil value will cause
459 Emacs to show zero instead, which preserves horizontal space of the
460 window in large buffers.
462 Line numbers are not displayed at all in minibuffer windows and in
463 tooltips, as they are not useful there.
465 The new face 'line-number' is used to display the line numbers.  The
466 new face 'line-number-current-line' can be customized to display the
467 current line's number differently from all the other line numbers; by
468 default these two faces are identical.
470 You can also customize the new buffer-local variable
471 'display-line-numbers-width' to specify a fixed minimal with of the
472 area allocated to line-number display.  The default is nil, meaning
473 that Emacs will dynamically calculate the area width, enlarging or
474 shrinking it as needed.  Setting it to a non-negative integer
475 specifies that as the minimal width; selecting a value that is large
476 enough to display all line numbers in a buffer will then keep the
477 line-number display area of constant width at all times, if that is
478 desired.
480 When using `display-line-numbers-mode', you can customize the variable
481 `display-line-numbers-grow-only' to a non-nil value; this means that
482 Emacs may grow the above area width dynamically, but never shrink it.
483 Under this mode, customizing the variable
484 `display-line-numbers-width-start' to a non-nil value will cause Emacs
485 to set `display-line-numbers-width' to the minimum width necessary to
486 display all line numbers in the current buffer when first visiting it.
488 Lisp programs can disable line-number display for a particular screen
489 line by putting the 'display-line-numbers-disable' text property or
490 overlay property on the first character of that screen line.  This is
491 intended for add-on packages that need a finer control of the display.
493 Lisp programs that need to know how much screen estate is used up for
494 line-number display in a window can use the new function
495 'line-number-display-width'.
497 Linum mode and all similar packages are henceforth becoming obsolete.
498 Users and developers are encouraged to switch to this new feature
499 instead.
502 * Editing Changes in Emacs 26.1
505 ** New variable 'column-number-indicator-zero-based'.
506 Traditionally, in Column Number mode, the displayed column number
507 counts from zero starting at the left margin of the window.  This
508 behavior is now controlled by 'column-number-indicator-zero-based'.
509 If you would prefer for the displayed column number to count from one,
510 you may set this variable to nil.  (Behind the scenes, there is now a
511 new mode line construct, '%C', which operates exactly as '%c' does
512 except that it counts from one.)
515 ** New single-line horizontal scrolling mode.
516 The 'auto-hscroll-mode' variable can now have a new special value,
517 'current-line', which causes only the line where the cursor is
518 displayed to be horizontally scrolled when lines are truncated on
519 display and point moves outside the left or right window margin.
522 ** New mode line constructs '%o' and '%q', and user option
523 'mode-line-percent-position'.  '%o' displays the "degree of travel" of
524 the window through the buffer.  Unlike the default '%p', this
525 percentage approaches 100% as the window approaches the end of the
526 buffer.  '%q' displays the percentage offsets of both the start and
527 the end of the window, e.g. "5-17%".  The new option
528 'mode-line-percent-position' makes it easier to switch between '%p',
529 '%P', and these new constructs.
532 ** Two new user options 'list-matching-lines-jump-to-current-line' and
533 'list-matching-lines-current-line-face' to show highlighted the current
534 line in *Occur* buffer.
537 ** The 'occur' command can now operate on the region.
540 ** New bindings for 'query-replace-map'.
541 'undo', undo the last replacement; bound to 'u'.
542 'undo-all', undo all replacements; bound to 'U'.
544 ** 'delete-trailing-whitespace' deletes whitespace after form feed.
545 In modes where form feed was treated as a whitespace character,
546 'delete-trailing-whitespace' would keep lines containing it unchanged.
547 It now deletes whitespace after the last form feed thus behaving the
548 same as in modes where the character is not whitespace.
550 ** No more prompt about changed file when the file's content is unchanged.
551 Instead of only checking the modification time, Emacs now also checks
552 the file's actual content before prompting the user.
554 ** Various casing improvements.
556 *** 'upcase', 'upcase-region' et al. convert title case characters
557 (such as Dz) into their upper case form (such as DZ).
559 *** 'capitalize', 'upcase-initials' et al. make use of title-case forms
560 of initial characters (correctly producing for example Džungla instead
561 of incorrect DŽungla).
563 *** Characters which turn into multiple ones when cased are correctly handled.
564 For example, fi ligature is converted to FI when upper cased.
566 *** Greek small sigma is correctly handled when at the end of the word.
567 Strings such as ΌΣΟΣ are now correctly converted to Όσος when
568 capitalized instead of incorrect Όσοσ (compare lowercase sigma at the
569 end of the word).
571 ** Emacs can now auto-save buffers to visited files in a more robust
572 manner via the new mode 'auto-save-visited-mode'.  Unlike
573 'auto-save-visited-file-name', this mode uses the normal saving
574 procedure and therefore obeys saving hooks.
575 'auto-save-visited-file-name' is now obsolete.
578 ** New behavior of 'mark-defun' implemented
579 Prefix argument selects that many (or that many more) defuns.
580 Negative prefix arg flips the direction of selection.  Also,
581 'mark-defun' between defuns correctly selects N following defuns (or
582 -N previous for negative arguments).  Finally, comments preceding the
583 defun are selected unless they are separated from the defun by a blank
584 line.
586 ** New command 'replace-buffer-contents'.
587 This command replaces the contents of the accessible portion of the
588 current buffer with the contents of the accessible portion of a
589 different buffer while keeping point, mark, markers, and text
590 properties as intact as possible.
593 ** New commands 'apropos-local-variable' and 'apropos-local-value.
594 These are buffer-local versions of 'apropos-variable' and
595 'apropos-value', respectively.  They show buffer-local variables whose
596 names and values, respectively, match a given pattern.
599 ** More user control of reordering bidirectional text for display.
600 The two new variables, 'bidi-paragraph-start-re' and
601 'bidi-paragraph-separate-re', allow customization of what exactly are
602 paragraphs, for the purposes of bidirectional display.
605 * Changes in Specialized Modes and Packages in Emacs 26.1
607 ** New function `cl-generic-p'.
609 ** Dired
612 *** Dired supports wildcards in the directory part of the file names.
615 *** You can now use '`?`' in 'dired-do-shell-command'; as ' ? ', it gets replaced
616 by the current file name.
618 *** html2text is now marked obsolete.
620 *** smerge-refine-regions can refine regions in separate buffers
622 *** Info menu and index completion uses substring completion by default.
623 This can be customized via the info-menu category in
624 completion-category-override.
627 *** The ancestor buffer is shown by default in 3way merges.
628 A new option ediff-show-ancestor and a new toggle
629 ediff-toggle-show-ancestor.
631 ** TeX: Add luatex and xetex as alternatives to pdftex
633 ** Electric-Buffer-menu
636 *** Key 'U' is bound to 'Buffer-menu-unmark-all' and key 'M-DEL' is
637 bound to 'Buffer-menu-unmark-all-buffers'.
639 ** bs
642 *** Two new commands 'bs-unmark-all', bound to 'U', and
643 'bs-unmark-previous', bound to <backspace>.
645 ** Buffer-menu
648 *** Two new commands 'Buffer-menu-unmark-all', bound to 'U' and
649 'Buffer-menu-unmark-all-buffers', bound to 'M-DEL'.
651 ** Gnus
654 *** The .newsrc file will now only be saved if the native select
655 method is an NNTP select method.
658 *** A new command for sorting articles by readedness marks has been
659 added: 'C-c C-s C-m C-m'.
661 ** Ibuffer
664 *** New command 'ibuffer-jump'.
667 *** New filter commands 'ibuffer-filter-by-basename',
668 'ibuffer-filter-by-file-extension', 'ibuffer-filter-by-directory',
669 'ibuffer-filter-by-starred-name', 'ibuffer-filter-by-modified'
670 and 'ibuffer-filter-by-visiting-file'; bound respectively
671 to '/b', '/.', '//', '/*', '/i' and '/v'.
674 *** Two new commands 'ibuffer-filter-chosen-by-completion'
675 and 'ibuffer-and-filter', the second bound to '/&'.
678 *** The commands 'ibuffer-pop-filter', 'ibuffer-pop-filter-group',
679 'ibuffer-or-filter' and 'ibuffer-filter-disable' have the alternative
680 bindings '/<up>', '/S-<up>', '/|' and '/DEL', respectively.
683 *** The data format specifying filters has been extended to allow
684 explicit logical 'and', and a more flexible form for logical 'not'.
685 See 'ibuffer-filtering-qualifiers' doc string for full details.
688 *** A new command 'ibuffer-copy-buffername-as-kill'; bound
689 to 'B'.
692 *** New command 'ibuffer-change-marks'; bound to '* c'.
695 *** A new command 'ibuffer-mark-by-locked' to mark
696 all locked buffers;  bound to '% L'.
699 *** A new option 'ibuffer-locked-char' to indicate
700 locked buffers; Ibuffer shows a new column displaying
701 'ibuffer-locked-char' for locked buffers.
704 *** A new command 'ibuffer-unmark-all-marks' to unmark
705 all buffers without asking confirmation;  bound to
706 'U'; 'ibuffer-do-replace-regexp' bound to 'r'.
709 *** A new command 'ibuffer-mark-by-content-regexp' to mark buffers
710 whose content matches a regexp; bound to '% g'.
713 *** Two new options 'ibuffer-never-search-content-name' and
714 'ibuffer-never-search-content-mode' used by
715 'ibuffer-mark-by-content-regexp'.
717 ** Browse-URL
719 *** Support for opening links to man pages in Man or WoMan mode.
721 ** Comint
724 *** New user option 'comint-move-point-for-matching-input' to control
725 where to place point after C-c M-r and C-c M-s.
727 ** Compilation mode
730 *** Messages from CMake are now recognized.
733 *** A new option 'dired-always-read-filesystem' default to nil.
734 If non-nil, buffers visiting files are reverted before search them;
735 for instance, in 'dired-mark-files-containing-regexp' a non-nil value
736 of this option means the file is revisited in a temporary buffer;
737 this temporary buffer is the actual buffer searched: the original buffer
738 visiting the file is not modified.
741 *** In wdired, when editing files to contain slash characters,
742 the resulting directories are automatically created.  Whether to do
743 this is controlled by the 'wdired-create-parent-directories' variable.
746 *** 'W' is now bound to 'browse-url-of-dired-file', and is useful for
747 viewing HTML files and the like.
749 ** Grep
752 *** Grep commands will now use GNU grep's '--null' option if
753 available, which allows distinguishing the filename from contents if
754 they contain colons.  This can be controlled by the new custom option
755 'grep-use-null-filename-separator'.
757 *** The grep/rgrep/lgrep functions will now ask about saving files
758 before running.  This is controlled by the 'grep-save-buffers'
759 variable.
761 ** Edebug
763 *** Edebug can be prevented from pausing 1 second after reaching a
764 breakpoint (e.g. with "f" and "o") by customizing the new option
765 'edebug-sit-on-break'.
768 *** New customizable option 'edebug-max-depth'
769 This allows to enlarge the maximum recursion depth when instrumenting
770 code.
772 ** Eshell
774 *** 'eshell-input-filter's value is now a named function
775 'eshell-input-filter-default', and has a new custom option
776 'eshell-input-filter-initial-space' to ignore adding commands prefixed
777 with blank space to eshell history.
779 ** eww
782 *** New 'M-RET' command for opening a link at point in a new eww buffer.
785 *** A new 's' command for switching to another eww buffer via the minibuffer.
788 *** The 'o' command ('shr-save-contents') has moved to 'O' to avoid collision
789 with the 'o' command from 'image-map'.
792 *** A new command 'C' ('eww-toggle-colors') can be used to toggle
793 whether to use the HTML-specified colors or not.  The user can also
794 customize the 'shr-use-colors' variable.
797 *** Images that are being loaded are now marked with gray
798 "placeholder" images of the size specified by the HTML.  They are then
799 replaced by the real images asynchronously, which will also now
800 respect width/height HTML specs (unless they specify widths/heights
801 bigger than the current window).
804 *** The 'w' command on links is now 'shr-maybe-probe-and-copy-url'.
805 'shr-copy-url' now only copies the url at point; users who wish to
806 avoid accidentally accessing remote links may rebind 'w' and 'u' in
807 'eww-link-keymap' to it.
810 ** Ido
812 *** The commands 'find-alternate-file-other-window',
813 'dired-other-window', 'dired-other-frame', and
814 'display-buffer-other-window' are now remapped to Ido equivalents if
815 Ido mode is active.
817 ** Images
820 *** Images are automatically scaled before displaying based on the
821 'image-scaling-factor' variable (if Emacs supports scaling the images
822 in question).
825 *** It's now possible to specify aspect-ratio preserving combinations
826 of :width/:max-height and :height/:max-width keywords.  In either
827 case, the "max" keywords win.  (Previously some combinations would,
828 depending on the aspect ratio of the image, just be ignored and in
829 other instances this would lead to the aspect ratio not being
830 preserved.)
833 *** Images inserted with 'insert-image' and related functions get a
834 keymap put into the text properties (or overlays) that span the
835 image.  This keymap binds keystrokes for manipulating size and
836 rotation, as well as saving the image to a file.  These commands are
837 also available in 'image-mode'.
840 *** A new library for creating and manipulating SVG images has been
841 added.  See the "SVG Images" section in the Lisp reference manual for
842 details.
845 *** New setf-able function to access and set image parameters is
846 provided: 'image-property'.
849 *** New commands 'image-scroll-left' and 'image-scroll-right'
850 for 'image-mode' that complement 'image-scroll-up' and
851 'image-scroll-down': they have the same prefix arg behavior and stop
852 at image boundaries.
854 ** Image-Dired
856 *** Now provides a minor mode 'image-dired-minor-mode' which replaces
857 the function 'image-dired-setup-dired-keybindings'.
859 *** Thumbnail generation is now asynchronous
860 The number of concurrent processes is limited by the variable
861 'image-dired-thumb-job-limit'.
863 *** 'image-dired-thumbnail-storage' has a new option 'standard-large'
864 for generating 256x256 thumbnails according to the Thumbnail Managing
865 Standard.
867 *** Inherits movement keys from 'image-mode' for viewing full images.
868 This includes the usual char, line, and page movement commands.
870 *** All the -options types have been changed to argument lists
871 instead of shell command strings.  This change affects
872 'image-dired-cmd-create-thumbnail-options',
873 'image-dired-cmd-create-temp-image-options',
874 'image-dired-cmd-rotate-thumbnail-options',
875 'image-dired-cmd-rotate-original-options',
876 'image-dired-cmd-write-exif-data-options',
877 'image-dired-cmd-read-exif-data-options', and introduces
878 'image-dired-cmd-pngnq-options', 'image-dired-cmd-pngcrush-options',
879 'image-dired-cmd-create-standard-thumbnail-options'
881 *** Recognizes more tools by default, including pngnq-s9 and OptiPNG
883 *** 'find-file' and related commands now work on thumbnails and
884 displayed images, providing a default argument of the original file name
885 via an addition to 'file-name-at-point-functions'.
888 ** The default 'Info-default-directory-list' no longer checks some obsolete
889 directory suffixes (gnu, gnu/lib, gnu/lib/emacs, emacs, lib, lib/emacs)
890 when searching for info directories.
893 ** The commands that add ChangeLog entries now prefer a VCS root directory
894 for the ChangeLog file, if none already exists.  Customize
895 'change-log-directory-files' to nil for the old behavior.
898 ** Support for non-string values of 'time-stamp-format' has been removed.
900 ** Message
903 *** 'message-use-idna' now defaults to t (because Emacs comes with
904 built-in IDNA support now).
907 *** When sending HTML messages with embedded images, and you have
908 exiftool installed, and you rotate images with EXIF data (i.e.,
909 JPEGs), the rotational information will be inserted into the outgoing
910 image in the message.  (The original image will not have its
911 orientation affected.)
914 *** The 'message-valid-fqdn-regexp' variable has been removed, since
915 there are now top-level domains added all the time.  Message will no
916 longer warn about sending emails to top-level domains it hasn't heard
917 about.
919 *** 'message-beginning-of-line' (bound to C-a) understands folded headers.
920 In 'visual-line-mode' it will look for the true beginning of a header
921 while in non-'visual-line-mode' it will move the point to the indented
922 header's value.
924 ** Package
927 *** The new variable 'package-gnupghome-dir' has been added to control
928 where the GnuPG home directory (used for signature verification) is
929 located and whether GnuPG's option "--homedir" is used or not.
932 *** Deleting a package no longer respects 'delete-by-moving-to-trash'.
934 ** Tramp
937 *** The method part of remote file names is mandatory now.  A valid
938 remote file name starts with "/method:host:" or "/method:user@host:".
941 *** The new pseudo method "-" is a marker for the default method.
942 "/-::" is the shortest remote file name then.
945 *** The command 'tramp-change-syntax' allows to choose an alternative
946 remote file name syntax.
949 *** New connection method "sg", which supports editing files under a
950 different group ID.
953 *** New connection method "doas" for OpenBSD hosts.
956 *** New connection method "gdrive", which allows to access Google
957 Drive onsite repositories.
960 *** Gateway methods in Tramp have been removed.  Instead, the Tramp
961 manual documents how to configure ssh and PuTTY accordingly.
964 *** Setting the "ENV" environment variable in
965 'tramp-remote-process-environment' enables reading of shell
966 initialization files.
969 *** Variable 'tramp-completion-mode' is obsoleted.
972 ** 'auto-revert-use-notify' is set back to t in 'global-auto-revert-mode'.
974 ** JS mode
977 *** JS mode now sets 'comment-multi-line' to t.
980 *** New variable 'js-indent-align-list-continuation', when set to nil,
981 will not align continuations of bracketed lists, but will indent them
982 by the fixed width 'js-indent-level'.
984 ** CSS mode
987 *** Support for completing attribute values, at-rules, bang-rules,
988 HTML tags, classes and IDs using the 'completion-at-point' command.
989 Completion candidates for HTML classes and IDs are retrieved from open
990 HTML mode buffers.
993 *** CSS mode now binds 'C-h S' to a function that will show
994 information about a CSS construct (an at-rule, property, pseudo-class,
995 pseudo-element, with the default being guessed from context).  By
996 default the information is looked up on the Mozilla Developer Network,
997 but this can be customized using 'css-lookup-url-format'.
1000 *** CSS colors are fontified using the color they represent as the
1001 background.  For instance, #ff0000 would be fontified with a red
1002 background.
1005 ** Emacs now supports character name escape sequences in character and
1006 string literals.  The syntax variants \N{character name} and
1007 \N{U+code} are supported.
1010 ** Prog mode has some support for multi-mode indentation.
1011 This allows better indentation support in modes that support multiple
1012 programming languages in the same buffer, like literate programming
1013 environments or ANTLR programs with embedded Python code.
1015 A major mode can provide indentation context for a sub-mode through
1016 the 'prog-indentation-context' variable.  To support this, modes that
1017 provide indentation should use 'prog-widen' instead of 'widen' and
1018 'prog-first-column' instead of a literal zero.  See the node
1019 "Mode-Specific Indent" in the ELisp manual for more details.
1021 ** ERC
1023 *** New variable 'erc-default-port-tls' used to connect to TLS IRC
1024 servers.
1026 ** URL
1029 *** The new function 'url-cookie-delete-cookie' can be used to
1030 programmatically delete all cookies, or cookies from a specific
1031 domain.
1034 *** 'url-retrieve-synchronously' now takes an optional timeout parameter.
1037 *** The URL package now support HTTPS over proxies supporting CONNECT.
1040 *** 'url-user-agent' now defaults to 'default', and the User-Agent
1041 string is computed dynamically based on 'url-privacy-level'.
1043 ** VC and related modes
1046 *** The VC state indicator in the mode line now defaults to more
1047 colorful faces to make it more obvious to the user what the state is.
1048 See the 'vc-faces' customization group.
1051 *** 'vc-dir-mode' now binds 'vc-log-outgoing' to 'O'; and has various
1052 branch-related commands on a keymap bound to 'B'.
1054 ** CC mode
1056 *** Opening a .h file will turn C or C++ mode depending on language used.
1057 This is done with the help of 'c-or-c++-mode' function which analyses
1058 contents of the buffer to determine whether it's a C or C++ source
1059 file.
1062 ** New DNS mode command 'dns-mode-ipv6-to-nibbles' to convert IPv6 addresses
1063 to a format suitable for reverse lookup zone files.
1065 ** Flymake
1068 *** Emacs does no longer prompt the user before killing Flymake
1069 processes on exit.
1072 * New Modes and Packages in Emacs 26.1
1074 ** New Elisp data-structure library 'radix-tree'.
1076 ** New library 'xdg' with utilities for some XDG standards and specs.
1078 ** HTML
1081 *** A new submode of 'html-mode', 'mhtml-mode', is now the default
1082 mode for *.html files.  This mode handles indentation,
1083 fontification, and commenting for embedded JavaScript and CSS.
1085 ** New minor mode 'pixel-scroll-mode' provides smooth pixel-level scrolling.
1088 * Incompatible Lisp Changes in Emacs 26.1
1090 *** password-data is now a hash-table
1091 so that `password-read' can use any object for the `key' argument.
1094 *** Command 'dired-mark-extension' now automatically prepends a '.' to the
1095 extension when not present.  The new command 'dired-mark-suffix' behaves
1096 similarly but it doesn't prepend a '.'.
1099 ** Certain cond/pcase/cl-case forms are now compiled using a faster jump
1100 table implementation. This uses a new bytecode op 'switch', which isn't
1101 compatible with previous Emacs versions. This functionality can be disabled
1102 by setting 'byte-compile-cond-use-jump-table' to nil.
1104 ** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term
1105 mode to send the same escape sequences that xterm does.  This makes
1106 things like forward-word in readline work.
1109 ** hideshow mode got four key bindings that are analogous to outline
1110 mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e.'
1113 ** Customizable variable 'query-replace-from-to-separator'
1114 now doesn't propertize the string value of the separator.
1115 Instead, text properties are added by query-replace-read-from.
1116 Additionally, the new nil value restores pre-24.5 behavior
1117 of not providing replacement pairs via the history.
1119 ** Some obsolete functions, variables, and faces have been removed:
1120 *** make-variable-frame-local.  Variables cannot be frame-local any more.
1121 *** From subr.el: window-dot, set-window-dot, read-input, show-buffer,
1122 eval-current-buffer, string-to-int
1123 *** icomplete-prospects-length.
1124 *** All the default-FOO variables that hold the default value of the
1125 FOO variable.  Use 'default-value' and 'setq-default' to access and
1126 change FOO, respectively.  The exhaustive list of removed variables is:
1127 'default-mode-line-format', 'default-header-line-format',
1128 'default-line-spacing', 'default-abbrev-mode', 'default-ctl-arrow',
1129 'default-truncate-lines', 'default-left-margin', 'default-tab-width',
1130 'default-case-fold-search', 'default-left-margin-width',
1131 'default-right-margin-width', 'default-left-fringe-width',
1132 'default-right-fringe-width', 'default-fringes-outside-margins',
1133 'default-scroll-bar-width', 'default-vertical-scroll-bar',
1134 'default-indicate-empty-lines', 'default-indicate-buffer-boundaries',
1135 'default-fringe-indicator-alist', 'default-fringe-cursor-alist',
1136 'default-scroll-up-aggressively', 'default-scroll-down-aggressively',
1137 'default-fill-column', 'default-cursor-type',
1138 'default-cursor-in-non-selected-windows',
1139 'default-buffer-file-coding-system', 'default-major-mode', and
1140 'default-enable-multibyte-characters'.
1141 *** Many variables obsoleted in 22.1 referring to face symbols
1144 ** The variable 'text-quoting-style' no longer affects the treatment
1145 of curved quotes in format arguments to functions like 'message' and
1146 'format-message'.  In particular, when this variable's value is
1147 'grave', all quotes in formats are output as-is.
1149 ** Functions like 'check-declare-file' and 'check-declare-directory'
1150 now generate less chatter and more-compact diagnostics.  The auxiliary
1151 function 'check-declare-errmsg' has been removed.
1154 ** The regular expression character class [:blank:] now matches
1155 Unicode horizontal whitespace as defined in the Unicode Technical
1156 Standard #18.  If you only want to match space and tab, use [ \t]
1157 instead.
1160 ** 'min' and 'max' no longer round their results.  Formerly, they
1161 returned a floating-point value if any argument was floating-point,
1162 which was sometimes numerically incorrect.  For example, on a 64-bit
1163 host (max 1e16 10000000000000001) now returns its second argument
1164 instead of its first.
1167 ** The variable 'old-style-backquotes' has been made internal and
1168 renamed to 'lread--old-style-backquotes'.  No user code should use
1169 this variable.
1171 ** To avoid confusion caused by "smart quotes", the reader no longer
1172 accepts Lisp symbols which begin with the following quotation
1173 characters: ‘’‛“”‟〞"', unless they are escaped with backslash.
1176 ** Module functions are now implemented slightly differently; in
1177 particular, the function 'internal--module-call' has been removed.
1178 Code that depends on undocumented internals of the module system might
1179 break.
1182 * Lisp Changes in Emacs 26.1
1184 ** New function `define-symbol-prop'.
1187 ** New optional argument TESTFN in 'alist-get', 'map-elt' and 'map-put'.
1189 ** New function 'seq-set-equal-p' to check if SEQUENCE1 and SEQUENCE2
1190 contain the same elements, regardless of the order.
1192 ** Checksum/Hash
1195 ** New function 'secure-hash-algorithms' to list the algorithms that
1196 'secure-hash' supports.
1197 See the node "(elisp) Checksum/Hash" in the ELisp manual for details.
1200 ** Emacs now exposes the GnuTLS cryptographic API with the functions
1201 'gnutls-macs' and 'gnutls-hash-mac'; 'gnutls-digests' and
1202 'gnutls-hash-digest'; 'gnutls-ciphers' and 'gnutls-symmetric-encrypt'
1203 and 'gnutls-symmetric-decrypt'.
1204 See the node "(elisp) GnuTLS Cryptography" in the ELisp manual for details.
1207 ** Emacs now supports records for user-defined types, via the new
1208 functions 'make-record', 'record', and 'recordp'.  Records are now
1209 used internally to represent cl-defstruct and defclass instances, for
1210 example.
1213 ** 'save-some-buffers' now uses 'save-some-buffers-default-predicate'
1214 to decide which buffers to ask about, if the PRED argument is nil.
1215 The default value of 'save-some-buffers-default-predicate' is nil,
1216 which means ask about all file-visiting buffers.
1218 ** string-(to|as|make)-(uni|multi)byte are now declared obsolete.
1219 ** New variable 'while-no-input-ignore-events' which allow
1220 setting which special events 'while-no-input' should ignore.
1221 It is a list of symbols.
1223 ** New function 'undo-amalgamate-change-group' to get rid of
1224 undo-boundaries between two states.
1226 ** New var 'definition-prefixes' is a hash table mapping prefixes to
1227 the files where corresponding definitions can be found.  This can be
1228 used to fetch definitions that are not yet loaded, for example for
1229 'C-h f'.
1231 ** New var 'syntax-ppss-table' to control the syntax-table used in
1232 'syntax-ppss'.
1235 ** 'define-derived-mode' can now specify an :after-hook form, which
1236 gets evaluated after the new mode's hook has run.  This can be used to
1237 incorporate configuration changes made in the mode hook into the
1238 mode's setup.
1240 ** Autoload files can be generated without timestamps,
1241 by setting 'autoload-timestamps' to nil.
1242 FIXME As an experiment, nil is the current default.
1243 If no insurmountable problems before next release, it can stay that way.
1246 ** 'gnutls-boot' now takes a parameter ':complete-negotiation' that
1247 says that negotiation should complete even on non-blocking sockets.
1250 ** There is now a new variable 'flyspell-sort-corrections-function'
1251 that allows changing the way corrections are sorted.
1254 ** The new command 'fortune-message' has been added, which displays
1255 fortunes in the echo area.
1258 ** New function 'func-arity' returns information about the argument list
1259 of an arbitrary function.  This generalizes 'subr-arity' for functions
1260 that are not built-in primitives.  We recommend using this new
1261 function instead of 'subr-arity'.
1263 ** New function 'region-bounds' can be used in the interactive spec
1264 to provide region boundaries (for rectangular regions more than one)
1265 to an interactively callable function as a single argument instead of
1266 two separate arguments region-beginning and region-end.
1269 ** 'parse-partial-sexp' state has a new element.  Element 10 is
1270 non-nil when the last character scanned might be the first character
1271 of a two character construct, i.e., a comment delimiter or escaped
1272 character.  Its value is the syntax of that last character.
1275 ** 'parse-partial-sexp's state, element 9, has now been confirmed as
1276 permanent and documented, and may be used by Lisp programs.  Its value
1277 is a list of currently open parenthesis positions, starting with the
1278 outermost parenthesis.
1281 ** 'read-color' will now display the color names using the color itself
1282 as the background color.
1284 ** The function 'redirect-debugging-output' now works on platforms
1285 other than GNU/Linux.
1288 ** The new function 'string-version-lessp' compares strings by
1289 interpreting consecutive runs of numerical characters as numbers, and
1290 compares their numerical values.  According to this predicate,
1291 "foo2.png" is smaller than "foo12.png".
1294 ** Numeric comparisons and 'logb' no longer return incorrect answers
1295 due to internal rounding errors.  For example, (< most-positive-fixnum
1296 (+ 1.0 most-positive-fixnum)) now correctly returns t on 64-bit hosts.
1299 ** The functions 'ffloor', 'fceiling', 'ftruncate' and 'fround' now
1300 accept only floating-point arguments, as per their documentation.
1301 Formerly, they quietly accepted integer arguments and sometimes
1302 returned nonsensical answers, e.g., (< N (ffloor N)) could return t.
1305 ** On hosts like GNU/Linux x86-64 where a 'long double' fraction
1306 contains at least EMACS_INT_WIDTH - 3 bits, 'format' no longer returns
1307 incorrect answers due to internal rounding errors when formatting
1308 Emacs integers with %e, %f, or %g conversions.  For example, on these
1309 hosts (eql N (string-to-number (format "%.0f" N))) now returns t for
1310 all Emacs integers N.
1313 ** Calls that accept floating-point integers (for use on hosts with
1314 limited integer range) now signal an error if arguments are not
1315 integral.  For example (decode-char 'ascii 0.5) now signals an error.
1318 ** The new function 'char-from-name' converts a Unicode name string
1319 to the corresponding character code.
1322 ** New functions 'sxhash-eq' and 'sxhash-eql' return hash codes of a
1323 Lisp object suitable for use with 'eq' and 'eql' correspondingly.  If
1324 two objects are 'eq' ('eql'), then the result of 'sxhash-eq'
1325 ('sxhash-eql') on them will be the same.
1328 ** Function 'sxhash' has been renamed to 'sxhash-equal' for
1329 consistency with the new functions.  For compatibility, 'sxhash'
1330 remains as an alias to 'sxhash-equal'.
1333 ** 'make-hash-table' now defaults to a rehash threshold of 0.8125
1334 instead of 0.8, to avoid rounding glitches.
1337 ** New function 'add-variable-watcher' can be used to call a function
1338 when a symbol's value is changed.  This is used to implement the new
1339 debugger command 'debug-on-variable-change'.
1342 ** Time conversion functions that accept a time zone rule argument now
1343 allow it to be OFFSET or a list (OFFSET ABBR), where the integer
1344 OFFSET is a count of seconds east of Universal Time, and the string
1345 ABBR is a time zone abbreviation.  The affected functions are
1346 'current-time-string', 'current-time-zone', 'decode-time',
1347 'format-time-string', and 'set-time-zone-rule'.
1350 ** 'format-time-string' now formats "%q" to the calendar quarter.
1352 ** New built-in function 'mapcan' which avoids unnecessary consing (and garbage
1353 collection).
1356 ** 'car' and 'cdr' compositions 'cXXXr' and 'cXXXXr' are now part of Elisp.
1359 ** 'if-let*', 'when-let*', and 'and-let*' are new in subr-x.el.
1360 The incumbent 'if-let' and 'when-let' are now aliases.
1362 ** Low-level list functions like 'length' and 'member' now do a better
1363 job of signaling list cycles instead of looping indefinitely.
1366 ** The new functions 'make-nearby-temp-file' and 'temporary-file-directory'
1367 can be used for creation of temporary files of remote or mounted directories.
1370 ** The new function 'file-local-name' can be used to specify arguments
1371 of remote processes.
1374 ** The new functions 'file-name-quote', 'file-name-unquote' and
1375 'file-name-quoted-p' can be used to quote / unquote file names with
1376 the prefix "/:".
1379 ** The new error 'file-missing', a subcategory of 'file-error', is now
1380 signaled instead of 'file-error' if a file operation acts on a file
1381 that does not exist.
1384 ** The function 'delete-directory' no longer signals an error when
1385 operating recursively and when some other process deletes the directory
1386 or its files before 'delete-directory' gets to them.
1389 *** New error type 'user-search-failed' like 'search-failed' but
1390 avoids debugger like 'user-error'.
1393 ** The function 'line-number-at-pos' now takes a second optional
1394 argument 'absolute'. If this parameter is nil, the default, this
1395 function keeps on returning the line number taking potential narrowing
1396 into account. If this parameter is non-nil, the function ignores
1397 narrowing and returns the absolute line number.
1399 ** Changes in Frame- and Window- Handling
1402 *** Resizing a frame no longer runs 'window-configuration-change-hook'.
1403 'window-size-change-functions' should be used instead.
1406 *** The new function 'frame-size-changed-p' can tell whether a frame has
1407 been resized since the last time 'window-size-change-functions' has been
1408 run.
1411 *** The function 'frame-geometry' now also returns the width of a
1412 frame's outer border.
1415 *** New frame parameters and changed semantics for older ones
1418 **** 'z-group' positions a frame above or below all others.
1421 **** 'min-width' and 'min-height' specify the absolute minimum size of a
1422 frame.
1425 **** 'parent-frame' makes a frame the child frame of another Emacs
1426 frame.  The section "Child Frames" in the Elisp manual describes the
1427 intrinsics of that relationship.
1430 **** 'delete-before' triggers deletion of one frame before that of
1431 another.
1434 **** 'mouse-wheel-frame' specifies another frame whose windows shall be
1435 scrolled instead.
1438 **** 'no-other-frame' has 'next-frame' and 'previous-frame' skip this
1439 frame.
1442 **** 'skip-taskbar' removes a frame's icon from the taskbar and has
1443 Alt-<TAB> skip this frame.
1446 **** 'no-focus-on-map' avoids that a frame gets input focus when mapped.
1449 **** 'no-accept-focus' means that a frame does not want to get input
1450 focus via the mouse.
1453 **** 'undecorated' removes the window manager decorations from a frame.
1456 **** 'override-redirect' tells the window manager to disregard this
1457 frame.
1460 **** 'width' and 'height' allow to specify pixel values and ratios now.
1463 **** 'left' and 'top' allow to specify ratios now.
1466 **** 'keep-ratio' preserves size and position of child frames when their
1467 parent frame is resized.
1470 **** 'no-special-glyphs' suppresses display of truncation and
1471 continuation glyphs in a frame.
1474 **** 'auto-hide-function' and 'minibuffer-exit' handle auto hiding of
1475 frames and exiting from minibuffer individually.
1478 **** 'fit-frame-to-buffer-margins' and 'fit-frame-to-buffer-sizes'
1479 handle fitting a frame to its buffer individually.
1482 **** 'drag-internal-border', 'drag-with-header-line',
1483 'drag-with-mode-line', 'snap-width', 'top-visible' and 'bottom-visible'
1484 allow to drag and resize frames with the mouse.
1486 *** The new function 'frame-list-z-order' returns a list of all frames
1487 in Z (stacking) order.
1490 *** The function 'x-focus-frame' optionally tries to not activate its
1491 frame.
1494 *** The variable 'focus-follows-mouse' has a third meaningful value
1495 'auto-raise' to indicate that the window manager automatically raises a
1496 frame when the mouse pointer enters it.
1499 *** The new function 'frame-restack' puts a frame above or below
1500 another on the display.
1503 *** The new face 'internal-border' specifies the background of a frame's
1504 internal border.
1507 *** The NORECORD argument of 'select-window' now has a meaningful value
1508 'mark-for-redisplay' which is like any other non-nil value but marks
1509 WINDOW for redisplay.
1512 *** Support for side windows is now official.  The display action
1513 function 'display-buffer-in-side-window' will display its buffer in a
1514 side window.  Functions for toggling all side windows on a frame,
1515 changing and reversing the layout of side windows and returning the main
1516 (major non-side) window of a frame are provided.  For details consult
1517 the section "Side Windows" in the Elisp manual.
1520 *** Support for atomic windows - rectangular compositions of windows
1521 treated by 'split-window', 'delete-window' and 'delete-other-windows'
1522 like a single live window - is now official.  For details consult the
1523 section "Atomic Windows" in the Elisp manual.
1526 *** New 'display-buffer' alist entry 'window-parameters' allows to
1527 assign window parameters to the window used for displaying the buffer.
1530 *** New function 'display-buffer-reuse-mode-window' is an action function
1531 suitable for use in 'display-buffer-alist'. For example, to avoid creating
1532 a new window when opening man pages when there's already one, use
1533 (add-to-list 'display-buffer-alist
1534      '("\\`\\*Man .*\\*\\'" .
1535        (display-buffer-reuse-mode-window
1536         (inhibit-same-window . nil)
1537         (mode . Man-mode))))
1540 *** New window parameter 'no-delete-other-window' prevents that
1541 its window gets deleted by 'delete-other-windows'.
1544 *** New window parameters 'mode-line-format' and 'header-line-format'
1545 allow to override the buffer-local formats for this window.
1548 *** New command 'window-swap-states' swaps the states of two live
1549 windows.
1552 *** New functions 'window-pixel-width-before-size-change' and
1553 'window-pixel-height-before-size-change' support detecting which
1554 window changed size when 'window-size-change-functions' are run.
1557 *** The new function 'window-lines-pixel-dimensions' returns the pixel
1558 dimensions of a window's text lines.
1561 *** The new function 'window-largest-empty-rectangle' returns the
1562 dimensions of the largest rectangular area not occupying any text in a
1563 window's body.
1566 *** The semantics of 'mouse-autoselect-window' has changed slightly.
1567 For details see the section "Mouse Window Auto-selection" in the Elisp
1568 manual.
1571 ** 'tcl-auto-fill-mode' is now declared obsolete.  Its functionality
1572 can be replicated simply by setting 'comment-auto-fill-only-comments'.
1574 ** New pcase pattern 'rx' to match against a rx-style regular
1575 expression.
1578 * Changes in Emacs 26.1 on Non-Free Operating Systems
1580 ** Intercepting hotkeys on Windows 7 and later now works better.
1581 The new keyboard hooking code properly grabs system hotkeys such as
1582 Win-* and Alt-TAB, in a way that Emacs can get at them before the
1583 system.  This makes the 'w32-register-hot-key' functionality work
1584 again on all versions of MS-Windows starting with Windows 7.  On
1585 Windows NT and later you can now register any hotkey combination.  (On
1586 Windows 9X, the previous limitations, spelled out in the Emacs manual,
1587 still apply.)
1589 ** 'convert-standard-filename' no longer mirrors slashes on MS-Windows.
1590 Previously, on MS-Windows this function converted slash characters in
1591 file names into backslashes.  It no longer does that.  If your Lisp
1592 program used 'convert-standard-filename' to prepare file names to be
1593 passed to subprocesses (which is not the recommended usage of that
1594 function), you will now have to mirror slashes in your application
1595 code.  One possible way is this:
1597          (let ((start 0))
1598            (while (string-match "/" file-name start)
1599              (aset file-name (match-beginning 0) ?\\)
1600              (setq start (match-end 0))))
1602 ** GUI sessions now treat SIGINT like Posix platforms do.
1603 The effect of delivering a Ctrl-C (SIGINT) signal to a GUI Emacs on
1604 MS-Windows is now the same as on Posix platforms -- Emacs saves the
1605 session and exits.  In particular, this will happen if you start
1606 emacs.exe from the Windows shell, then type Ctrl-C into that shell's
1607 window.
1610 ** 'signal-process' supports SIGTRAP on Windows XP and later.
1611 The 'kill' emulation on Windows now maps SIGTRAP to a call to the
1612 'DebugBreakProcess' API.  This causes the receiving process to break
1613 execution and return control to the debugger.  If no debugger is
1614 attached to the receiving process, the call is typically ignored.
1615 This is in contrast to the default action on POSIX Systems, where it
1616 causes the receiving process to terminate with a core dump if no
1617 debugger has been attached to it.
1619 ** 'set-mouse-position' and 'set-mouse-absolute-pixel-position' work
1620 on macOS.
1622 ** Emacs can now be run as a GUI application from the command line on
1623 macOS.
1626 ----------------------------------------------------------------------
1627 This file is part of GNU Emacs.
1629 GNU Emacs is free software: you can redistribute it and/or modify
1630 it under the terms of the GNU General Public License as published by
1631 the Free Software Foundation, either version 3 of the License, or
1632 (at your option) any later version.
1634 GNU Emacs is distributed in the hope that it will be useful,
1635 but WITHOUT ANY WARRANTY; without even the implied warranty of
1636 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1637 GNU General Public License for more details.
1639 You should have received a copy of the GNU General Public License
1640 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
1643 Local variables:
1644 coding: utf-8
1645 mode: outline
1646 paragraph-separate: "[  \f]*$"
1647 end: