* admin/gitmerge.el (gitmerge-missing):
[emacs.git] / etc / NEWS
blobbec7753d192f55085e76f36ead3ba6588c6e0be1
1 GNU Emacs NEWS -- history of user-visible changes.
3 Copyright (C) 2017 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
6 Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
7 If possible, use M-x report-emacs-bug.
9 This file is about changes in Emacs version 27.
11 See file HISTORY for a list of GNU Emacs versions and release dates.
12 See files NEWS.26, NEWS.25, ..., NEWS.18, and NEWS.1-17 for changes
13 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 27.1
27 ** The new configure option '--with-json' adds support for JSON using
28 the Jansson library.  It is on by default; use 'configure
29 --with-json=no' to build without Jansson support.  The new JSON
30 functions 'json-serialize', 'json-insert', 'json-parse-string', and
31 'json-parse-buffer' are typically much faster than their Lisp
32 counterparts from json.el.
34 ** Emacs has been ported to the -fcheck-pointer-bounds option of GCC.
35 This causes Emacs to check bounds of some arrays addressed by its
36 internal pointers, which can be helpful when debugging the Emacs
37 interpreter or modules that it uses.  If your platform supports it you
38 can enable it when configuring, e.g., './configure CFLAGS="-g3 -O2
39 -mmpx -fcheck-pointer-bounds"' on Intel MPX platforms.
42 * Startup Changes in Emacs 27.1
45 * Changes in Emacs 27.1
47 ---
48 ** The new option 'tooltip-resize-echo-area' avoids truncating tooltip text
49 on GUI frames when tooltips are displayed in the echo area.  Instead,
50 it resizes the echo area as needed to accommodate the full tool-tip
51 text.
53 +++
54 ** New function 'logcount' calculates an integer's Hamming weight.
56 +++
57 ** New function 'libxml-available-p'.
58 This function returns non-nil if libxml support is both compiled in
59 and available at run time.  Lisp programs should use this function to
60 detect built-in libxml support, instead of testing for that
61 indirectly, e.g., by checking that functions like
62 'libxml-parse-html-region' return nil.
65 * Editing Changes in Emacs 27.1
67 ---
68 ** New variable 'x-wait-for-event-timeout'.
69 This controls how long Emacs will wait for updates to the graphical
70 state to take effect (making a frame visible, for example).
72 +++
73 ** The new user option 'electric-quote-replace-double' controls
74 whether '"' is also replaced in 'electric-quote-mode'.  If non-nil,
75 '"' is replaced by a double typographic quote.
78 * Changes in Specialized Modes and Packages in Emacs 27.1
80 ** Dired
82 +++
83 *** The new user option 'dired-create-destination-dirs' controls whether
84 'dired-do-copy' and 'dired-rename-file' should create non-existent
85 directories in the destination.
87 ** Ibuffer
89 ---
90 *** New filter ibuffer-filter-by-process; bound to '/E'.
92 ** Edebug
94 +++
95 *** The runtime behavior of Edebug's instrumentation can be changed
96 using the new variables 'edebug-behavior-alist',
97 'edebug-after-instrumentation-function' and
98 'edebug-new-definition-function'. Edebug's behavior can be changed
99 globally or for individual definitions.
101 ** Enhanced xterm support
103 *** New variable 'xterm-set-window-title' controls whether Emacs sets
104 the XTerm window title.  This feature is experimental and is disabled
105 by default.
107 ** Gamegrid
109 ** ERT
112 *** New variable 'ert-quiet' allows to make ERT output in batch mode
113 less verbose by removing non-essential information.
116 *** Gamegrid now determines its default glyph size based on display
117 dimensions, instead of always using 16 pixels. As a result, Tetris,
118 Snake and Pong are more playable on HiDPI displays.
120 ** Filecache
123 *** Completing filenames in the minibuffer via 'C-TAB' now uses the
124 styles as configured by the variable 'completion-styles'.
126 ** New macros 'thunk-let' and 'thunk-let*'.
127 These macros are analogue to 'let' and 'let*', but create bindings that
128 are evaluated lazily.
130 ** Eshell
133 *** Expansion of history event designators is disabled by default.
134 To restore the old behavior, use
136     (add-hook 'eshell-expand-input-functions
137               #'eshell-expand-history-references)
140 * New Modes and Packages in Emacs 27.1
143 ** Emacs can now visit files in archives as if they were directories.
144 This feature uses Tramp and works only on systems which support GVFS,
145 i.e. GNU/Linux, roughly spoken.  See the chapter "(tramp) Archive file
146 names" in the Tramp manual for full documentation of these facilities.
149 * Incompatible Lisp Changes in Emacs 27.1
151 ** The FILENAME argument to 'file-name-base' is now mandatory and no
152 longer defaults to 'buffer-file-name'.
155 ** The function 'eldoc-message' now accepts a single argument.
156 Programs that called it with multiple arguments before should pass
157 them through 'format' first.  Even that is discouraged: for ElDoc
158 support, you should set 'eldoc-documentation-function' instead of
159 calling 'eldoc-message' directly.
161 ** Old-style backquotes now generate an error.  They have been
162 generating warnings for a decade.
165 * Lisp Changes in Emacs 27.1
167 ** Internal parsing commands now use syntax-ppss and disregard
168 open-paren-in-column-0-is-defun-start.  This affects mostly things like
169 forward-comment, scan-sexps, and forward-sexp when parsing backward.
170 The new variable 'comment-use-syntax-ppss' can be set to nil to recover the old
171 behavior if needed.
174 ** The 'file-system-info' function is now available on all platforms.
175 instead of just Microsoft platforms.  This fixes a 'get-free-disk-space'
176 bug on OS X 10.8 and later (Bug#28639).
179 ** The function 'get-free-disk-space' returns now a non-nil value for
180 remote systems, which support this check.
183 ** The function 'make-string' accepts an additional optional argument.
184 If the optional third argument is non-nil, 'make-string' will produce
185 a multibyte string even if its second argument is an ASCII character.
187 ** New JSON parsing and serialization functions 'json-serialize',
188 'json-insert', 'json-parse-string', and 'json-parse-buffer'.  These
189 are implemented in C using the Jansson library.
192 * Changes in Emacs 27.1 on Non-Free Operating Systems
195 ----------------------------------------------------------------------
196 This file is part of GNU Emacs.
198 GNU Emacs is free software: you can redistribute it and/or modify
199 it under the terms of the GNU General Public License as published by
200 the Free Software Foundation, either version 3 of the License, or
201 (at your option) any later version.
203 GNU Emacs is distributed in the hope that it will be useful,
204 but WITHOUT ANY WARRANTY; without even the implied warranty of
205 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
206 GNU General Public License for more details.
208 You should have received a copy of the GNU General Public License
209 along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.
212 Local variables:
213 coding: utf-8
214 mode: outline
215 paragraph-separate: "[  \f]*$"
216 end: