1GNU Emacs NEWS -- history of user-visible changes. 2 3Copyright (C) 2014-2021 Free Software Foundation, Inc. 4See the end of the file for license conditions. 5 6Please send Emacs bug reports to bug-gnu-emacs@gnu.org. 7If possible, use M-x report-emacs-bug. 8 9This file is about changes in Emacs version 25. 10 11See file HISTORY for a list of GNU Emacs versions and release dates. 12See files NEWS.24, NEWS.23, NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18, 13and NEWS.1-17 for changes in older Emacs versions. 14 15You can narrow news to a specific version by calling 'view-emacs-news' 16with a prefix argument or by typing C-u C-h C-n. 17 18 19* Changes in Emacs 25.3 20 21This is an emergency release to fix a security vulnerability in Emacs. 22 23** Security vulnerability related to Enriched Text mode is removed. 24 25*** Enriched Text mode has its support for decoding 'x-display' disabled. 26This feature allows saving 'display' properties as part of text. 27Emacs 'display' properties support evaluation of arbitrary Lisp forms 28as part of instantiating the property, so decoding 'x-display' is 29vulnerable to executing arbitrary malicious Lisp code included in the 30text (e.g., sent as part of an email message). 31 32This vulnerability was introduced in Emacs 21.1. To work around that 33in Emacs versions before 25.3, append the following to your ~/.emacs 34init file: 35 36 (eval-after-load "enriched" 37 '(defun enriched-decode-display-prop (start end &optional param) 38 (list start end))) 39 40*** Gnus no longer supports "richtext" and "enriched" inline MIME objects. 41This support was disabled to avoid evaluation of arbitrary Lisp code 42contained in email messages and news articles. 43 44 45* Changes in Emacs 25.2 46 47This is mainly a bug-fix release, but there are some other changes. 48 49** 'find-library', 'help-function-def' and 'help-variable-def' now run 50'find-function-after-hook'. 51 52** New basic face 'fixed-pitch-serif', for a fixed-width font with serifs. 53The 'Info-quoted' and 'tex-verbatim' faces inherit from it by default. 54 55** New variable 'use-default-font-for-symbols', for backward compatibility. 56This variable allows you to get back pre-Emacs 25 behavior where the 57font for displaying symbol and punctuation characters was always 58selected according to your fontset setup. By default, Emacs 25 tries 59to use the default face's font for such characters, if it supports 60them, disregarding the fontsets. Set this variable to nil to disable 61this and get back the old behavior. 62 63** 'electric-quote-mode' is no longer suppressed in a buffer whose 64coding system cannot represent curved quote characters. 65Instead, users can deal with the unrepresentable characters in the 66usual way when they save the buffer. 67 68** New variable 'inhibit-compacting-font-caches'. 69Set this variable to a non-nil value to speed up display of characters 70using large fonts, at the price of a larger memory footprint. 71 72** The version number of CC Mode has been changed from 5.33 to 735.32.99, although the software itself hasn't changed. This aims to 74reduce confusion with the standalone CC Mode 5.33 (available from 75http://cc-mode.sourceforge.net), which is a more mature version than 76the one included in Emacs 25.2. 77 78 79* Installation Changes in Emacs 25.1 80 81** Building Emacs now requires C99 or later. 82 83** Building Emacs now requires GNU make, version 3.81 or later. 84 85** New configure option --with-cairo. 86This builds Emacs with Cairo drawing. As a side effect, it provides 87support for built-in printing, when Emacs was built with GTK+. 88The Emacs Cairo drawing is experimental and still has some known 89display problems. We encourage more testing of this build and 90reporting any problems you find, but it is not recommended for 91production. 92 93** New configure option --with-modules. 94This enables support for loading dynamic modules; see below. 95 96** By default, Emacs no longer works on IRIX. We expect that Emacs 97users are not affected by this, as SGI stopped supporting IRIX in 98December 2013. If you are affected, please send a bug report. You 99should be able to work around the problem either by porting the Emacs 100undumping code to GCC under IRIX, or by configuring --with-wide-int, 101or by sticking with Emacs 24.4. 102 103** The Emacs garbage collector assumes GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS. 104The GC_MAKE_GCPROS_NOOPS stack-marking variant has been the default 105since Emacs 24.4, and the other variants were undocumented and were 106obstacles to maintenance and development. GC_MARK_STACK and its 107related symbols have been removed from the C internals. 108 109** 'configure' now prefers gnustep-config when configuring GNUstep. 110If gnustep-config is not available, the old heuristics are used. 111 112** 'configure' now prefers inotify to gfile for file notification, 113unless gfile is explicitly requested via --with-file-notification='gfile'. 114 115** 'configure' detects the kqueue file notification library on *BSD 116and macOS machines. 117 118** The configure option '--with-pkg-config-prog' has been removed. 119Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to. 120 121** The configure option '--with-mmdf' has been removed. 122It was no longer useful, as it relied on libraries that are no longer 123supported, and its presence led to confusion during configuration. 124This affects only the 'movemail' utility; Emacs itself can still 125process MMDF-format files as before. 126 127** The configure option '--enable-silent-rules' is now the default, 128and silent rules are now quieter. To get the old behavior where 129'make' chatters a lot, configure with '--disable-silent-rules' or 130build with 'make V=1'. 131 132** The configure option '--with-gameuser' now allows you to specify a 133group instead of a user if its argument is prefixed by ':' (a colon). 134This will cause the game score files in "${localstatedir}/games/emacs" 135to be owned by that group, and the helper program for updating them to 136be installed setgid. The option now defaults to the 'games' group. 137 138** The 'grep-changelog' script (and its manual page) are no longer included. 139It has no particular connection to Emacs and has not changed in years, 140so if you want to use it, you can always take a copy from an older Emacs. 141 142** Emacs 25 comes with a new set of icons. 143Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png. 144The old Emacs logo icons are available as 'emacs23.png' in the same location. 145 146** New make target 'check-expensive' to run additional tests. 147This includes all tests which run via "make check", plus additional 148tests which take more time to perform. 149 150 151* Startup Changes in Emacs 25.1 152 153** When Emacs is given a file as a command line argument and 154'initial-buffer-choice' is non-nil, display both the file and 155'initial-buffer-choice'. When Emacs is given more than one file and 156'initial-buffer-choice' is non-nil, show 'initial-buffer-choice' 157and '*Buffer List*'. This makes Emacs convenient to use from the 158command line when 'initial-buffer-choice' is non-nil. 159 160** The value of 'initial-scratch-message' is now treated as a doc string 161and can contain escape sequences for command keys, quotes, and the like. 162 163** The default height of GUI frames was enlarged. 164This is so there's enough space in the initial window to display the 165optional text about recovering crashes sessions, without losing the 166splash image display. 167 168 169* Changes in Emacs 25.1 170 171** Xwidgets: a new feature for embedding native widgets inside Emacs buffers. 172If you have gtk3 and webkitgtk3 installed, and Emacs was built with 173xwidget support, you can access the embedded webkit browser with 'M-x 174xwidget-webkit-browse-url'. This opens a new buffer with the embedded 175browser. The buffer will have a new mode, 'xwidget-webkit-mode' 176(similar to 'image-mode'), which supports the webkit widget. 177 178*** New functions for xwidget-webkit mode 'xwidget-webkit-insert-string', 179'xwidget-webkit-adjust-size-dispatch', 'xwidget-webkit-back', 180'xwidget-webkit-browse-url', 'xwidget-webkit-reload', 181'xwidget-webkit-current-url', 'xwidget-webkit-scroll-backward', 182'xwidget-webkit-scroll-forward', 'xwidget-webkit-scroll-down', 183'xwidget-webkit-scroll-up'. 184 185** Emacs can now load shared/dynamic libraries (modules). 186A dynamic Emacs module is a shared library that provides additional 187functionality for use in Emacs Lisp programs, just like a package 188written in Emacs Lisp would. The functions 'load', 'require', 189'load-file', etc. were extended to load such modules, as they do with 190Emacs Lisp packages. The new variable 'module-file-suffix' holds the 191system-dependent value of the file-name extension ('.so' on Posix 192hosts) of the module files. 193 194A module should export a C-callable function named 195'emacs_module_init', which Emacs will call as part of the call to 196'load' or 'require' which loads the module. It should also export a 197symbol named 'plugin_is_GPL_compatible' to indicate that its code is 198released under the GPL or compatible license; Emacs will refuse to 199load modules that don't export such a symbol. 200 201If a module needs to call Emacs functions, it should do so through the 202API defined and documented in the header file 'emacs-module.h'. Note 203that any module that provides Lisp-callable functions will have to use 204Emacs functions such as 'fset' and 'funcall', in order to register its 205functions with the Emacs Lisp interpreter. 206 207Modules can create 'user-ptr' Lisp objects that embed pointers to C 208structs defined by the module. This is useful for keeping around 209complex data structures created by a module, to be passed back to the 210module's functions. User-ptr objects can also have associated 211"finalizers" -- functions to be run when the object is GC'ed; this is 212useful for freeing any resources allocated for the underlying data 213structure, such as memory, open file descriptors, etc. A new 214predicate 'user-ptrp' returns non-nil if its argument is a 'user-ptr' 215object. 216 217Loadable modules in Emacs are an experimental feature, and subject to 218change in future releases. For that reason, their support is disabled 219by default, and must be enabled by using the '--with-modules' option 220at configure time. 221 222** Network security (TLS/SSL certificate validity and the like) is 223added via the new Network Security Manager (NSM) and controlled via 224the 'network-security-level' variable. 225 226** 'C-h l' now also lists the commands that were run. 227 228** 'x-select-enable-clipboard' is renamed 'select-enable-clipboard' 229and 'x-select-enable-primary' is renamed 'select-enable-primary'. 230Additionally they both now apply to all systems (macOS, GNUstep, 231MS-Windows, you name it), with the proviso that on some systems (e.g., 232MS-Windows) 'select-enable-primary' is ineffective since the system 233doesn't have the equivalent of a primary selection. 234 235** New option 'switch-to-buffer-in-dedicated-window' allows you to 236customize how 'switch-to-buffer' proceeds interactively when the 237selected window is strongly dedicated to its buffer. 238 239** The option 'even-window-heights' has been renamed to 240'even-window-sizes' and now handles window widths as well. 241 242** 'terpri' gets an optional arg ENSURE to conditionally output a newline. 243 244** 'insert-register' now leaves point after the inserted text 245when called interactively. A prefix argument toggles this behavior. 246 247** The new variable 'term-file-aliases' replaces some files from lisp/term. 248The function 'tty-run-terminal-initialization' consults this variable 249when deciding what terminal-specific initialization code to run. 250 251** New variable 'system-configuration-features', listing some of the 252main features that Emacs was compiled with. This is mainly intended 253for use in Emacs bug reports. 254 255** A password is now hidden also when typed in batch mode. Another 256hiding character but the default '.' can be used by let-binding the 257variable 'read-hide-char'. 258 259** The Emacs pseudo-random number generator can be securely seeded. 260On systems where Emacs can access the system entropy or some other 261cryptographically secure random stream, it now uses that when 'random' 262is called with its argument t. This allows cryptographically strong 263random values; in particular, the Emacs server now uses this facility 264to produce its authentication key. 265 266** New input methods: 'tamil-dvorak', 'programmer-dvorak' and 'probhat'. 267 268 269* Editing Changes in Emacs 25.1 270 271** 'M-x' suggests shorthands and ignores obsolete commands for completion. 272 273** Changes in undo 274 275*** Successive single-char deletions are collapsed in the undo-log just like 276successive char insertions. Which commands invoke this behavior is 277controlled by the new 'undo-auto-amalgamate' function. See the node 278"Undo" in the ELisp manual for more details. 279 280*** The heuristic used to insert 'undo-boundary' after each command 281has changed, so that if a command causes changes in more than just the 282current buffer, Emacs now calls 'undo-boundary' in every buffer 283affected by the command. 284 285** New command 'comment-line' bound to 'C-x C-;'. 286 287** New commands 'upcase-dwim' and 'downcase-dwim'. 288 289** New and improved facilities for inserting Unicode characters 290 291*** Unicode names entered via 'C-x 8 RET' now use substring completion 292by default. 293 294*** 'C-x 8' now has shorthands for several chars, such as U+2010 295(HYPHEN), U+2011 (NON-BREAKING HYPHEN), and U+2012 (FIGURE DASH). As 296before, you can type 'C-x 8 C-h' to list shorthands. 297 298*** New minor mode 'electric-quote-mode' for using curved quotes as you 299type. See also the new variable 'text-quoting-style'. 300 301** New minor mode 'global-eldoc-mode' is enabled by default. 302 303** Emacs now uses "bracketed paste mode" on text terminals that support it. 304Bracketed paste mode causes text terminals to wrap pasted text in special 305escape sequences that allow Emacs to tell the difference between text 306you type and text you paste from other applications. Emacs then 307avoids interpreting each character in the pasted text as it does with 308keyboard input, which results in a paste experience similar to that 309under a window system, and significant performance improvements when 310pasting large amounts of text. 311 312Bracketed paste mode is disabled by default, so Emacs automatically 313enables it at startup if the terminal supports it. 314 315** Emacs now supports the latest version of the UBA. 316The Emacs implementation of the Unicode Bidirectional Algorithm (UBA) 317was updated to support all the latest additions and changes introduced 318in Unicode Standard versions 6.3, 7.0, and the latest Unicode 8.0. 319This includes full support for directional isolates and the 320Bidirectional Parentheses Algorithm (BPA) specified by these Unicode 321standards. 322 323** You can access 'mouse-buffer-menu' ('C-down-mouse-1') using 'C-f10'. 324 325** New buffer-local 'electric-pair-local-mode'. 326 327** New variable 'fast-but-imprecise-scrolling' inhibits 328fontification during full screen scrolling operations, giving less 329hesitant operation during auto-repeat of 'C-v', 'M-v' at the cost of 330possible inaccuracies in the end position. 331 332** New documentation command 'describe-symbol'. 333Works for functions, variables, faces, etc. It is bound to 'C-h o' by 334default. 335 336** New function 'custom-prompt-customize-unsaved-options' checks for 337unsaved customizations and prompts user to customize (if found). It 338is intended for adding to 'kill-emacs-query-functions'. 339 340** The old 'C-x w' bindings in 'hi-lock-mode' are officially deprecated 341in favor of the global 'M-s h' bindings introduced in Emacs 23.1. 342They'll disappear soon. 343 344 345* Changes in Specialized Modes and Packages in Emacs 25.1 346 347** Checkdoc 348 349*** New command 'checkdoc-package-keywords' checks if the 350current package keywords are recognized. Set the new option 351'checkdoc-package-keywords-flag' to non-nil to make 352'checkdoc-current-buffer' call this function automatically. 353 354*** New function 'checkdoc-file' checks for style errors. 355It's meant for use together with 'compile': 356emacs -batch --eval "(checkdoc-file \"subr.el\")" 357 358** Desktop 359 360*** The desktop format version has been upgraded from 206 to 208. 361Although Emacs 25.1 can read a version 206 desktop, earlier Emacsen 362cannot read a version 208 desktop. To upgrade your desktop file, you 363must explicitly request the upgrade, by 'C-u M-x desktop-save'. You are 364recommended to do this as soon as you have firmly upgraded to Emacs 36525.1 (or later). Should you ever need to downgrade your desktop file 366to version 206, you can do this with 'C-u C-u M-x desktop-save'. 367 368*** 'desktop-restore-in-current-display' now defaults to t, not nil. 369That is, Emacs by default now restores frames into the current display. 370 371** New function 'bookmark-set-no-overwrite' bound to 'C-x r M'. 372It raises an error if a bookmark of that name already exists, 373unlike 'bookmark-set' which silently updates an existing bookmark. 374 375** Gnus 376 377*** New user options 'mm-html-inhibit-images' and 'mm-html-blocked-images' 378now control how mm-* functions fetch and display images in an HTML 379message. Gnus still uses 'gnus-inhibit-images' and 'gnus-blocked-images' 380for that purpose, i.e., binds mm-html- variables with those gnus- 381variables, but other packages do not have to bind gnus- variables now. 382 383*** 'mm-inline-text-html-with-images' has been removed. 384Use 'mm-html-inhibit-images' instead. Note that the value is opposite 385in meaning. 386 387** IMAP 388 389*** 'imap-ssl-program' has been removed, and imap.el uses the internal 390GnuTLS encryption functions if possible. 391 392** JSON 393 394*** 'json-encode-string' now only escapes the characters it has to. 395Which means that the encoded strings can contain non-ASCII characters. 396 397*** 'json-pretty-print' and 'json-pretty-print-buffer' now maintain 398the ordering of object keys by default. 399 400*** New commands 'json-pretty-print-ordered' and 401'json-pretty-print-buffer-ordered' pretty prints JSON objects with 402object keys sorted alphabetically. 403 404** Prettify Symbols mode 405 406*** Prettify Symbols mode supports custom composition predicates. By 407overriding the default 'prettify-symbols-compose-predicate', modes can 408specify in which contexts a symbol may be displayed as some Unicode 409character. 'prettify-symbols-default-compose-p' is the default which 410is suitable for most programming languages such as C or Lisp (but not 411(La)TeX). 412 413*** Symbols can be unprettified while point is inside them. 414New variable 'prettify-symbols-unprettify-at-point' configures this. 415 416** Enhanced xterm support 417 418*** The new variable 'xterm-screen-extra-capabilities' for configuring xterm. 419This variable tells Emacs which advanced capabilities are available in 420the xterm terminal emulator used to display Emacs text-mode frames. 421The default is to check each capability, and use it if available. 422(This variable was introduced in Emacs 24.1, but was not announced in 423its NEWS.) 424 425*** Killing text now also sets the CLIPBOARD/PRIMARY selection 426in the surrounding GUI (using the OSC-52 escape sequence). This only works 427if your xterm supports it and enables the 'allowWindowOps' options (disabled 428by default at least in Debian, for security reasons). 429 430Similarly, you can yank the CLIPBOARD/PRIMARY selection (using the OSC-52 431escape sequence) if your xterm has the feature enabled but for that you 432additionally need to add 'getSelection' to 'xterm-extra-capabilities'. 433 434*** 'xterm-mouse-mode' now supports mouse-tracking (if your xterm supports it). 435 436** The way to turn on and off 'save-place' mode has changed. 437It is no longer sufficient to load the saveplace library and set 438'save-place' non-nil. Instead, use the two new minor modes: 439'save-place-mode' turns on saving last place in every file, and 440'save-place-local-mode' does that only for the file in whose buffer it 441is invoked. The 'save-place' variable is now an obsolete alias for 442'save-place-mode', which replaces it, and 'toggle-save-place' is an 443obsolete alias for the new 'save-place-local-mode' command. 444 445** ERC 446 447*** ERC can now hide message types by network or channel. 448'erc-hide-list' will hide all messages of the specified type, while 449'erc-network-hide-list' and 'erc-channel-hide-list' will only hide the 450specified message types for the respective specified targets. 451 452*** Reconnection is now asynchronous. 453 454*** Nick completion is now case-insensitive again after inadvertently 455being made case-sensitive in Emacs 24.2. 456 457** Rcirc 458 459*** Rcirc now supports automatic reconnection. 460Set new user option 'rcirc-reconnect-delay' to non-zero to enable it. 461 462** MPC 463 464*** New commands, key binds, and menu items. 465 466**** '<' and '>' for navigating previous and next tracks in playlist 467 468**** New play/pause command 'mpc-toggle-play' bound to 's' 469 470**** 'g' bound to new command 'mpc-seek-current' will navigate current 471track. 472 473**** New commands 'mpc-toggle-{consume,repeat,single,shuffle}' for 474toggling playback modes. 475 476*** Now supports connecting to a UNIX domain socket. 477 478*** Looks at more image file names to use as album art. 479Case-insensitively tries for .folder.png (freedesktop) and folder.jpg 480(XP) in addition to cover.jpg. 481 482*** Searches in more locations for MPD configuration files. 483MPD supports the XDG base directory specification since version 0.17.6. 484 485** Midnight-mode 486 487*** 'midnight-mode' is now a proper minor mode. 488 489*** clean-buffer-*-regexps can now specify buffers via predicate functions. 490 491** package.el 492 493*** New "external" package status. 494An external package is any installed package that's not built-in and 495not from 'package-user-dir', which usually means it's from an entry in 496'package-directory-list'. They are treated much like built-in 497packages, in that they cannot be deleted through the package menu and 498are not considered for upgrades. 499 500The effect is that a user can manually place a specific version of a 501package inside 'package-directory-list' and the package menu will 502always respect that. 503 504*** If a package is available on multiple archives and one has higher 505priority (as per 'package-archive-priorities') only that one is 506listed. This can be configured with 'package-menu-hide-low-priority'. 507 508*** 'package-menu-toggle-hiding' now toggles the hiding of packages. 509This includes the above-mentioned low-priority packages, as well as 510available packages whose version is lower than the currently installed 511version (which were previously impossible to display). 512This allows users to downgrade a package if a lower version is 513available. 514 515*** When filtering the package menu, keywords starting with "arc:" or 516"status:" represent package archive or status, respectively, instead 517of actual keywords. 518 519*** Most functions which involve downloading information now take an 520ASYNC argument. If it is non-nil, package.el performs the download(s) 521asynchronously. 522 523*** New variable 'package-menu-async' controls whether the 524package-menu uses asynchronous downloads. 525 526*** 'package-install-from-buffer' and 'package-install-file' work on directories. 527This follows the same rules as installing from a .tar file, except the 528-pkg file is optional. 529 530*** Packages which are dependencies of other packages cannot be deleted. 531The FORCE argument to 'package-delete' overrides this. 532 533*** New custom variable 'package-selected-packages' tracks packages 534which were installed by the user (as opposed to installed as 535dependencies). This variable can also be manually customized. 536 537*** New command 'package-install-selected-packages' installs all 538packages from 'package-selected-packages' which are currently missing. 539 540*** 'package-install' function now takes a DONT-SELECT argument. If 541this function is called interactively or if DONT-SELECT is nil, add the 542package being installed to 'package-selected-packages'. 543 544*** New command 'package-autoremove' removes all packages which were 545installed strictly as dependencies but are no longer needed. 546 547** Shell 548 549When you invoke 'shell' interactively, the '*shell*' buffer will now 550display in a new window. However, you can customize this behavior via 551the 'display-buffer-alist' variable. For example, to get 552the old behavior -- '*shell*' buffer displays in current window -- use 553(add-to-list 'display-buffer-alist 554 '("^\\*shell\\*$" . (display-buffer-same-window))). 555 556** EIEIO 557*** The ':protection' slot option is not obeyed any more. 558*** The 'newname' argument to constructors is optional&deprecated. 559If you need your objects to be named, do it by inheriting from 'eieio-named'. 560*** The <class>-list-p and <class>-child-p functions are declared obsolete. 561*** The <class> variables are declared obsolete. 562*** The <initarg> variables are declared obsolete. 563*** defgeneric and defmethod are declared obsolete. 564Use the equivalent facilities from cl-generic.el instead. 565*** 'constructor' is now an obsolete alias for 'make-instance'. 566*** 'pcase' accepts a new UPattern 'eieio'. 567 568** ido 569 570*** New command 'ido-bury-buffer-at-head' bound to 'C-S-b'. 571Bury the buffer at the head of 'ido-matches', analogous to how 'C-k' 572kills the buffer at head. 573 574*** A prefix argument to 'ido-restrict-to-matches' will reverse its 575meaning, and the list is restricted to those elements that do not 576match the current input. 577 578** Minibuffer 579 580*** You can use <UP> and <DOWN> arrow keys to move through history by lines. 581The new commands 'next-line-or-history-element' and 582'previous-line-or-history-element', bound to <UP> and <DOWN> in the 583minibuffer, allow by-line movement through minibuffer history, 584similarly to an ordinary buffer. Only when point moves over 585the bottom/top of the minibuffer it goes to the next/previous history 586element. 'M-p' and 'M-n' still move directly to previous/next history 587item as before. 588 589** Search and Replace 590 591*** 'isearch' and 'query-replace' can now perform character folding in matches. 592This is analogous to case folding, but instead of disregarding case 593variants, it disregards wider classes of distinctions between similar 594characters. (Case folding is a special case of character folding.) 595This means many characters in the search string will match entire 596groups of characters instead of just themselves. 597 598For instance, the ASCII double quote character " will match all 599variants of double quotes, and the letter 'a' will match all of its 600accented cousins, even those composed of multiple characters, as well 601as many other symbols like U+249C (PARENTHESIZED LATIN SMALL LETTER 602A). 603 604Character folding is enabled by customizing 'search-default-mode' to 605the value 'char-fold-to-regexp'. You can also toggle character 606folding in the middle of a search by typing 'M-s ''. 607 608'query-replace' honors character folding if the new variable 609'replace-char-fold' is customized to a non-nil value. 610 611*** New user option 'search-default-mode'. 612This option specifies the default mode for Isearch. The default 613value, nil specifies that Isearch does literal searches (however, 614'case-fold-search' and 'isearch-lax-whitespace' may still be applied, 615as in previous Emacs versions). 616 617*** New function 'char-fold-to-regexp' can be used 618by searching commands to produce a regexp matching anything that 619char-folds into STRING. 620 621*** The new 'M-s M-w' key binding uses eww to search the web for the 622text in the region. The search engine to use for this is specified by 623the customizable variable 'eww-search-prefix'. 624 625*** 'query-replace' history is enhanced. 626When 'query-replace' reads the FROM string from the minibuffer, typing 627'M-p' will now show previous replacements as "FROM SEP TO", where FROM 628and TO are the original text and its replacement, and SEP is an arrow 629string defined by the new variable 'query-replace-from-to-separator'. 630To select a prior replacement, type 'M-p' until the desired 631replacement appears in the minibuffer, and then exit the minibuffer by 632typing RET. 633 634** Calc 635*** If 'quick-calc' is called with a prefix argument, insert the 636result of the calculation into the current buffer. 637 638** In Edebug, you can now set the initial mode with 'C-x C-a C-m'. 639With this you can tell Edebug not to stop at the start of the first 640instrumented function. 641 642** ElDoc 643 644*** New minor mode 'global-eldoc-mode'. 645It is turned on by default, and affects '*scratch*' and other buffers 646whose major mode supports Emacs Lisp. 647 648*** 'eldoc-documentation-function' now defaults to 'ignore'. 649 650*** 'describe-char-eldoc' displays information about character at point, 651and can be used as a default value of 'eldoc-documentation-function'. It is 652useful when, for example, one needs to distinguish various spaces - e.g., 653U+00A0 (NO-BREAK SPACE), U+2002 (EN SPACE), and U+2009 (THIN SPACE) - while 654using mono-spaced font. 655 656** eww 657 658*** HTML can now be rendered using variable-width fonts. 659 660*** A new command 'F' ('eww-toggle-fonts') can be used to toggle 661whether to use variable-pitch fonts or not. The user can also 662customize the 'shr-use-fonts' variable. 663 664*** A new command 'R' ('eww-readable') will try do identify the main 665textual parts of a web page and display only that, leaving menus and 666the like off the page. 667 668*** A new command 'D' ('eww-toggle-paragraph-direction') allows you to 669toggle the paragraph direction between left-to-right and right-to-left. 670 671*** You can now use several eww buffers in parallel by renaming eww 672buffers you want to keep separate. 673 674*** Partial state of the eww buffers (the URIs and the titles of the 675pages visited) is now preserved in the desktop file. 676 677*** 'eww-after-render-hook' is now called after eww has rendered 678the data in the buffer. 679 680*** The 'eww-reload' command now takes a prefix to not reload via 681the net, but just use the local copy of the HTML. 682 683*** The DOM shr and eww uses has been changed to the general Emacs 684xml.el/libxml2 DOM, and a new package dom.el has been added to 685interact with this DOM. See the Emacs Lisp manual for interface 686details. 687 688*** 'mailcap-mime-data' is now consulted when displaying PDF files. 689 690*** The new 'S' command will list all eww buffers, and allow managing 691them. 692 693*** https pages with valid certificates have headers marked in green, while 694invalid certificates are marked in red. 695 696** Message mode 697 698*** text/html messages that contain inline image parts will be 699transformed into multipart/related messages before sending. 700 701** In Show Paren Mode, a parenthesis can be highlighted when point 702stands inside it, and certain parens can be highlighted when point is 703at BOL or EOL, or in whitespace there. To enable these, customize, 704respectively, 'show-paren-when-point-inside-paren' or 705'show-paren-when-point-in-periphery'. 706 707** If gpg2 exists on the system, it is now used as the default value 708of 'epg-gpg-program' (instead of gpg). 709 710** Lisp mode 711 712*** Strings after ':documentation' are highlighted as docstrings. 713This enhances Lisp mode fontification to handle documentation of the 714form '(:documentation "the doc string")' used in Common Lisp code for 715CLOS class and slot documentation. 716 717** Rectangle editing 718 719*** Rectangle Mark mode can have corners past EOL or in the middle of a TAB. 720 721*** 'C-x C-x' in 'rectangle-mark-mode' now cycles through the four corners. 722 723*** 'string-rectangle' provides on-the-fly preview of the result. 724Customize 'rectangle-preview' to nil for the old behavior. 725 726** New font-lock functions 'font-lock-ensure' and 'font-lock-flush'. 727These should be used in preference to 'font-lock-fontify-buffer' when 728called from Lisp. 729 730** Macro 'minibuffer-with-setup-hook' can optionally append a function 731to 'minibuffer-setup-hook'. 732 733If the first argument of the macro is of the form '(:append FUN)', 734then FUN will be appended to 'minibuffer-setup-hook', instead of 735prepending it. 736 737** cl-lib 738*** New functions 'cl-fresh-line', 'cl-digit-char-p', and 'cl-parse-integer'. 739 740*** 'pcase' accepts the new UPattern 'cl-struct'. 741 742** Calendar and diary 743 744*** The default 'diary-file' is now located in "~/.emacs.d". 745 746*** New commands to insert diary entries with Chinese dates: 747'diary-chinese-insert-anniversary-entry' 'diary-chinese-insert-entry' 748'diary-chinese-insert-monthly-entry', 'diary-chinese-insert-yearly-entry'. 749 750*** The calendar can now list and mark diary entries with Chinese dates. 751See 'diary-chinese-list-entries' and 'diary-chinese-mark-entries'. 752 753*** The option 'calendar-mode-line-format' can now be nil, 754which means to do nothing special with the mode line in calendars. 755 756*** New option 'calendar-weekend-days'. 757The option customizes which day headers receive the 758'calendar-weekend-header' face. 759 760*** New optional args N and STRING for 'holiday-greek-orthodox-easter'. 761 762*** Many items obsolete since at least version 23.1 have been removed. 763The majority were function/variable/face aliases, too numerous to list here. 764The remainder were: 765 766**** Functions 'calendar-one-frame-setup', 'calendar-only-one-frame-setup', 767'calendar-two-frame-setup', 'european-calendar', 'american-calendar'. 768 769**** Hooks 'cal-menu-load-hook', 'cal-x-load-hook'. 770 771**** Macro 'calendar-for-loop'. 772 773**** Variables 'european-calendar-style', 'diary-face', 'hebrew-holidays-{1,4}'. 774 775**** The nil and list forms of 'diary-display-function'. 776 777** New ERT function 'ert-summarize-tests-batch-and-exit'. 778If the output of ERT tests in batch mode execution can be saved to a 779log file, then it can be passed as an argument to the above function 780to produce a neat summary. 781 782** New js.el option 'js-indent-first-init'. 783 784** Info 785 786** Info mode now displays symbol names in fixed-pitch font. 787If you want to get the old behavior back, customize the 'Info-quoted' 788face to use the same definitions as the default face. 789 790*** 'Info-fontify-maximum-menu-size' can be t for no limit. 791 792*** 'info-display-manual' can now be given a prefix argument which (any 793non-nil value) directs the command to limit the completion 794alternatives to currently visited manuals. 795 796** ntlm.el has support for NTLM2. 797 798** Rmail 799 800*** The Rmail commands 'd', 'C-d' and 'u' take optional repeat counts 801to delete or undelete multiple messages. 802 803*** Rmail can now render HTML mail messages if your Emacs was built with 804libxml2 or if you have the Lynx browser installed. By default, Rmail 805will display the HTML version of a mail message that has both HTML and 806plain text parts, if display of HTML email is possible; customize the 807'rmail-mime-prefer-html' option to nil if you don't want that. 808 809*** In the commands that make summaries by subject, recipients, or senders, 810you can no longer use commas to separate regular expressions. 811 812** SES now supports local printer functions; see 'ses-define-local-printer'. 813 814** Shell-script Mode 815*** In sh-mode you can now use 'sh-shell' as a file-local variable to 816specify the type of shell in use (bash, csh, etc). 817 818*** New value 'always' for 'sh-indent-after-continuation'. 819This provides old-style ("dumb") indentation of continued lines. 820See the doc string of 'sh-indent-after-continuation' for details. 821 822** TLS 823*** Fatal TLS errors are now silent by default. 824 825*** If Emacs isn't built with TLS support, an external TLS-capable 826program is used instead. This program used to be run in --insecure 827mode by default, but has now changed to be secure instead, and will 828fail if you try to connect to non-verifiable hosts. This is 829controlled by the 'tls-program' variable. 830 831** URL 832 833*** The URL package accepts now the protocols "ssh", "scp" and "rsync". 834When 'url-handler-mode' is enabled, file operations for these 835protocols as well as for "telnet" and "ftp" are passed to Tramp. 836 837*** The URL package allows customizing the 'url-user-agent' string. 838The new 'url-user-agent' variable can be customized to be a string or 839a function. 840 841*** The new interface variable 'url-request-noninteractive' can be used 842to specify that we're running in a noninteractive context, and that 843we should not be queried about things like TLS certificate validity. 844 845*** 'url-mime-accept-string' can now be used as in "interface" 846variable, meaning you can bind it around an 'url-retrieve' call. 847 848*** If URL is used with a https connection, the first callback argument 849PLIST will contain a :peer element that has the output of 850'gnutls-peer-status' (if Emacs is built with GnuTLS support). 851 852** Tramp 853 854*** New connection method "afp", which allows you to access macOS 855volumes via the Apple Filing Protocol. 856 857*** New connection method "nc", which allows you to access dumb 858busyboxes. 859 860*** Method-specific parameters can be overwritten now with variable 861'tramp-connection-properties'. 862 863*** Handler for 'file-notify-valid-p' for remote machines that support 864filesystem notifications. 865 866** SQL mode 867 868*** New user variable 'sql-default-directory' enables remote 869connections using Tramp. 870 871*** New command 'sql-send-line-and-next'. 872This command, bound to 'C-c C-n' by default, sends the current line to 873the SQL process and advances to the next line, skipping whitespace and 874comments. 875 876*** Added support for Vertica SQL. 877 878** VC and related modes 879 880*** Basic push support, via 'vc-push', bound to 'C-x v P'. 881Implemented for Bzr, Git, Hg. As part of this change, the pre-existing 882(undocumented) command 'vc-hg-push' now behaves slightly differently. 883 884*** The new command 'vc-region-history' shows the log+diff of the active region. 885 886*** You can refresh the VC state of a file buffer with 'M-x vc-refresh-state'. 887This command is useful when you perform version control commands 888outside Emacs (e.g., from the shell prompt), or if you switch the VC 889back-end for the buffer's file, or remove it from version control. 890 891*** New option 'vc-annotate-background-mode' controls whether 892the color range from 'vc-annotate-color-map' is applied to the 893background or to the foreground. 894 895*** New options for customizing encoding of Git commit log messages. 896The new user options 'vc-git-commits-coding-system' and 897'vc-git-log-output-coding-system' specify the encoding of log messages 898sent to Git when committing, and the decoding of log messages read 899from Git history commands. These options default to UTF-8; if 900customized, they should be consistent with the Git config variables 901i18n.commitEncoding and i18n.logOutputEncoding. 902('vc-git-commits-coding-system' existed previously, but was a 903variable, not a user option.) 904 905*** 'compare-windows' now compares text with the most recently selected window 906instead of the next window. If you want the previous behavior of 907comparing with the next window, customize the new option 908'compare-windows-get-window-function' to the value 909'compare-windows-get-next-window'. 910 911*** Two new faces 'compare-windows-removed' and 'compare-windows-added' 912replace the face 'compare-windows', which is now an obsolete alias for 913'compare-windows-added'. 914 915*** The VC state indicator in the mode line now has different faces 916corresponding to each of the possible states. See the 'vc-faces' 917customization group. 918 919*** 'log-edit-insert-changelog' converts "(tiny change)" to 920"Copyright-paperwork-exempt: yes". Set 'log-edit-rewrite-tiny-change' 921nil to disable this. 922 923*** vc-mcvs.el has been removed. 924 925** VHDL mode now supports VHDL'08. 926 927** Calculator 928 929*** Decimal display mode uses "," groups, so it's more 930fitting for use in money calculations 931 932*** Factorial works with non-integer inputs. 933 934** Hide-IfDef mode 935 936*** Hide-IfDef mode now support full C/C++ expressions in macros, 937macro argument expansion, interactive macro evaluation and automatic 938scanning of #define'd symbols. 939 940*** New command 'hif-evaluate-macro', bound to 'C-c @ e', displays the 941result of evaluating a macro. 942 943*** New command 'hif-clear-all-ifdef-define', bound to 'C-c @ C', clears 944all defined symbols in 'hide-ifdef-env'. 945 946*** New custom variable 'hide-ifdef-header-regexp' to define C/C++ header 947file name patterns. Defaults to files whose extension is one of '.h', 948'.hh', '.hpp', '.hxx', or '.h++', matched case-insensitively. 949 950*** New custom variable 'hide-ifdef-expand-reinclusion-protection' to prevent 951reinclusion protected (a.k.a. "idempotent") header files from being hidden. 952(This could happen when an idempotent header file is visited again, 953when its guard symbol is already defined.) Defaults to t. 954 955*** New custom variable 'hide-ifdef-exclude-define-regexp' to define symbol 956name patterns (e.g. all "FOR_DOXYGEN_ONLY_*") to be ignored when 957looking for macro definitions. By default, no symbols are ignored. 958 959** TeX mode 960 961*** New custom variable 'tex-print-file-extension' to help users who 962use PDF instead of DVI. 963 964*** TeX mode now supports Prettify Symbols mode. When enabling 965'prettify-symbols-mode' in a tex-mode buffer, \alpha ... \omega, and 966many other math macros are displayed using unicode characters. 967 968** New 'big-indent' style in 'whitespace-mode' highlights deep indentation. 969By default, 32 consecutive spaces or four consecutive TABs are 970considered to be too deep, but the new variable 971'whitespace-big-indent-regexp' can be customized to change that. 972 973** New options in 'tildify-mode'. 974New options 'tildify-space-string', 'tildify-pattern', and 975'tildify-foreach-region-function' variables make 976'tildify-string-alist', 'tildify-pattern-alist', and 977'tildify-ignored-environments-alist' variables (as well as a few 978helper functions) obsolete. 979 980** New package Xref replaces Etags's front-end and UI. 981 982The new package Xref provides a generic framework and new commands to 983find and move to definitions of functions, macros, data structures 984etc., as well as go back to the location where you were before moving 985to a definition. It supersedes and obsoletes many Etags commands, 986while still using the etags.el code that reads the TAGS tables as one 987of its back-ends. 988 989The command 'xref-find-definitions' replaces 'find-tag' and provides 990an interface to pick one definition among several. 991'tags-loop-continue' is now unbound. 'xref-pop-marker-stack' replaces 992'pop-tag-mark', but has a keybinding ('M-,') different from the one 993'pop-tag-mark' used. 994 995'xref-find-definitions-other-window' replaces 'find-tag-other-window'. 996'xref-find-definitions-other-frame' replaces 'find-tag-other-frame'. 997'xref-find-apropos' replaces 'find-tag-regexp'. 998 999As a result of this, the following commands are now obsolete: 1000'find-tag-other-window', 'find-tag-other-frame', 'find-tag-regexp', 1001'tags-apropos'. 1002 1003'tags-loop-continue' is not obsolete because it's still useful in 1004'tags-search' and 'tags-query-replace', for which there are no direct 1005replacements yet. 1006 1007*** Variants of 'tags-search' and 'tags-query-replace' in Dired were also 1008replaced by xref-style commands, see the "Dired" section below. 1009 1010*** New variables 1011 1012'find-tag-marker-ring-length' is now an obsolete alias for 1013'xref-marker-ring-length'. 'find-tag-marker-ring' is now an obsolete 1014alias for a private variable. 'xref-push-marker-stack' and 1015'xref-pop-marker-stack' should be used instead to manipulate the stack 1016of searches for definitions. 1017 1018*** 'xref-find-definitions' and 'describe-function' now display 1019information about mode local overrides (defined by cedet/mode-local.el 1020'define-overloadable-function' 'define-mode-local-overrides'). 1021 1022The framework's Lisp API is still experimental and can change in major, 1023backward-incompatible ways. 1024 1025** New package Project 1026 1027The new package Project provides generic infrastructure for dealing 1028with projects. The main commands included in it are 1029'project-find-file' and 'project-find-regexp'. 1030 1031The Lisp API of this package is still experimental. 1032 1033** EUDC 1034EUDC's LDAP backend has been improved. 1035 1036*** EUDC supports LDAP-over-SSL URLs (ldaps://). 1037 1038*** EUDC passes LDAP passwords through a pipe to the ldapsearch 1039subprocess instead of on the command line. 1040 1041*** EUDC handles LDAP wildcards automatically so the user shouldn't 1042need to configure this manually anymore. 1043 1044*** The LDAP configuration section of EUDC's manual has been 1045rewritten. 1046 1047There have also been customization changes. 1048 1049*** New custom variable 'eudc-server-hotlist' to allow specifying 1050multiple EUDC servers in init file. 1051 1052*** Custom variable 'eudc-inline-query-format' defaults to completing 1053on email and firstname instead of surname. 1054 1055*** Custom variable 'eudc-expansion-overwrites-query' defaults to nil 1056to avoid interfering with the kill ring. 1057 1058*** Custom variable 'eudc-inline-expansion-format' defaults to 1059"Firstname Surname <mail-address>". 1060 1061*** Custom variable 'eudc-options-file' defaults to 1062"~/.emacs.d/eudc-options". 1063 1064*** New custom variable 'ldap-ldapsearch-password-prompt-regexp' to 1065allow overriding the regular expression that recognizes the ldapsearch 1066command line's password prompt. 1067 1068*** EUDC's BBDB backend now supports BBDB 3. 1069 1070*** EUDC's PH backend (eudcb-ph.el) is obsolete. 1071 1072** Eshell 1073 1074*** The new built-in command 'clear' can scroll window contents out of sight. 1075If provided with an optional non-nil argument, the scrollback contents 1076will be cleared. 1077 1078*** New buffer syntax '#<buffer-name>', which is equivalent to 1079'#<buffer buffer-name>'. This shorthand makes interacting with 1080buffers from eshell more convenient. Custom variable 1081'eshell-buffer-shorthand', which has been broken for a while, has been 1082removed. 1083 1084*** By default, eshell "visual" program buffers (created by 1085'eshell-visual-commands' and similar custom vars) are no longer killed 1086when their processes die. This fixes issues with short-lived commands 1087and makes visual programs more useful in general. For example, if 1088"git log" is a visual command, it will always show the visual command 1089buffer, even if the "git log" process dies. For the old behavior, 1090make the new option 'eshell-destroy-buffer-when-process-dies' non-nil. 1091 1092** Browse-url 1093 1094*** Support for the Google Chrome web browser. 1095 1096*** Support for the Conkeror web browser. 1097 1098*** Support for several ancient browsers is now officially obsolete. 1099 1100** 'tar-mode': new 'tar-new-entry' command, allowing for new members to 1101be added to the archive. 1102 1103** Autorevert 1104 1105*** Dired buffers are also auto-reverted via file notifications, if 1106Emacs is compiled with file notification support. 1107 1108*** 'auto-revert-use-notify' is set to nil in 'global-auto-revert-mode'. 1109See <https://debbugs.gnu.org/22814>. 1110 1111** File Notifications 1112 1113*** The kqueue library is integrated for *BSD and macOS machines. 1114 1115*** The new event 'stopped' signals, that a file notification watch is 1116not active any longer. 1117 1118*** The new function 'file-notify-valid-p' checks, whether a file 1119notification descriptor still corresponds to an activate watch. 1120 1121** Dired 1122 1123*** The command 'dired-do-compress', bound to 'Z', now can compress 1124directories and decompress zip files. 1125 1126*** New command 'dired-do-compress-to', bound to 'c', can be used to 1127compress many marked files into a single named archive. The 1128compression command is determined from the new 1129'dired-compress-files-alist' variable. 1130 1131*** New user interface for the 'A' and 'Q' commands. 1132These keys, now bound to 'dired-do-find-regexp' and 1133'dired-do-find-regexp-and-replace', work similarly to 'xref-find-apropos' 1134and 'xref-query-replace-in-results': they present the matches 1135in the '*xref*' buffer and let you move through the matches. No need 1136to use 'tags-loop-continue' to resume the search or replace loop. The 1137previous commands, 'dired-do-search' and 1138'dired-do-query-replace-regexp', are still available, but not bound to 1139keys; rebind 'A' and 'Q' to invoke them if you want the old behavior 1140back. We intend to obsolete the old commands in a future release. 1141 1142** Tabulated List Mode 1143 1144*** It is now safe for a mode that derives 'tabulated-list-mode' to not 1145call 'tabulated-list-init-header', in which case it will have no 1146header. 1147 1148*** 'tabulated-list-print' takes a second optional argument, UPDATE, 1149which specifies an alternative printing method which is faster when 1150few or no entries have changed. 1151 1152** Obsolete packages 1153 1154*** gulp.el 1155 1156*** landmark.el (moved to elpa.gnu.org) 1157 1158 1159* New Modes and Packages in Emacs 25.1 1160 1161** pinentry.el allows GnuPG passphrase to be prompted through the 1162minibuffer instead of a graphical dialog, depending on whether the gpg 1163command is called from Emacs (i.e., INSIDE_EMACS environment variable 1164is set). This feature requires newer versions of GnuPG (2.1.5 or 1165later) and Pinentry (0.9.5 or later). To use this feature, add 1166"allow-emacs-pinentry" to "~/.gnupg/gpg-agent.conf" and reload the 1167configuration with "gpgconf --reload gpg-agent". 1168 1169** cl-generic.el provides CLOS-style multiple-dispatch generic functions. 1170The main entry points are 'cl-defgeneric' and 'cl-defmethod'. See the 1171node "Generic Functions" in the Emacs Lisp manual for more details. 1172 1173** 'scss-mode' (a minor variant of 'css-mode') is a major mode for editing 1174SCSS (Sassy CSS) files. 1175 1176** 'let-alist' is a new macro (and a package) that allows one to easily 1177let-bind the values stored in an alist. 1178 1179** 'tildify-mode' allows automatic insertion of hard spaces as one 1180types the text. Breaking line after a single-character words is 1181forbidden by Czech and Polish typography (and may be discouraged in 1182other languages), so 'auto-tildify-mode' makes it easier to create 1183a typographically-correct documents. 1184 1185** The 'seq' library adds sequence manipulation functions and macros 1186that complement basic functions provided by subr.el. All functions 1187are prefixed with 'seq-' and work on lists, strings and vectors. 1188'pcase' accepts a new Upattern 'seq'. 1189 1190** The 'map' library provides map-manipulation functions that work on 1191alists, hash-table and arrays. All functions are prefixed with 1192'map-'. 'pcase' accepts a new UPattern 'map'. 1193 1194** The 'thunk' library provides functions and macros to control the 1195evaluation of forms. 1196 1197** 'js-jsx-mode' (a minor variant of 'js-mode') provides indentation 1198support for JSX, an XML-like syntax extension to ECMAScript. 1199 1200 1201* Incompatible Lisp Changes in Emacs 25.1 1202 1203** 'setq' and 'setf' must now be called with an even number of 1204arguments. The earlier behavior of silently supplying a nil to the 1205last variable when there was an odd number of arguments has been 1206eliminated. 1207 1208** 'syntax-begin-function' is declared obsolete. 1209Removed 'font-lock-beginning-of-syntax-function' and the SYNTAX-BEGIN 1210slot in 'font-lock-defaults'. 1211 1212** The new implementation of Subword mode affects word movement everywhere. 1213When Subword mode is turned on, 'forward-word', 'backward-word', and 1214everything that uses them will move by sub-words, effectively 1215overriding the buffer's syntax table. Lisp programs that shouldn't be 1216affected by Subword mode should call the new functions 1217'forward-word-strictly' and 'backward-word-strictly' instead. 1218 1219** 'package-initialize' now sets 'package-enable-at-startup' to nil if 1220called during startup. Users who call this function in their init 1221file and still expect it to be run after startup should set 1222'package-enable-at-startup' to t after the call to 1223'package-initialize'. 1224 1225** ':global' minor mode use 'setq-default' rather than 'setq'. 1226This means that you can't use 'make-local-variable' and expect them to 1227"magically" become buffer-local. 1228 1229** 'track-mouse' no longer freezes the shape of the mouse pointer. 1230The 'track-mouse' form no longer refrains from changing the shape of 1231the mouse pointer for the entire time the body of that form is 1232executed. Lisp programs that use 'track-mouse' for dragging across 1233large portions of the Emacs display, and want to avoid changes in the 1234pointer shape during dragging, should bind the variable 'track-mouse' 1235to the special value 'dragging' in the body of the form. 1236 1237** The optional PREDICATE argument of 'lisp-complete-symbol' no longer 1238has any effect. (This change was made in Emacs 24.4 but was not 1239advertised at the time.) 1240 1241** 'indirect-function' does not signal 'void-function' any more. 1242This is mostly a bug-fix, since this change was missed back in 24.4 when 1243'symbol-function' was changed not to signal 'void-function' any more. 1244 1245*** As a consequence, the second arg of 'indirect-function' is now obsolete. 1246 1247** 'M-x shell' and 'M-x compile' no longer set the EMACS environment variable. 1248This avoids clashing when other programs use the variable for other purposes. 1249Although 'M-x term' still sets EMACS for compatibility with Bash 4.3 1250and earlier, this is deprecated and will be phased out when Bash 4.4 1251or later takes over. Use the INSIDE_EMACS environment variable instead. 1252 1253** 'save-excursion' does not save&restore the mark any more. 1254Use 'save-mark-and-excursion' if you want the old behavior. 1255 1256** 'read-buffer' and 'read-buffer-function' can now be called with a 4th 1257argument (PREDICATE). 1258 1259** 'completion-table-dynamic' by default stays in the minibuffer. 1260The minibuffer will be the current buffer when the function is called. 1261If you want the old behavior of calling the function in the buffer 1262from which the minibuffer was entered, use the new argument 1263SWITCH-BUFFER to 'completion-table-dynamic'. 1264 1265** window-configurations no longer record the buffers' marks. 1266 1267** 'inhibit-modification-hooks' now also inhibits lock-file checks, as 1268well as active region handling. 1269 1270** 'deactivate-mark' is now buffer-local. 1271 1272** 'cl-the' now asserts that its argument is of the given type. 1273 1274** 'process-running-child-p' may now return a numeric process 1275group ID instead of t. 1276 1277** Mouse click events on mode line or header line no longer include 1278any reference to a buffer position. The 6th member of the mouse 1279position list returned for such events is now nil. 1280 1281** Menu items in keymaps do not support the "key shortcut cache" any more. 1282These slots used to hold key-shortcut data, but have been obsolete since 1283Emacs 21. 1284 1285** Emacs no longer downcases the first letter of a system diagnostic 1286when signaling a file error. For example, it now reports "Permission 1287denied" instead of "permission denied". The old behavior was problematic 1288in languages like German where downcasing rules depend on grammar. 1289 1290** New variable 'text-quoting-style' to control how Emacs translates quotes. 1291Set it to 'curve' for curved single quotes, to 'straight' for straight 1292apostrophes, and to 'grave' for grave accent and apostrophe. The 1293default value nil acts like 'curve' if curved single quotes are 1294displayable, and like 'grave' otherwise. The new variable affects 1295display of diagnostics and help, but not of info. As the variable is 1296not intended for casual use, it is not a user option. 1297 1298** Message-issuing functions like 'message' and 'error' now translate 1299various sorts of single quotes in their format strings according to 1300the value of 'text-quoting-style' (see above). This translation 1301cannot be disabled. To get the old behavior, use 'format', which is 1302not affected by 'text-quoting-style', e.g., (message "%s" (format 1303"...." foo bar)). 1304 1305** 'substitute-command-keys' now replaces quotes. 1306That is, it converts documentation strings' quoting style as per the 1307value of 'text-quoting-style'. Doc strings in source code can use 1308either curved single quotes or grave accents and apostrophes. As 1309before, characters preceded by \= are output as-is. 1310 1311** The character classes [:alpha:] and [:alnum:] in regular expressions 1312now match multibyte characters using Unicode character properties. 1313If you want the old behavior where they matched any character with 1314word syntax, use '\sw' instead. 1315 1316** The character classes [:graph:] and [:print:] in regular expressions 1317no longer match every multibyte character. Instead, Emacs now 1318consults the Unicode character properties to determine which 1319characters are graphic or printable. In particular, surrogates and 1320unassigned codepoints are now rejected. If you want the old behavior, 1321use [:multibyte:] instead. 1322 1323** The 'diff' command uses the unified format now. To restore the old 1324behavior, set 'diff-switches' to '-c'. 1325 1326** 'grep-template' and 'grep-find-template' values don't include the 1327--color argument anymore. It's added at the <C> place holder position 1328dynamically. Any third-party code that changes these templates should 1329be updated accordingly. 1330 1331** '(/ N)' is now equivalent to '(/ 1 N)' rather than to '(/ N 1)'. 1332The new behavior is compatible with Common Lisp and with XEmacs. 1333This change does not affect Lisp code intended to be portable to 1334Emacs 24.2 and earlier, which did not support unary '/'. 1335 1336** The 'default-directory' value doesn't have to end slash. To make 1337that happen, 'unhandled-file-name-directory' now defaults to calling 1338'file-name-as-directory'. 1339 1340** The URL package now insists on sending only unibyte strings to server 1341This means packages that use URL cannot bind 'url-request-data' to 1342multibyte strings. If non-ASCII characters should be part of the URL 1343payload, then 'url-request-data' should be encoded to become a unibyte 1344string. 1345 1346 1347* Lisp Changes in Emacs 25.1 1348 1349** 'pcase' 1350*** New UPatterns 'quote', 'app'. 1351*** New UPatterns can be defined with 'pcase-defmacro'. 1352*** New vector QPattern. 1353 1354** 'syntax-propertize' is now automatically called on-demand during forward 1355parsing functions like 'forward-sexp'. 1356 1357** New hooks 'prefix-command-echo-keystrokes-functions' and 1358'prefix-command-preserve-state-hook' allow the definition of prefix 1359commands other than the predefined 'C-u'. 1360 1361** New functions 'filepos-to-bufferpos' and 'bufferpos-to-filepos'. 1362These allow conversion between buffer positions and the corresponding 1363file byte offsets, given the file's encoding. 1364 1365** The default value of 'load-read-function' is now 'read'. 1366Previously, the default value of nil implied using 'read'. 1367 1368** New hook 'pre-redisplay-functions'. 1369It is a bit easier to use than 'pre-redisplay-function'. 1370 1371** The second arg of 'looking-back' should always be provided explicitly. 1372Previously, it was an optional argument, now it's mandatory. 1373 1374** Text properties 'intangible', 'point-entered', and 'point-left' are obsolete. 1375Replaced by properties 'cursor-intangible' and 'cursor-sensor-functions', 1376implemented by the new 'cursor-intangible-mode' and 1377'cursor-sensor-mode' minor modes. 1378 1379** 'inhibit-point-motion-hooks' now defaults to t and is obsolete. 1380Use the new minor modes 'cursor-intangible-mode' and 1381'cursor-sensor-mode' instead. 1382 1383** New process type 'pipe', which can be used in combination with the 1384':stderr' keyword of 'make-process' to handle standard error output 1385of subprocess. 1386 1387** New function 'make-process' provides an alternative interface to 1388'start-process'. It allows programs to set process parameters such as 1389process filter, sentinel, etc., through keyword arguments (similar to 1390'make-network-process'). 1391 1392** Subprocesses are automatically told about changes in window dimensions. 1393The new option 'window-adjust-process-window-size-function' controls 1394how subprocesses are told to adapt their logical window sizes to 1395changes in the Emacs window configuration. Its default value calls 1396'set-process-window-size' with the smallest dimensions of all the 1397windows that display the subprocess's buffer. 1398 1399** A new function 'directory-files-recursively' returns all matching 1400files (recursively) under a directory. 1401 1402** New variable 'inhibit-message', when bound to non-nil, inhibits 1403'message' and related functions from displaying messages in the echo 1404area. The output is still logged to the '*Messages*' buffer. 1405 1406** A new text property 'inhibit-read-only' can be used in read-only 1407buffers to allow certain parts of the text to be writable. 1408 1409** A new variable 'comment-end-can-be-escaped' is useful in languages 1410such as C and C++ where line comments with escaped newlines are 1411continued to the next line. 1412 1413** New macro 'define-advice'. 1414 1415** Emacs Lisp now supports generators. 1416See the "Generators" section of the ELisp manual for the details. 1417 1418** New finalizer facility for running code when objects become unreachable. 1419See the "Finalizer Type" subsection in the ELisp manual for the 1420details. 1421 1422** Lexical closures can use '(:documentation FORM)' to build their docstring. 1423It should be placed right where the docstring would be, and FORM is then 1424evaluated (and should return a string) when the closure is built. 1425 1426** 'define-inline' provides a new way to define inlinable functions. 1427 1428** New function 'macroexpand-1' to perform a single step of macro expansion. 1429 1430** Some "x-*" functions were obsoleted and/or renamed: 1431*** 'x-select-text' is renamed 'gui-select-text'. 1432*** 'x-selection-value' is renamed 'gui-selection-value'. 1433*** 'x-get-selection' is renamed 'gui-get-selection'. 1434*** 'x-get-clipboard' and 'x-clipboard-yank' are marked obsolete. 1435*** 'x-get-selection-value' is renamed to 'gui-get-primary-selection'. 1436*** 'x-set-selection' is renamed to 'gui-set-selection'. 1437 1438** New function 'string-greaterp', which return the opposite result of 1439'string-lessp'. 1440 1441** The new functions 'string-collate-lessp' and 'string-collate-equalp' 1442preserve the collation order as defined by the system's locale(1) 1443environment. For the time being this is implemented for modern POSIX 1444systems and for MS-Windows, for other systems they fall back to their 1445counterparts 'string-lessp' and 'string-equal'. 1446 1447*** The ls-lisp package uses 'string-collate-lessp' to sort file names. 1448The effect is that, on systems that use ls-lisp for Dired, the default 1449sort order of the files in Dired is now different from what it was in 1450previous versions of Emacs. In particular, the file names are sorted 1451disregarding punctuation, accents, and diacritics, and letter case is 1452ignored. For example, files whose name begin with a period will no 1453longer appear near the beginning of the directory listing. If you 1454want the old, locale-independent sorting, customize the new option 1455'ls-lisp-use-string-collate' to the nil value. 1456 1457*** The MS-Windows specific variable 'w32-collate-ignore-punctuation', 1458if set to a non-nil value, causes the above 2 functions to ignore 1459symbol and punctuation characters when collating strings. This 1460emulates the behavior of modern Posix platforms when the locale's 1461codeset is "UTF-8" (as in "en_US.UTF-8"). This is needed because 1462MS-Windows doesn't support UTF-8 as codeset in its locales. 1463 1464** New function 'alist-get', which is a generalized variable 1465suitable for use with 'setf'. 1466 1467** New function 'funcall-interactively', which works like 'funcall' 1468but makes 'called-interactively-p' treat the function as (you guessed it) 1469called interactively. 1470 1471** New function 'function-put' to use instead of 'put' for function properties. 1472 1473** The new function 'bidi-find-overridden-directionality' allows you to 1474find characters whose directionality was, perhaps maliciously, 1475overridden by directional override control characters. Lisp programs 1476can use this to detect potential phishing of URLs and other links that 1477exploits bidirectional display reordering. 1478 1479** The new function 'buffer-substring-with-bidi-context' allows you to 1480copy a portion of a buffer into a different location while preserving 1481the visual appearance both of the copied text and the text at 1482destination, even when the copied text includes mixed bidirectional 1483text and directional control characters. 1484 1485** New properties that can be specified with 'declare': 1486*** '(interactive-only INSTEAD)', says to use INSTEAD for non-interactive use. 1487*** '(pure VAL)', if VAL is non-nil, indicates the function is pure. 1488*** '(side-effect-free VAL)', if VAL is non-nil, indicates the function does not 1489have side effects. 1490 1491** New macro 'with-file-modes', for evaluating expressions with default file 1492permissions set to temporary values (e.g., for creating private files). 1493 1494** You can access the slots of structures using 'cl-struct-slot-value'. 1495 1496** Function 'sort' can deal with vectors. 1497 1498** Function 'system-name' now returns an updated value if the current 1499system's name has changed or if the Emacs process has changed systems. 1500To avoid long waits it no longer consults DNS to canonicalize the name 1501(in some cases this may affect generated message-id headers - customize 1502'message-user-fqdn' if this bothers you). The variable 'system-name' 1503is now obsolete. 1504 1505** Function 'write-region' no longer outputs "Wrote FILE" in batch mode. 1506 1507** If 'pwd' is called with a prefix argument, insert the current default 1508directory at point. 1509 1510** New functions return extended information about fonts and faces. 1511 1512*** The function 'font-info' now returns more details about a font. 1513In particular, it now returns the average width of the font's 1514characters, which can be used for geometry-related calculations. 1515 1516*** A new function 'default-font-width' returns the average width of a 1517character in the current buffer's default font. If the default face 1518is remapped (see 'face-remapping-alist'), the value for the remapped 1519face is returned. This function complements the existing function 1520'default-font-height'. 1521 1522*** New functions 'window-font-height' and 'window-font-width' return 1523the height and average width of characters in a specified face and 1524window. If FACE is remapped (see 'face-remapping-alist'), the 1525function returns the information for the remapped face. 1526 1527*** A new function 'window-max-chars-per-line' returns the maximal 1528number of characters that can be displayed on one line. If a face 1529and/or window are provided, these values are used for the 1530calculation. This function is different from 'window-body-width' in 1531that it accounts for (i) continuation glyphs, (ii) the size of the 1532font, and (iii) the specified window. 1533 1534** New utilities in subr-x.el: 1535 1536*** New macros 'if-let' and 'when-let' allow defining bindings and to 1537execute code depending whether all values are true. 1538 1539*** New macros 'thread-first' and 'thread-last' allow threading a form 1540as the first or last argument of subsequent forms. 1541 1542** Documentation strings now support quoting with curved single quotes 1543in addition to the old style with grave accent and apostrophe. The 1544new style looks better on today's displays. In the new Electric Quote 1545mode, you can enter curved single quotes into documentation by typing 1546grave accent and apostrophe. Outside Electric Quote mode, you can 1547enter them by typing 'C-x 8 [' and 'C-x 8 ]', or (if your Alt key 1548works) by typing 'A-[' and 'A-]'. As described above under 1549'text-quoting-style', the user can specify how to display doc string 1550quotes. 1551 1552** New function 'format-message' is like 'format' and also converts 1553curved single quotes, grave accents and apostrophes as per 1554'text-quoting-style'. 1555 1556** 'show-help-function's arg is converted via 'substitute-command-keys' 1557before being passed to the function. Help strings, help-echo 1558properties, etc. can therefore contain command key escapes and 1559quotation marks. 1560 1561** Time-related changes: 1562 1563*** Time conversion functions now accept an optional ZONE argument 1564that specifies the time zone rules for conversion. ZONE is omitted or 1565nil for Emacs local time, t for Universal Time, 'wall' for system wall 1566clock time, or a string as in the TZ environment variable. The 1567affected functions are 'current-time-string', 'current-time-zone', 1568'decode-time', and 'format-time-string'. The function 'encode-time', 1569which already accepted a simple time zone rule argument, has been 1570extended to accept all the new forms. 1571 1572*** Incompatible change in the third argument of 'format-time-string'. 1573Previously, any non-nil argument was interpreted as specifying Universal Time. 1574This is no longer true; packages that want Universal Time should pass t 1575as the third argument. 1576 1577*** Time-related functions now consistently accept numbers 1578(representing seconds since the epoch) and nil (representing the 1579current time) as well as the usual list-of-integer representation. 1580Affected functions include 'current-time-string', 'current-time-zone', 1581'decode-time', 'float-time', 'format-time-string', 'seconds-to-time', 1582'time-add', 'time-less-p', 'time-subtract', 'time-to-day-in-year', 1583'time-to-days', and 'time-to-seconds'. 1584 1585*** The 'encode-time-value' and 'with-decoded-time-value' macros have 1586been obsoleted. 1587 1588*** 'calendar-next-time-zone-transition', 'time-add', and 1589'time-subtract' no longer return time values in the obsolete and 1590undocumented integer-pair format. Instead, they return a list of two 1591integers. 1592 1593** New function 'set-binary-mode' allows switching a standard stream 1594of the Emacs process to binary I/O mode. 1595 1596** The new function 'directory-name-p' can be used to check whether a file 1597name (as returned from, for instance, 'file-name-all-completions') is 1598a directory file name. It returns non-nil if the last character in 1599the name is a directory separator character (forward slash on GNU and 1600Unix systems, forward- or backslash on MS-Windows and MS-DOS). 1601 1602** ASCII approximations to curved quotes are put in 'standard-display-table' 1603if the terminal cannot display curved quotes. 1604 1605** Standard output and error streams now transliterate characters via 1606'standard-display-table', and encode output using 'locale-coding-system'. 1607To force a specific encoding, bind 'coding-system-for-write' to the 1608coding-system of your choice when invoking functions like 'prin1' and 1609'message'. 1610 1611** New var 'truncate-string-ellipsis' to choose how to indicate truncation. 1612 1613** New possible value for 'system-type': 'nacl'. 1614This is used by Google's Native Client (NaCl). 1615 1616** Miscellaneous name change 1617 1618For consistency with the usual Emacs spelling, the Lisp variable 1619'hfy-optimisations' has been renamed to 'hfy-optimizations'. 1620The old name should still work, as an obsolescent alias. 1621 1622** Changes in Frame- and Window- Handling 1623 1624*** Emacs can now draw horizontal scroll bars on some platforms that 1625provide toolkit scroll bars, namely Gtk+, Lucid, Motif and Windows. 1626Horizontal scroll bars are turned off by default. 1627 1628**** New function 'horizontal-scroll-bars-available-p' telling whether 1629horizontal scroll bars are available on the underlying system. 1630 1631**** New mode 'horizontal-scroll-bar-mode' to toggle horizontal scroll 1632bars on all existing and future frames. 1633 1634**** New function 'toggle-horizontal-scroll-bar' to toggle horizontal 1635scroll bars on the selected frame. 1636 1637**** New frame parameters 'horizontal-scroll-bars' and 1638'scroll-bar-height' to set horizontal scroll bars and their height 1639for individual frames and in 'default-frame-alist'. 1640 1641***** The 'horizontal-scroll-bars' parameter was already present and non-nil 1642by default in Emacs 24 and before (although it didn't have any 1643effect). This could cause a problem if you share your desktop files 1644with older versions of Emacs: saving desktop in Emacs before v25.1, 1645then restoring it in v25.1 would turn on horizontal scroll bars in all 1646buffers. To resolve this issue, put this in your ~/.emacs init file: 1647 1648 (modify-all-frames-parameters '((horizontal-scroll-bars . nil))) 1649 1650**** New functions 'frame-scroll-bar-height' and 1651'window-scroll-bar-height' return the height of horizontal scroll 1652bars on a specific frame or window. 1653 1654**** 'set-window-scroll-bars' now accepts five parameters where the last 1655two specify height and type of the window's horizontal scroll bar. 1656 1657**** 'window-scroll-bars' now returns type and sizes of horizontal scroll 1658bars too. 1659 1660**** New buffer-local variables 'horizontal-scroll-bar' and 1661'scroll-bar-height'. 1662 1663*** New functions 'frame-geometry' and 'frame-edges' give access to a 1664frame's geometry. 1665 1666*** New functions 'mouse-absolute-pixel-position' and 1667'set-mouse-absolute-pixel-position' get/set screen coordinates of the 1668mouse cursor. 1669 1670*** The function 'window-edges' now accepts three additional arguments to 1671retrieve body, absolute and pixel edges of the window. 1672 1673*** The functions 'window-inside-edges', 'window-inside-pixel-edges' and 1674'window-inside-absolute-pixel-edges' have been renamed to respectively 1675'window-body-edges', 'window-body-pixel-edges' and 1676'window-absolute-body-pixel-edges'. The old names are kept as aliases. 1677 1678*** New function 'window-absolute-pixel-position' to get the screen 1679coordinates of a visible buffer position. 1680 1681*** The height of a frame's menu and tool bar are no longer counted in the 1682frame's text height. This means that the text height stands only for 1683the height of the frame's root window plus that of the echo area (if 1684present). This was already the behavior for frames with external tool 1685and menu bars (like in the Gtk builds) but has now been extended to all 1686builds. 1687 1688*** Frames now do not necessarily preserve the number of columns or lines 1689they display when setting default font, menu bar, fringe width, or 1690scroll bars. In particular, maximized and fullscreen frames are 1691conceptually never resized if such settings change. For fullheight and 1692fullwidth frames, the behavior may depend on the toolkit used. 1693 1694**** New option 'frame-inhibit-implied-resize' if non-nil, means that 1695setting default font, menu bar, fringe width, or scroll bars of a 1696specific frame does not resize that frame in order to preserve the 1697number of columns or lines it displays. 1698 1699*** New function 'window-preserve-size' allows you to preserve the size of 1700a window without "fixing" it. It's supported by 'fit-window-to-buffer', 1701'temp-buffer-resize-mode' and 'display-buffer'. 1702 1703*** New 'display-buffer' action function 'display-buffer-use-some-frame'. 1704This displays the buffer in an existing frame other than the current 1705frame, and allows the caller to specify a frame predicate to exclude 1706frames. 1707 1708*** New minor mode 'window-divider-mode' and options 1709'window-divider-default-places', 'window-divider-default-bottom-width' 1710and 'window-divider-default-right-width'. 1711 1712*** When a window is shrunk horizontally its margins are no longer removed 1713automatically. Rather, Emacs refuses to split or resize windows when 1714this would cause margins to no longer fit into the width reserved for the 1715corresponding window. An application can override this behavior for a 1716particular window by setting that window's 'min-margins' parameter. As 1717a consequence, the application becomes fully responsible for trimming 1718the margin sizes of that window and any window inheriting these margins. 1719 1720*** The window displaying the '*Completions*' buffer with minibuffer 1721completion candidates is now shown at the bottom of the selected 1722frame. The size of that window is always as large as required to 1723display all the candidates, except when limited by the minimum size 1724of the other windows on that frame; those other windows are resized 1725to provide space for the '*Completions*' display. The Emacs manual 1726describes how to customize 'display-buffer-alist' to get back the old 1727behavior, see the node "Temporary Displays" there. 1728 1729** Tearoff menus and detachable toolbars for Gtk+ have been removed. 1730Those features have been deprecated in Gtk+ for a long time. 1731 1732** Etags 1733 1734*** etags no longer qualifies class members by default. 1735 1736By default, 'etags' will not qualify class members for Perl and C-like 1737object-oriented languages with their class names and namespaces, and 1738will remove qualifications used explicitly in the code from the tag 1739names it puts in TAGS files. This is so the etags.el back-end for 1740'xref-find-definitions' is more accurate and produces less false 1741positives. 1742 1743Use --class-qualify (-Q) if you want the old default behavior of 1744qualifying class members in C++, Java, Objective C, and Perl. Note 1745that using -Q might make some class members become "unknown" to 'M-.' 1746('xref-find-definitions'); if so, you can use 'C-u M-.' to specify the 1747qualified names by hand. 1748 1749*** New language Ruby 1750 1751Names of modules, classes, methods, functions, and constants are 1752tagged. Overloaded operators are also tagged. 1753 1754*** New language Go 1755Names of packages, functions, and types are tagged. 1756 1757*** Improved support for Lua 1758 1759Etags now tags functions even if the "function" keyword follows some 1760whitespace at line beginning. 1761 1762 1763* Changes in Emacs 25.1 on Non-Free Operating Systems 1764 1765** MS-Windows specific Emacs build scripts are no longer in the distribution. 1766This includes the makefile.w32-in files in various subdirectories, and 1767the support files. The file nt/configure.bat now just tells the user 1768to use the procedure described in nt/INSTALL, by running the Posix 1769'configure' script in the top-level directory. 1770 1771** Building Emacs for MS-Windows requires at least Windows XP 1772or Windows Server 2003. The built binaries still run on all versions 1773of Windows starting with Windows 9X. 1774 1775** Emacs running on MS-Windows now supports the daemon mode. 1776 1777** The byte counts in etags-generated TAGS files are now the same on 1778MS-Windows as they are on other platforms. 1779 1780** On macOS, configure creates a Cocoa ("Nextstep") build by default. 1781Pass '--without-ns' to configure to create an X11 build, the old default. 1782 1783** Mac OS X 10.5 or older is no longer supported. 1784 1785** Mac OS X on PowerPC is no longer supported. 1786 1787** New variable 'ns-use-fullscreen-animation' controls animation for 1788non-native NS fullscreen. The default is nil. Set to t to enable 1789animation when entering and leaving fullscreen. For native macOS 1790fullscreen this has no effect. 1791 1792** On the macOS Cocoa ("Nextstep") port, multicolor font (such as color 1793emoji) display is disabled. This feature was accidentally added when 1794Emacs 24.4 included the new Core Text based font backend code that was 1795originally implemented for a non-mainline port. This will be enabled 1796again once it is also implemented in Emacs on free operating systems. 1797If some symbols, such as emoji, do not display, we suggest to install 1798an appropriate font, such as Symbola; then they will be displayed, 1799albeit without the color effects. 1800 1801** The new function 'w32-application-type' returns the type of an 1802MS-Windows application given the name of its executable program file. 1803 1804** New variable 'w32-pipe-buffer-size'. 1805It can be used to tune the size of the buffer of pipes created for 1806communicating with subprocesses, when the program run by a subprocess 1807exhibits unusual buffering behavior. Default is zero, which lets the 1808OS use its default size. 1809 1810 1811---------------------------------------------------------------------- 1812This file is part of GNU Emacs. 1813 1814GNU Emacs is free software: you can redistribute it and/or modify 1815it under the terms of the GNU General Public License as published by 1816the Free Software Foundation, either version 3 of the License, or 1817(at your option) any later version. 1818 1819GNU Emacs is distributed in the hope that it will be useful, 1820but WITHOUT ANY WARRANTY; without even the implied warranty of 1821MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1822GNU General Public License for more details. 1823 1824You should have received a copy of the GNU General Public License 1825along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. 1826 1827 1828Local variables: 1829coding: us-ascii 1830mode: outline 1831paragraph-separate: "[ ]*$" 1832end: 1833