Add file-local-name
[emacs.git] / etc / NEWS
blob619d56ba7b79bc1ed517ba99b6ec17d9e2b7166d
1 GNU Emacs NEWS -- history of user-visible changes.
3 Copyright (C) 2014-2016 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 --enable-gcc-warnings=warn-only' causes
34 GCC to issue warnings without stopping the build.  This behavior is
35 now the default in developer builds.  As before, use
36 '--disable-gcc-warnings' to suppress GCC's warnings, and
37 '--enable-gcc-warnings' to stop the build if GCC issues warnings.
39 +++
40 ** The Emacs server now has socket-launching support.  This allows
41 socket based activation, where an external process like systemd can
42 invoke the Emacs server process upon a socket connection event and
43 hand the socket over to Emacs.  Emacs uses this socket to service
44 emacsclient commands.  This new functionality can be disabled with the
45 configure option '--disable-libsystemd'.
47 +++
48 ** A systemd user unit file is provided.  Use it in the standard way:
49 systemctl --user enable emacs
50 (If your Emacs is installed in a non-standard location, you may
51 need to copy the emacs.service file to eg ~/.config/systemd/user/)
53 ** New configure option '--disable-build-details' attempts to build an
54 Emacs that is more likely to be reproducible; that is, if you build
55 and install Emacs twice, the second Emacs is a copy of the first.
56 Deterministic builds omit the build date from the output of the
57 emacs-version and erc-cmd-SV functions, and the leave the following
58 variables nil: emacs-build-system, emacs-build-time,
59 erc-emacs-build-time.
61 ** Emacs no longer works on IRIX.  We expect that Emacs users are not
62 affected by this, as SGI stopped supporting IRIX in December 2013.
65 * Startup Changes in Emacs 26.1
67 ** New option '--new-daemon'.  This is the same as '--daemon', except
68 it runs in the foreground and does not fork.  This is intended for
69 modern init systems such as systemd, which manage many of the traditional
70 aspects of daemon behavior themselves.  '--old-daemon' is now an alias
71 for '--daemon'.
74 * Changes in Emacs 26.1
76 +++
77 ** The new function 'file-name-case-insensitive-p' tests whether a
78 given file is on a case-insensitive filesystem.
80 +++
81 ** The new user variable 'electric-quote-chars' provides a list
82 of curved quotes for 'electric-quote-mode', allowing user to choose
83 the types of quotes to be used.
85 +++
86 ** Emacs now uses double buffering to reduce flicker when editing and
87 resizing graphical Emacs frames on the X Window System.  This support
88 requires the DOUBLE-BUFFER extension, which major X servers have
89 supported for many years.
91 ---
92 The group 'wp', whose label was "text", is now deprecated.
93 Use the new group 'text', which inherits from 'wp', instead.
95 +++
96 ** The new function 'call-shell-region' executes a command in an
97 inferior shell with the buffer region as input.
99 +++
100 ** The new user option 'shell-command-dont-erase-buffer' controls
101 if the output buffer is erased between shell commands; if non-nil,
102 the output buffer is not erased; this variable also controls where
103 to set the point in the output buffer: beginning of the output,
104 end of the buffer or save the point.
105 When 'shell-command-dont-erase-buffer' is nil, the default value,
106 the behavior of 'shell-command', 'shell-command-on-region' and
107 'async-shell-command' is as usual.
110 ** The new user option 'mouse-select-region-move-to-beginning'
111 controls the position of point when double-clicking mouse-1 on the end
112 of a parenthetical grouping or string-delimiter: the default value nil
113 keeps point at the end of the region, setting it to non-nil moves
114 point to the beginning of the region.
117 ** The new user option 'confirm-kill-processes' allows the user to
118 skip a confirmation prompt for killing subprocesses when exiting
119 Emacs.  When set to t (the default), Emacs will prompt for
120 confirmation before killing subprocesses on exit, which is the same
121 behavior as before.
124 ** 'find-library-name' will now fall back on looking at 'load-history'
125 to try to locate libraries that have been loaded with an explicit path
126 outside 'load-path'.
129 ** Faces in 'minibuffer-prompt-properties' no longer overwrite properties
130 in the text in functions like 'read-from-minibuffer', but instead are
131 added to the end of the face list.  This allows users to say things
132 like '(read-from-minibuffer (propertize "Enter something: " 'face 'bold))'.
135 ** The new variable 'extended-command-suggest-shorter' has been added
136 to control whether to suggest shorter 'M-x' commands or not.
139 ** icomplete now respects 'completion-ignored-extensions'.
142 ** Non-breaking hyphens are now displayed with the 'nobreak-hyphen'
143 face instead of the 'escape-glyph' face.
146 ** Approximations to quotes are now displayed with the new 'homoglyph'
147 face instead of the 'escape-glyph' face.
150 ** 'C-x h' ('mark-whole-buffer') will now avoid marking the prompt
151 part of minibuffers.
154 ** 'find-library' now takes a prefix argument to pop to a different
155 window.
158 ** 'process-attributes' on Darwin systems now returns more information.
161 ** Several accessors for the value returned by 'file-attributes'
162 have been added.  They are: 'file-attribute-type',
163 'file-attribute-link-number', 'file-attribute-user-id',
164 'file-attribute-group-id', 'file-attribute-access-time',
165 'file-attribute-modification-time',
166 'file-attribute-status-change-time', 'file-attribute-size',
167 'file-attribute-modes', 'file-attribute-inode-number',
168 'file-attribute-device-number' and 'file-attribute-collect'.
171 ** The new function 'buffer-hash' computes a fast, non-consing hash of
172 a buffer's contents.
175 ** 'fill-paragraph' no longer marks the buffer as changed unless it
176 actually changed something.
179 ** The locale language name 'ca' is now mapped to the language
180 environment 'Catalan', which has been added.
183 ** 'align-regexp' has a separate history for its interactive argument.
184 'align-regexp' no longer shares its history with all other
185 history-less functions that use 'read-string'.
188 ** The networking code has been reworked so that it's more
189 asynchronous than it was (when specifying :nowait t in
190 'make-network-process').  How asynchronous it is varies based on the
191 capabilities of the system, but on a typical GNU/Linux system the DNS
192 resolution, the connection, and (for TLS streams) the TLS negotiation
193 are all done without blocking the main Emacs thread.  To get
194 asynchronous TLS, the TLS boot parameters have to be passed in (see
195 the manual for details).
197 Certain process oriented functions (like 'process-datagram-address')
198 will block until socket setup has been performed.  The recommended way
199 to deal with asynchronous sockets is to avoid interacting with them
200 until they have changed status to "run".  This is most easily done
201 from a process sentinel.
203 ** 'make-network-process' and 'open-network-stream' sometimes allowed
204 :service to be an integer string (e.g., :service "993") and sometimes
205 required an integer (e.g., :service 993).  This difference has been
206 eliminated, and integer strings work everywhere.
208 ** It is possible to disable attempted recovery on fatal signals.
210 Two new variables support disabling attempts to recover from stack
211 overflow and to avoid automatic auto-save when Emacs is delivered a
212 fatal signal.  'attempt-stack-overflow-recovery', if set to 'nil',
213 will disable attempts to recover from C stack overflows; Emacs will
214 then crash as with any other fatal signal.
215 'attempt-orderly-shutdown-on-fatal-signal', if set to 'nil', will
216 disable attempts to auto-save the session and shut down in an orderly
217 fashion when Emacs receives a fatal signal; instead, Emacs will
218 terminate immediately.  Both variables are non-'nil' by default.
219 These variables are for users who would like to avoid the small
220 probability of data corruption due to techniques Emacs uses to recover
221 in these situations.
224 ** File local and directory local variables are now initialized each
225 time the major mode is set, not just when the file is first visited.
226 These local variables will thus not vanish on setting a major mode.
229 ** A second dir-local file (.dir-locals-2.el) is now accepted.
230 See the variable 'dir-locals-file-2' for more information.
233 ** Connection-local variables can be used to specify local variables
234 with a value depending on the connected remote server.  For details,
235 see the node "Connection Local Variables" in the ELisp manual.
238 ** International domain names (IDNA) are now encoded via the new
239 puny.el library, so that one can visit web sites with non-ASCII URLs.
242 ** The new 'timer-list' command lists all active timers in a buffer,
243 where you can cancel them with the 'c' command.
246 ** The new function 'read-multiple-choice' prompts for multiple-choice
247 questions, with a handy way to display help texts.
250 ** 'switch-to-buffer-preserve-window-point' now defaults to t.
253 ** The new variable 'debugger-stack-frame-as-list' allows displaying
254 all call stack frames in a Lisp backtrace buffer as lists.  Both
255 debug.el and edebug.el have been updated to heed to this variable.
258 ** The new variable 'x-ctrl-keysym' has been added to the existing
259 roster of X keysyms.  It can be used in combination with another
260 variable of this kind to swap modifiers in Emacs.
263 ** New input method: 'cyrillic-tuvan'.
266 * Editing Changes in Emacs 26.1
269 ** New bindings for 'query-replace-map'.
270 'undo', undo the last replacement; bound to 'u'.
271 'undo-all', undo all replacements; bound to 'U'.
273 ** 'delete-trailing-whitespace' deletes whitespace after form feed.
274 In modes where form feed was treated as a whitespace character,
275 'delete-trailing-whitespace' would keep lines containing it unchanged.
276 It now deletes whitespace after the last form feed thus behaving the
277 same as in modes where the character is not whitespace.
279 ** No more prompt about changed file when the file's content is unchanged.
280 Instead of only checking the modification time, Emacs now also checks
281 the file's actual content before prompting the user.
284 * Changes in Specialized Modes and Packages in Emacs 26.1
286 ** Ibuffer
289 *** A new command 'ibuffer-copy-buffername-as-kill'; bound
290 to 'B'.
293 *** New command 'ibuffer-change-marks'; bound to '* c'.
296 *** A new command 'ibuffer-mark-by-locked' to mark
297 all locked buffers;  bound to '% L'.
300 *** A new option 'ibuffer-locked-char' to indicate
301 locked buffers; Ibuffer shows a new column displaying
302 'ibuffer-locked-char' for locked buffers.
305 *** A new command 'ibuffer-unmark-all-marks' to unmark
306 all buffers without asking confirmation;  bound to
307 'U'; 'ibuffer-do-replace-regexp' bound to 'r'.
310 *** A new command 'ibuffer-mark-by-content-regexp' to mark buffers
311 whose content matches a regexp; bound to '% g'.
314 *** Two new options 'ibuffer-never-search-content-name' and
315 'ibuffer-never-search-content-mode' used by
316 'ibuffer-mark-by-content-regexp'.
318 ** Browse-URL
320 *** Support for opening links to man pages in Man or WoMan mode.
322 ** Compilation mode
325 *** Messages from CMake are now recognized.
327 ** Dired
330 *** A new option 'dired-always-read-filesystem' default to nil.
331 If non-nil, buffers visiting files are reverted before search them;
332 for instance, in 'dired-mark-files-containing-regexp' a non-nil value
333 of this option means the file is revisited in a temporary buffer;
334 this temporary buffer is the actual buffer searched: the original buffer
335 visiting the file is not modified.
338 *** In wdired, when editing files to contain slash characters,
339 the resulting directories are automatically created.  Whether to do
340 this is controlled by the 'wdired-create-parent-directories' variable.
343 *** 'W' is now bound to 'browse-url-of-dired-file', and is useful for
344 viewing HTML files and the like.
346 ** Edebug
348 *** Edebug can be prevented from pausing 1 second after reaching a
349 breakpoint (e.g. with "f" and "o") by customizing the new option
350 'edebug-sit-on-break'.
352 ** Eshell
354 *** 'eshell-input-filter's value is now a named function
355 'eshell-input-filter-default', and has a new custom option
356 'eshell-input-filter-initial-space' to ignore adding commands prefixed
357 with blank space to eshell history.
359 ** eww
362 *** New 'M-RET' command for opening a link at point in a new eww buffer.
365 *** A new 's' command for switching to another eww buffer via the minibuffer.
368 *** The 'o' command ('shr-save-contents') has moved to 'O' to avoid collision
369 with the 'o' command from 'image-map'.
372 *** A new command 'C' ('eww-toggle-colors') can be used to toggle
373 whether to use the HTML-specified colors or not.  The user can also
374 customize the 'shr-use-colors' variable.
377 *** Images that are being loaded are now marked with gray
378 "placeholder" images of the size specified by the HTML.  They are then
379 replaced by the real images asynchronously, which will also now
380 respect width/height HTML specs (unless they specify widths/heights
381 bigger than the current window).
383 ** Images
386 *** Images are automatically scaled before displaying based on the
387 'image-scaling-factor' variable (if Emacs supports scaling the images
388 in question).
391 *** Images inserted with 'insert-image' and related functions get a
392 keymap put into the text properties (or overlays) that span the
393 image.  This keymap binds keystrokes for manipulating size and
394 rotation, as well as saving the image to a file.  These commands are
395 also available in 'image-mode'.
398 *** A new library for creating and manipulating SVG images has been
399 added.  See the "SVG Images" section in the Lisp reference manual for
400 details.
403 *** New setf-able function to access and set image parameters is
404 provided: 'image-property'.
407 ** The default 'Info-default-directory-list' no longer checks some obsolete
408 directory suffixes (gnu, gnu/lib, gnu/lib/emacs, emacs, lib, lib/emacs)
409 when searching for info directories.
412 ** The commands that add ChangeLog entries now prefer a VCS root directory
413 for the ChangeLog file, if none already exists.  Customize
414 'change-log-directory-files' to nil for the old behavior.
417 ** Support for non-string values of 'time-stamp-format' has been removed.
419 ** Message
422 *** 'message-use-idna' now defaults to t (because Emacs comes with
423 built-in IDNA support now).
426 *** When sending HTML messages with embedded images, and you have
427 exiftool installed, and you rotate images with EXIF data (i.e.,
428 JPEGs), the rotational information will be inserted into the outgoing
429 image in the message.  (The original image will not have its
430 orientation affected.)
433 *** The 'message-valid-fqdn-regexp' variable has been removed, since
434 there are now top-level domains added all the time.  Message will no
435 longer warn about sending emails to top-level domains it hasn't heard
436 about.
438 *** 'message-beginning-of-line' (bound to C-a) understands folded headers.
439 In 'visual-line-mode' it will look for the true beginning of a header
440 while in non-'visual-line-mode' it will move the point to the indented
441 header's value.
443 ** Tramp
446 *** New connection method "sg", which supports editing files under a
447 different group ID.
450 *** New connection method "doas" for OpenBSD hosts.
453 *** New connection method "gdrive", which allows to access Google
454 Drive onsite repositories.
457 Setting the "ENV" environment variable in 'tramp-remote-process-environment'
458 enables reading of shell initialization files.
461 ** 'auto-revert-use-notify' is set back to t in 'global-auto-revert-mode'.
463 ** CSS mode
466 *** Support for completing attribute values, at-rules, bang-rules,
467 HTML tags, classes and IDs using the 'completion-at-point' command.
468 Completion candidates for HTML classes and IDs are retrieved from open
469 HTML mode buffers.
472 ** Emacs now supports character name escape sequences in character and
473 string literals.  The syntax variants \N{character name} and
474 \N{U+code} are supported.
477 ** Prog mode has some support for multi-mode indentation.
478 This allows better indentation support in modes that support multiple
479 programming languages in the same buffer, like literate programming
480 environments or ANTLR programs with embedded Python code.
482 A major mode can provide indentation context for a sub-mode through
483 the 'prog-indentation-context' variable.  To support this, modes that
484 provide indentation should use 'prog-widen' instead of 'widen' and
485 'prog-first-column' instead of a literal zero.  See the node
486 "Mode-Specific Indent" in the ELisp manual for more details.
488 ** ERC
490 *** New variable 'erc-default-port-tls' used to connect to TLS IRC
491 servers.
493 ** URL
496 *** The new function 'url-cookie-delete-cookie' can be used to
497 programmatically delete all cookies, or cookies from a specific
498 domain.
501 *** 'url-retrieve-synchronously' now takes an optional timeout parameter.
504 *** The URL package now support HTTPS over proxies supporting CONNECT.
507 *** 'url-user-agent' now defaults to 'default', and the User-Agent
508 string is computed dynamically based on 'url-privacy-level'.
510 ** VC and related modes
513 *** The VC state indicator in the mode line now defaults to more
514 colorful faces to make it more obvious to the user what the state is.
515 See the 'vc-faces' customization group.
517 ** CC mode
519 *** Opening a .h file will turn C or C++ mode depending on language used.
520 This is done with the help of 'c-or-c++-mode' function which analyses
521 contents of the buffer to determine whether it's a C or C++ source
522 file.
524 ** Flymake
527 *** Emacs does no longer prompt the user before killing Flymake
528 processes on exit.
531 * New Modes and Packages in Emacs 26.1
533 ** New Elisp data-structure library 'radix-tree'.
536 * Incompatible Lisp Changes in Emacs 26.1
539 ** Resizing a frame no longer runs 'window-configuration-change-hook'.
540 Put your function on 'window-size-change-functions' instead.
542 ** 'C-up', 'C-down', 'C-left' and 'C-right' are now defined in term
543 mode to send the same escape sequences that xterm does.  This makes
544 things like forward-word in readline work.
547 ** hideshow mode got four key bindings that are analogous to outline
548 mode bindings: 'C-c @ C-a', 'C-c @ C-t', 'C-c @ C-d', and 'C-c @ C-e.'
550 ** The grep/rgrep/lgrep functions will now ask about saving files
551 before running.  This is controlled by the 'grep-save-buffers'
552 variable.
554 ** Some obsolete functions, variables, and faces have been removed:
555 *** From subr.el: window-dot, set-window-dot, read-input, show-buffer,
556 eval-current-buffer, string-to-int
557 *** All the default-FOO variables that hold the default value of the
558 FOO variable.  Use 'default-value' and 'setq-default' to access and
559 change FOO, respectively.  The exhaustive list of removed variables is:
560 'default-mode-line-format', 'default-header-line-format',
561 'default-line-spacing', 'default-abbrev-mode', 'default-ctl-arrow',
562 'default-truncate-lines', 'default-left-margin', 'default-tab-width',
563 'default-case-fold-search', 'default-left-margin-width',
564 'default-right-margin-width', 'default-left-fringe-width',
565 'default-right-fringe-width', 'default-fringes-outside-margins',
566 'default-scroll-bar-width', 'default-vertical-scroll-bar',
567 'default-indicate-empty-lines', 'default-indicate-buffer-boundaries',
568 'default-fringe-indicator-alist', 'default-fringe-cursor-alist',
569 'default-scroll-up-aggressively', 'default-scroll-down-aggressively',
570 'default-fill-column', 'default-cursor-type',
571 'default-cursor-in-non-selected-windows',
572 'default-buffer-file-coding-system', 'default-major-mode', and
573 'default-enable-multibyte-characters'.
574 *** Many variables obsoleted in 22.1 referring to face symbols
577 ** The variable 'text-quoting-style' no longer affects the treatment
578 of curved quotes in format arguments to functions like 'message' and
579 'format-message'.  In particular, when this variable's value is
580 'grave', all quotes in formats are output as-is.
582 ** Functions like 'check-declare-file' and 'check-declare-directory'
583 now generate less chatter and more-compact diagnostics.  The auxiliary
584 function 'check-declare-errmsg' has been removed.
587 * Lisp Changes in Emacs 26.1
589 ** New function 'undo-amalgamate-change-group' to get rid of
590 undo-boundaries between two states.
592 ** New var 'definition-prefixes' is a hash table mapping prefixes to
593 the files where corresponding definitions can be found.  This can be
594 used to fetch definitions that are not yet loaded, for example for
595 'C-h f'.
597 ** New var 'syntax-ppss-table' to control the syntax-table used in
598 'syntax-ppss'.
601 ** 'define-derived-mode' can now specify an :after-hook form, which
602 gets evaluated after the new mode's hook has run.  This can be used to
603 incorporate configuration changes made in the mode hook into the
604 mode's setup.
606 ** Autoload files can be generated without timestamps,
607 by setting 'autoload-timestamps' to nil.
608 FIXME As an experiment, nil is the current default.
609 If no insurmountable problems before next release, it can stay that way.
612 ** 'gnutls-boot' now takes a parameter ':complete-negotiation' that
613 says that negotiation should complete even on non-blocking sockets.
616 ** New functions 'window-pixel-width-before-size-change' and
617 'window-pixel-height-before-size-change' support detecting which
618 window changed size when 'window-size-change-functions' are run.
621 ** New function 'display-buffer-reuse-mode-window' is an action function
622 suitable for use in 'display-buffer-alist'. For example, to avoid creating
623 a new window when opening man pages when there's already one, use
624 (add-to-list 'display-buffer-alist
625      '("\\`\\*Man .*\\*\\'" .
626        (display-buffer-reuse-mode-window
627         (inhibit-same-window . nil)
628         (mode . Man-mode))))
631 ** There is now a new variable 'flyspell-sort-corrections-function'
632 that allows changing the way corrections are sorted.
635 ** The new command 'fortune-message' has been added, which displays
636 fortunes in the echo area.
639 ** New function 'func-arity' returns information about the argument list
640 of an arbitrary function.  This generalizes 'subr-arity' for functions
641 that are not built-in primitives.  We recommend using this new
642 function instead of 'subr-arity'.
645 ** 'parse-partial-sexp' state has a new element.  Element 10 is
646 non-nil when the last character scanned might be the first character
647 of a two character construct, i.e., a comment delimiter or escaped
648 character.  Its value is the syntax of that last character.
651 ** 'parse-partial-sexp's state, element 9, has now been confirmed as
652 permanent and documented, and may be used by Lisp programs.  Its value
653 is a list of currently open parenthesis positions, starting with the
654 outermost parenthesis.
657 ** 'read-color' will now display the color names using the color itself
658 as the background color.
660 ** The function 'redirect-debugging-output' now works on platforms
661 other than GNU/Linux.
664 ** The new function 'string-version-lessp' compares strings by
665 interpreting consecutive runs of numerical characters as numbers, and
666 compares their numerical values.  According to this predicate,
667 "foo2.png" is smaller than "foo12.png".
670 ** The new function 'char-from-name' converts a Unicode name string
671 to the corresponding character code.
674 ** New functions 'sxhash-eq' and 'sxhash-eql' return hash codes of a
675 Lisp object suitable for use with 'eq' and 'eql' correspondingly.  If
676 two objects are 'eq' ('eql'), then the result of 'sxhash-eq'
677 ('sxhash-eql') on them will be the same.
680 ** Function 'sxhash' has been renamed to 'sxhash-equal' for
681 consistency with the new functions.  For compatibility, 'sxhash'
682 remains as an alias to 'sxhash-equal'.
685 ** Time conversion functions that accept a time zone rule argument now
686 allow it to be OFFSET or a list (OFFSET ABBR), where the integer
687 OFFSET is a count of seconds east of Universal Time, and the string
688 ABBR is a time zone abbreviation.  The affected functions are
689 'current-time-string', 'current-time-zone', 'decode-time',
690 'format-time-string', and 'set-time-zone-rule'.
693 ** 'format-time-string' now formats "%q" to the calendar quarter.
695 ** New built-in function 'mapcan' which avoids unnecessary consing (and garbage
696 collection).
699 ** The new functions 'make-nearby-temp-file' and 'temporary-file-directory'
700 can be used for creation of temporary files of remote or mounted directories.
703 ** The new function 'file-local-name' can be used to specify arguments
704 of remote processes.
707 ** The new error 'file-missing', a subcategory of 'file-error', is now
708 signaled instead of 'file-error' if a file operation acts on a file
709 that does not exist.
712 ** The function 'delete-directory' no longer signals an error when
713 operating recursively and when some other process deletes the directory
714 or its files before 'delete-directory' gets to them.
716 ** Changes in Frame- and Window- Handling
719 *** Support for side windows is now official.  The display action
720 function 'display-buffer-in-side-window' will display its buffer in a
721 side window.  Functions for toggling all side windows on a frame,
722 changing and reversing the layout of side windows and returning the main
723 (major non-side) window of a frame are provided.  For details consult
724 the section "Side Windows" in the Elisp manual.
727 *** Support for atomic windows - rectangular compositions of windows
728 treated by 'split-window', 'delete-window' and 'delete-other-windows'
729 like a single live window - is now official.  For details consult the
730 section "Atomic Windows" in the Elisp manual.
733 *** New 'display-buffer' alist entry 'window-parameters' allows to
734 assign window parameters to the window used for displaying the buffer.
737 *** New window parameter 'no-delete-other-window' prevents that
738 its window gets deleted by 'delete-other-windows'.
741 *** New command 'window-swap-states' swaps the states of two live
742 windows.
745 * Changes in Emacs 26.1 on Non-Free Operating Systems
747 ** Intercepting hotkeys on Windows 7 and later now works better.
748 The new keyboard hooking code properly grabs system hotkeys such as
749 Win-* and Alt-TAB, in a way that Emacs can get at them before the
750 system.  This makes the 'w32-register-hot-key' functionality work
751 again on all versions of MS-Windows starting with Windows 7.  On
752 Windows NT and later you can now register any hotkey combination.  (On
753 Windows 9X, the previous limitations, spelled out in the Emacs manual,
754 still apply.)
756 ** 'convert-standard-filename' no longer mirrors slashes on MS-Windows.
757 Previously, on MS-Windows this function converted slash characters in
758 file names into backslashes.  It no longer does that.  If your Lisp
759 program used 'convert-standard-filename' to prepare file names to be
760 passed to subprocesses (which is not the recommended usage of that
761 function), you will now have to mirror slashes in your application
762 code.  One possible way is this:
764          (let ((start 0))
765            (while (string-match "/" file-name start)
766              (aset file-name (match-beginning 0) ?\\)
767              (setq start (match-end 0))))
769 ** GUI sessions now treat SIGINT like Posix platforms do.
770 The effect of delivering a Ctrl-C (SIGINT) signal to a GUI Emacs on
771 MS-Windows is now the same as on Posix platforms -- Emacs saves the
772 session and exits.  In particular, this will happen if you start
773 emacs.exe from the Windows shell, then type Ctrl-C into that shell's
774 window.
777 ** 'signal-process' supports SIGTRAP on Windows XP and later.
778 The 'kill' emulation on Windows now maps SIGTRAP to a call to the
779 'DebugBreakProcess' API.  This causes the receiving process to break
780 execution and return control to the debugger.  If no debugger is
781 attached to the receiving process, the call is typically ignored.
782 This is in contrast to the default action on POSIX Systems, where it
783 causes the receiving process to terminate with a core dump if no
784 debugger has been attached to it.
787 ----------------------------------------------------------------------
788 This file is part of GNU Emacs.
790 GNU Emacs is free software: you can redistribute it and/or modify
791 it under the terms of the GNU General Public License as published by
792 the Free Software Foundation, either version 3 of the License, or
793 (at your option) any later version.
795 GNU Emacs is distributed in the hope that it will be useful,
796 but WITHOUT ANY WARRANTY; without even the implied warranty of
797 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
798 GNU General Public License for more details.
800 You should have received a copy of the GNU General Public License
801 along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
804 Local variables:
805 coding: us-ascii
806 mode: outline
807 paragraph-separate: "[  \f]*$"
808 end: