NEWS 73.1 KB
Newer Older
1
GNU Emacs NEWS -- history of user-visible changes.
2

Paul Eggert's avatar
Paul Eggert committed
3
Copyright (C) 2014-2016 Free Software Foundation, Inc.
4
See the end of the file for license conditions.
Dave Love's avatar
#  
Dave Love committed
5

6
Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
7 8
If possible, use M-x report-emacs-bug.

9
This file is about changes in Emacs version 25.
10

Paul Eggert's avatar
Paul Eggert committed
11
See file HISTORY for a list of GNU Emacs versions and release dates.
12
See files NEWS.24, NEWS.23, NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18,
13
and NEWS.1-17 for changes in older Emacs versions.
14

Paul Eggert's avatar
Paul Eggert committed
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.
17

Paul Eggert's avatar
Paul Eggert committed
18 19 20 21 22 23
Temporary note:
+++ indicates that all necessary documentation updates are complete.
    (This means all relevant manuals in doc/ AND lisp doc-strings.)
--- means no change in the manuals is needed.
When you add a new item, use the appropriate mark if you are sure it applies,
otherwise leave it unmarked.
24

25

Stefan Monnier's avatar
Stefan Monnier committed
26
* Installation Changes in Emacs 25.1
27

Glenn Morris's avatar
Glenn Morris committed
28
+++
Paul Eggert's avatar
Paul Eggert committed
29 30
** Building Emacs now requires C99 or later.

31
+++
32
** Building Emacs now requires GNU make, version 3.81 or later.
Glenn Morris's avatar
Glenn Morris committed
33

34
+++
35
** New configure option --with-cairo.
36 37
This builds Emacs with Cairo drawing.  As a side effect, it provides
support for built-in printing, when Emacs was built with GTK+.
38 39
Cairo drawing is an experimental feature in Emacs, and subject to
change in future releases.
40

41
+++
42 43 44
** New configure option --with-modules.
This enables support for loading dynamic modules; see below.

45
---
Paul Eggert's avatar
Paul Eggert committed
46 47 48 49 50 51 52
** By default, Emacs no longer works on IRIX.  We expect that Emacs
users are not affected by this, as SGI stopped supporting IRIX in
December 2013.  If you are affected, please send a bug report.  You
should be able to work around the problem either by porting the Emacs
undumping code to GCC under IRIX, or by configuring --with-wide-int,
or by sticking with Emacs 24.4.

53
---
54 55 56 57 58 59
** The Emacs garbage collector assumes GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
The GC_MAKE_GCPROS_NOOPS stack-marking variant has been the default
since Emacs 24.4, and the other variants were undocumented and were
obstacles to maintenance and development.  GC_MARK_STACK and its
related symbols have been removed from the C internals.

60
---
Paul Eggert's avatar
Paul Eggert committed
61
** configure now prefers gnustep-config when configuring GNUstep.
Paul Eggert's avatar
Paul Eggert committed
62 63
If gnustep-config is not available, the old heuristics are used.

64
---
Paul Eggert's avatar
Paul Eggert committed
65
** configure now prefers inotify to gfile for file notification,
66 67
unless gfile is explicitly requested via --with-file-notification='gfile'.

68
---
Paul Eggert's avatar
Paul Eggert committed
69
** configure detects the kqueue file notification library on *BSD
70 71
and Mac OS X machines.

72
---
Paul Eggert's avatar
Paul Eggert committed
73 74
** The configure option --with-pkg-config-prog has been removed.
Use ./configure PKG_CONFIG=/full/name/of/pkg-config if you need to.
75

76
---
Paul Eggert's avatar
Paul Eggert committed
77
** The configure option --with-mmdf has been removed.
78 79
It was no longer useful, as it relied on libraries that are no longer
supported, and its presence led to confusion during configuration.
Paul Eggert's avatar
Paul Eggert committed
80
This affects only the movemail utility; Emacs itself can still
81 82
process MMDF-format files as before.

83
+++
Paul Eggert's avatar
Paul Eggert committed
84
** The configure option --enable-silent-rules is now the default,
85
and silent rules are now quieter.  To get the old behavior where
Paul Eggert's avatar
Paul Eggert committed
86 87
make chatters a lot, configure with --disable-silent-rules or
build with make V=1.
88

89
---
Paul Eggert's avatar
Paul Eggert committed
90 91
** The configure option --with-gameuser now allows you to specify a
group instead of a user if its argument is prefixed by : (a colon).
92 93
This will cause the game score files in ${localstatedir}/games/emacs
to be owned by that group, and the helper program for updating them to
Paul Eggert's avatar
Paul Eggert committed
94
be installed setgid.  The option now defaults to the games group.
95

Glenn Morris's avatar
Glenn Morris committed
96
---
Paul Eggert's avatar
Paul Eggert committed
97
** The grep-changelog script (and its manual page) are no longer included.
Glenn Morris's avatar
Glenn Morris committed
98 99 100
It has no particular connection to Emacs and has not changed in years,
so if you want to use it, you can always take a copy from an older Emacs.

101
---
NicolasPetton's avatar
NicolasPetton committed
102 103
** Emacs 25 comes with a new set of icons.
Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png.
Paul Eggert's avatar
Paul Eggert committed
104
The old Emacs logo icons are available as emacs23.png in the same location.
NicolasPetton's avatar
NicolasPetton committed
105

106
---
Paul Eggert's avatar
Paul Eggert committed
107 108
** New make target check-expensive to run additional tests.
This includes all tests which run via make check, plus additional
109 110
tests which take more time to perform.

111

Stefan Monnier's avatar
Stefan Monnier committed
112
* Startup Changes in Emacs 25.1
113

114 115
+++
** When Emacs is given a file as a command line argument and
Paul Eggert's avatar
Paul Eggert committed
116 117 118
initial-buffer-choice is non-nil, display both the file and
initial-buffer-choice.  When Emacs is given more than one file and
initial-buffer-choice is non-nil, show initial-buffer-choice
119
and *Buffer List*.  This makes Emacs convenient to use from the
Paul Eggert's avatar
Paul Eggert committed
120
command line when initial-buffer-choice is non-nil.
121

122
+++
Paul Eggert's avatar
Paul Eggert committed
123
** The value of initial-scratch-message is now treated as a doc string
124 125
and can contain escape sequences for command keys, quotes, and the like.

126

Stefan Monnier's avatar
Stefan Monnier committed
127
* Changes in Emacs 25.1
128

129
+++
130
** Xwidgets: a new feature for embedding native widgets inside Emacs buffers.
131
If you have gtk3 and webkitgtk3 installed, and Emacs was built with
Paul Eggert's avatar
Paul Eggert committed
132 133 134 135
xwidget support, you can access the embedded webkit browser with M-x
xwidget-webkit-browse-url.  This opens a new buffer with the embedded
browser.  The buffer will have a new mode, xwidget-webkit-mode
(similar to image-mode), which supports the webkit widget.
136

137
+++
Paul Eggert's avatar
Paul Eggert committed
138 139 140 141 142 143
*** New functions for xwidget-webkit mode xwidget-webkit-insert-string,
xwidget-webkit-adjust-size-dispatch, xwidget-webkit-back,
xwidget-webkit-browse-url, xwidget-webkit-reload,
xwidget-webkit-current-url, xwidget-webkit-scroll-backward,
xwidget-webkit-scroll-forward, xwidget-webkit-scroll-down,
xwidget-webkit-scroll-up.
144

145
+++
146 147 148
** Emacs can now load shared/dynamic libraries (modules).
A dynamic Emacs module is a shared library that provides additional
functionality for use in Emacs Lisp programs, just like a package
Paul Eggert's avatar
Paul Eggert committed
149 150 151 152
written in Emacs Lisp would.  The functions load, require,
load-file, etc. were extended to load such modules, as they do with
Emacs Lisp packages.  The new variable module-file-suffix holds the
system-dependent value of the file-name extension (.so on Posix
153
hosts) of the module files.
Eli Zaretskii's avatar
Eli Zaretskii committed
154

155
A module should export a C-callable function named
Paul Eggert's avatar
Paul Eggert committed
156 157 158
emacs_module_init, which Emacs will call as part of the call to
load or require which loads the module.  It should also export a
symbol named plugin_is_GPL_compatible to indicate that its code is
159
released under the GPL or compatible license; Emacs will refuse to
Paul Eggert's avatar
Paul Eggert committed
160
load modules that dont export such a symbol.
161

162
If a module needs to call Emacs functions, it should do so through the
Paul Eggert's avatar
Paul Eggert committed
163
API defined and documented in the header file emacs-module.h.  Note
164
that any module that provides Lisp-callable functions will have to use
Paul Eggert's avatar
Paul Eggert committed
165
Emacs functions such as fset and funcall, in order to register its
166
functions with the Emacs Lisp interpreter.
167

Paul Eggert's avatar
Paul Eggert committed
168
Modules can create user-ptr Lisp objects that embed pointers to C
169
structs defined by the module.  This is useful for keeping around
170
complex data structures created by a module, to be passed back to the
Paul Eggert's avatar
Paul Eggert committed
171 172
modules functions.  User-ptr objects can also have associated
finalizers -- functions to be run when the object is GCed; this is
173 174
useful for freeing any resources allocated for the underlying data
structure, such as memory, open file descriptors, etc.  A new
Paul Eggert's avatar
Paul Eggert committed
175
predicate user-ptrp returns non-nil if its argument is a user-ptr
176 177 178 179
object.

Loadable modules in Emacs are an experimental feature, and subject to
change in future releases.  For that reason, their support is disabled
Paul Eggert's avatar
Paul Eggert committed
180
by default, and must be enabled by using the --with-modules option
181 182
at configure time.

183
+++
184 185
** Network security (TLS/SSL certificate validity and the like) is
added via the new Network Security Manager (NSM) and controlled via
Paul Eggert's avatar
Paul Eggert committed
186
the network-security-level variable.
187

Eli Zaretskii's avatar
Eli Zaretskii committed
188
+++
189 190
** C-h l now also lists the commands that were run.

191 192 193
+++
** x-select-enable-clipboard is renamed select-enable-clipboard
and x-select-enable-primary is renamed select-enable-primary.
194 195
Additionally they both now apply to all systems (OSX, GNUstep, Windows, you
name it), with the proviso that on some systems (e.g. Windows)
Paul Eggert's avatar
Paul Eggert committed
196
select-enable-primary is ineffective since the system doesnt
197
have the equivalent of a primary selection.
Stefan Monnier's avatar
Stefan Monnier committed
198

199
+++
Paul Eggert's avatar
Paul Eggert committed
200 201
** New option switch-to-buffer-in-dedicated-window allows you to
customize how switch-to-buffer proceeds interactively when the
202
selected window is strongly dedicated to its buffer.
203

Leo Liu's avatar
Leo Liu committed
204
+++
Paul Eggert's avatar
Paul Eggert committed
205 206
** The option even-window-heights has been renamed to
even-window-sizes and now handles window widths as well.
207 208 209

+++
** terpri gets an optional arg ENSURE to conditionally output a newline.
Leo Liu's avatar
Leo Liu committed
210

211
+++
Paul Eggert's avatar
Paul Eggert committed
212
** insert-register now leaves point after the inserted text
213
when called interactively.  A prefix argument toggles this behavior.
214

215
+++
Paul Eggert's avatar
Paul Eggert committed
216 217
** The new variable term-file-aliases replaces some files from lisp/term.
The function tty-run-terminal-initialization consults this variable
218 219
when deciding what terminal-specific initialization code to run.

220
---
Paul Eggert's avatar
Paul Eggert committed
221
** New variable system-configuration-features, listing some of the
222 223 224
main features that Emacs was compiled with.  This is mainly intended
for use in Emacs bug reports.

225 226
+++
** A password is now hidden also when typed in batch mode.  Another
Paul Eggert's avatar
Paul Eggert committed
227 228
hiding character but the default . can be used by let-binding the
variable read-hide-char.
229

230 231 232
+++
** The Emacs pseudo-random number generator can be securely seeded.
On system where Emacs can access the system entropy or some other
Paul Eggert's avatar
Paul Eggert committed
233 234
cryptographically secure random stream, it now uses that when random
is called with its argument t.  This allows cryptographically strong
235 236 237
random values; in particular, the Emacs server now uses this facility
to produce its authentication key.

238
---
Paul Eggert's avatar
Paul Eggert committed
239
** New input methods: tamil-dvorak and programmer-dvorak.
240

241

Stefan Monnier's avatar
Stefan Monnier committed
242
* Editing Changes in Emacs 25.1
243

244 245 246
+++
** M-x suggests shorthands and ignores obsolete commands for completion.

247
** Changes in undo
248

249 250 251
+++
*** Successive single-char deletions are collapsed in the undo-log just like
successive char insertions.  Which commands invoke this behavior is
Paul Eggert's avatar
Paul Eggert committed
252 253
controlled by the new undo-auto-amalgamate function.  See the node
‘‘Undo’’ in the ELisp manual for more details.
254 255

+++
Paul Eggert's avatar
Paul Eggert committed
256
*** The heuristic used to insert undo-boundary after each command
257
has changed, so that if a command causes changes in more than just the
Paul Eggert's avatar
Paul Eggert committed
258
current buffer, Emacs now calls undo-boundary in every buffer
259
affected by the command.
260

Eli Zaretskii's avatar
Eli Zaretskii committed
261
+++
Paul Eggert's avatar
Paul Eggert committed
262
** New command comment-line bound to C-x C-;.
Eli Zaretskii's avatar
Eli Zaretskii committed
263

Eli Zaretskii's avatar
Eli Zaretskii committed
264
** New and improved facilities for inserting Unicode characters
265

Eli Zaretskii's avatar
Eli Zaretskii committed
266 267 268 269 270
---
*** Unicode names entered via C-x 8 RET now use substring completion by default.

+++
*** C-x 8 now has shorthands for these chars:               
271 272
         .  As before, you can type C-x 8 C-h to list shorthands.

Eli Zaretskii's avatar
Eli Zaretskii committed
273 274
+++
*** New minor mode electric-quote-mode for quoting like this and like this
Paul Eggert's avatar
Paul Eggert committed
275
as you type.  See also the new variable text-quoting-style.
Paul Eggert's avatar
Paul Eggert committed
276

Eli Zaretskii's avatar
Eli Zaretskii committed
277
---
278 279
** New minor mode global-eldoc-mode is enabled by default.

Eli Zaretskii's avatar
Eli Zaretskii committed
280
---
Paul Eggert's avatar
Paul Eggert committed
281
** Emacs now uses bracketed paste mode on text terminals that support it.
282 283 284 285 286 287 288 289 290 291
Bracketed paste mode causes text terminals to wrap pasted text in special
escape sequences that allow Emacs to tell the difference between text
you type and text you paste from other applications.  Emacs then
avoids interpreting each character in the pasted text as it does with
keyboard input, which results in a paste experience similar to that
under a window system, and significant performance improvements when
pasting large amounts of text.

Bracketed paste mode is disabled by default, so Emacs automatically
enables it at startup if the terminal supports it.
292

Eli Zaretskii's avatar
Eli Zaretskii committed
293
+++
Eli Zaretskii's avatar
Eli Zaretskii committed
294 295 296
** Emacs now supports the latest version of the UBA.
The Emacs implementation of the Unicode Bidirectional Algorithm (UBA)
was updated to support all the latest additions and changes introduced
297 298 299 300
in Unicode Standard versions 6.3, 7.0, and the latest Unicode 8.0.
This includes full support for directional isolates and the
Bidirectional Parentheses Algorithm (BPA) specified by these Unicode
standards.
Eli Zaretskii's avatar
Eli Zaretskii committed
301

302
+++
Paul Eggert's avatar
Paul Eggert committed
303
** You can access mouse-buffer-menu (C-down-mouse-1) using C-f10.
304

Tom Willemse's avatar
Tom Willemse committed
305
+++
Paul Eggert's avatar
Paul Eggert committed
306
** New buffer-local electric-pair-local-mode.
Tom Willemse's avatar
Tom Willemse committed
307

308
+++
Paul Eggert's avatar
Paul Eggert committed
309
** New variable fast-but-imprecise-scrolling inhibits
310 311 312 313
fontification during full screen scrolling operations, giving less
hesitant operation during auto-repeat of C-v, M-v at the cost of
possible inaccuracies in the end position.

314
+++
Paul Eggert's avatar
Paul Eggert committed
315 316
** New documentation command describe-symbol.
Works for functions, variables, faces, etc.  It is bound to C-h o by
317 318 319
default.

+++
Paul Eggert's avatar
Paul Eggert committed
320
** New function custom-prompt-customize-unsaved-options checks for
321
unsaved customizations and prompts user to customize (if found).  It
Paul Eggert's avatar
Paul Eggert committed
322
is intended for adding to kill-emacs-query-functions.
323

324
+++
Paul Eggert's avatar
Paul Eggert committed
325 326 327
** The old C-x w bindings in hi-lock-mode are officially deprecated
in favor of the global M-s h bindings introduced in Emacs-23.1.
Theyll disappear soon.
328

329

Stefan Monnier's avatar
Stefan Monnier committed
330
* Changes in Specialized Modes and Packages in Emacs 25.1
331

Eli Zaretskii's avatar
Eli Zaretskii committed
332 333 334
** Checkdoc

+++
Paul Eggert's avatar
Paul Eggert committed
335
*** New command checkdoc-package-keywords checks if the
Eli Zaretskii's avatar
Eli Zaretskii committed
336
current package keywords are recognized.  Set the new option
Paul Eggert's avatar
Paul Eggert committed
337 338
checkdoc-package-keywords-flag to non-nil to make
checkdoc-current-buffer call this function automatically.
Eli Zaretskii's avatar
Eli Zaretskii committed
339 340

+++
Paul Eggert's avatar
Paul Eggert committed
341 342
*** New function checkdoc-file checks for style errors.
Its meant for use together with compile:
Eli Zaretskii's avatar
Eli Zaretskii committed
343 344
emacs -batch --eval "(checkdoc-file \"subr.el\")"

345 346 347 348 349 350 351 352 353 354 355
** Desktop

---
*** The desktop format version has been upgraded from 206 to 208.
Although Emacs 25.1 can read a version 206 desktop, earlier Emacsen
cannot read a version 208 desktop.  To upgrade your desktop file, you
must explicitly request the upgrade, by C-u M-x desktop-save.  You are
recommended to do this as soon as you have firmly upgraded to Emacs
25.1 (or later).  Should you ever need to downgrade your desktop file
to version 206, you can do this with C-u C-u M-x desktop-save.

356
+++
Paul Eggert's avatar
Paul Eggert committed
357
** New function bookmark-set-no-overwrite bound to C-x r M.
358
It raises an error if a bookmark of that name already exists,
Paul Eggert's avatar
Paul Eggert committed
359
unlike bookmark-set which silently updates an existing bookmark.
360

361 362 363
** Gnus

+++
Paul Eggert's avatar
Paul Eggert committed
364
*** New user options mm-html-inhibit-images and mm-html-blocked-images
365
now control how mm-* functions fetch and display images in an HTML
Paul Eggert's avatar
Paul Eggert committed
366
message.  Gnus still uses gnus-inhibit-images and gnus-blocked-images
367 368 369 370
for that purpose, i.e., binds mm-html- variables with those gnus-
variables, but other packages do not have to bind gnus- variables now.

---
Paul Eggert's avatar
Paul Eggert committed
371 372
*** mm-inline-text-html-with-images has been removed.
Use mm-html-inhibit-images instead.  Note that the value is opposite
373 374
in meaning.

375 376
** IMAP

377
---
Paul Eggert's avatar
Paul Eggert committed
378
*** imap-ssl-program has been removed, and imap.el uses the internal
379 380
GnuTLS encryption functions if possible.

381
** JSON
Eli Zaretskii's avatar
Eli Zaretskii committed
382

383
---
Paul Eggert's avatar
Paul Eggert committed
384
*** json-pretty-print and json-pretty-print-buffer now maintain
385
the ordering of object keys by default.
Eli Zaretskii's avatar
Eli Zaretskii committed
386

387
---
Paul Eggert's avatar
Paul Eggert committed
388 389
*** New commands json-pretty-print-ordered and
json-pretty-print-buffer-ordered pretty prints JSON objects with
390
object keys sorted alphabetically.
391

392
+++
393
** Prog mode has some support for multi-mode indentation.
394 395 396 397 398
This allows better indentation support in modes that support multiple
programming languages in the same buffer, like literate programming
environments or ANTLR programs with embedded Python code.

A major mode can provide indentation context for a sub-mode through
Paul Eggert's avatar
Paul Eggert committed
399 400 401 402
the prog-indentation-context variable.  To support this, modes that
provide indentation should use prog-widen instead of widen and
prog-first-column instead of a literal zero.  See the node
Mode-Specific Indent in the ELisp manual for more details.
403

404
** Prettify Symbols mode
Eli Zaretskii's avatar
Eli Zaretskii committed
405

406
+++
407
*** Prettify Symbols mode supports custom composition predicates.  By
Paul Eggert's avatar
Paul Eggert committed
408
overriding the default prettify-symbols-compose-predicate, modes can
409
specify in which contexts a symbol may be displayed as some Unicode
Paul Eggert's avatar
Paul Eggert committed
410
character.  prettify-symbols-default-compose-p is the default which
411 412 413
is suitable for most programming languages such as C or Lisp (but not
(La)TeX).

414
+++
415
*** Symbols can be unprettified while point is inside them.
Paul Eggert's avatar
Paul Eggert committed
416
New variable prettify-symbols-unprettify-at-point configures this.
417

418 419
** Enhanced xterm support

420
---
Paul Eggert's avatar
Paul Eggert committed
421
*** The new variable xterm-screen-extra-capabilities for configuring xterm.
422 423 424 425 426
This variable tells Emacs which advanced capabilities are available in
the xterm terminal emulator used to display Emacs text-mode frames.
The default is to check each capability, and use it if available.
(This variable was introduced in Emacs 24.1, but was not announced in
its NEWS.)
427

428 429 430
---
*** Killing text now also sets the CLIPBOARD/PRIMARY selection
in the surrounding GUI (using the OSC-52 escape sequence).  This only works
Paul Eggert's avatar
Paul Eggert committed
431
if your xterm supports it and enables the allowWindowOps options (disabled
432 433 434 435
by default at least in Debian, for security reasons).

Similarly, you can yank the CLIPBOARD/PRIMARY selection (using the OSC-52
escape sequence) if your xterm has the feature enabled but for that you
Paul Eggert's avatar
Paul Eggert committed
436
additionally need to add getSelection to xterm-extra-capabilities.
437 438

+++
Paul Eggert's avatar
Paul Eggert committed
439
*** xterm-mouse-mode now supports mouse-tracking (if your xterm supports it).
440

441
---
Paul Eggert's avatar
Paul Eggert committed
442
** The way to turn on and off save-place mode has changed.
443
It is no longer sufficient to load the saveplace library and set
Paul Eggert's avatar
Paul Eggert committed
444 445 446 447 448 449
save-place non-nil.  Instead, use the two new minor modes:
save-place-mode turns on saving last place in every file, and
save-place-local-mode does that only for the file in whose buffer it
is invoked.  The save-place variable is now an obsolete alias for
save-place-mode, which replaces it, and toggle-save-place is an
obsolete alias for the new save-place-local-mode command.
450

451 452
** ERC

453 454
+++
*** ERC can now hide message types by network or channel.
Paul Eggert's avatar
Paul Eggert committed
455 456
erc-hide-list will hide all messages of the specified type, while
erc-network-hide-list and erc-channel-hide-list will only hide the
457
specified message types for the respective specified targets.
458

459 460 461
---
*** Reconnection is now asynchronous.

462
---
Paul Eggert's avatar
Paul Eggert committed
463
*** Nick completion is now case-insensitive again after inadvertently
464 465
being made case-sensitive in Emacs 24.2.

466 467 468 469 470
** MPC

---
*** New commands, key binds, and menu items.

Paul Eggert's avatar
Paul Eggert committed
471
**** < and > for navigating previous and next tracks in playlist
472

Paul Eggert's avatar
Paul Eggert committed
473
**** New play/pause command mpc-toggle-play bound to s
474

Paul Eggert's avatar
Paul Eggert committed
475
**** g bound to new command mpc-seek-current will navigate current
476 477
     track.

Paul Eggert's avatar
Paul Eggert committed
478
**** New commands mpc-toggle-{consume,repeat,single,shuffle} for
479 480 481 482 483 484 485 486 487 488 489 490 491 492
     toggling playback modes.

---
*** Now supports connecting to a UNIX domain socket.

---
*** Looks at more image file names to use as album art.
Case-insensitively tries for .folder.png (freedesktop) and folder.jpg
(XP) in addition to cover.jpg.

---
*** Searches in more locations for MPD configuration files.
MPD supports the XDG base directory specification since version 0.17.6.

493
** Midnight-mode
Eli Zaretskii's avatar
Eli Zaretskii committed
494

495
---
Paul Eggert's avatar
Paul Eggert committed
496
*** midnight-mode is now a proper minor mode.
Eli Zaretskii's avatar
Eli Zaretskii committed
497

498
---
499 500
*** clean-buffer-*-regexps can now specify buffers via predicate functions.

501
** package.el
502

503
+++
Paul Eggert's avatar
Paul Eggert committed
504 505 506 507
*** New external package status.
An external package is any installed package thats not built-in and
not from package-user-dir, which usually means its from an entry in
package-directory-list.  They are treated much like built-in
508
packages, in that they cannot be deleted through the package menu and
509 510
are not considered for upgrades.

511
The effect is that a user can manually place a specific version of a
Paul Eggert's avatar
Paul Eggert committed
512
package inside package-directory-list and the package menu will
513 514
always respect that.

515
+++
516
*** If a package is available on multiple archives and one has higher
Paul Eggert's avatar
Paul Eggert committed
517 518
priority (as per package-archive-priorities) only that one is
listed.  This can be configured with package-menu-hide-low-priority.
519

520
+++
Paul Eggert's avatar
Paul Eggert committed
521
*** package-menu-toggle-hiding now toggles the hiding of packages.
522 523 524 525 526 527
This includes the above-mentioned low-priority packages, as well as
available packages whose version is lower than the currently installed
version (which were previously impossible to display).
This allows users to downgrade a package if a lower version is
available.

528
---
Paul Eggert's avatar
Paul Eggert committed
529 530
*** When filtering the package menu, keywords starting with arc: or
status: represent package archive or status, respectively, instead
531 532
of actual keywords.

533
---
534 535 536 537
*** Most functions which involve downloading information now take an
ASYNC argument.  If it is non-nil, package.el performs the download(s)
asynchronously.

538
---
Paul Eggert's avatar
Paul Eggert committed
539
*** New variable package-menu-async controls whether the
540 541
package-menu uses asynchronous downloads.

542
---
Paul Eggert's avatar
Paul Eggert committed
543
*** package-install-from-buffer and package-install-file work on directories.
544 545 546
This follows the same rules as installing from a .tar file, except the
-pkg file is optional.

547
---
548
*** Packages which are dependencies of other packages cannot be deleted.
Paul Eggert's avatar
Paul Eggert committed
549
The FORCE argument to package-delete overrides this.
550

551
---
Paul Eggert's avatar
Paul Eggert committed
552
*** New custom variable package-selected-packages tracks packages
553
which were installed by the user (as opposed to installed as
554
dependencies).  This variable can also be manually customized.
555

556
---
Paul Eggert's avatar
Paul Eggert committed
557 558
*** New command package-install-selected-packages installs all
packages from package-selected-packages which are currently missing.
559

560
---
Paul Eggert's avatar
Paul Eggert committed
561
*** package-install function now takes a DONT-SELECT argument.  If
562
this function is called interactively or if DONT-SELECT is nil, add the
Paul Eggert's avatar
Paul Eggert committed
563
package being installed to package-selected-packages.
564

565
---
Paul Eggert's avatar
Paul Eggert committed
566
*** New command package-autoremove removes all packages which were
567 568
installed strictly as dependencies but are no longer needed.

569
+++
570 571
** Shell

Paul Eggert's avatar
Paul Eggert committed
572
When you invoke shell interactively, the *shell* buffer will now
573
display in a new window.  However, you can customize this behavior via
Paul Eggert's avatar
Paul Eggert committed
574
the display-buffer-alist variable.  For example, to get
575
the old behavior -- *shell* buffer displays in current window -- use
576 577
(add-to-list 'display-buffer-alist
     '("^\\*shell\\*$" . (display-buffer-same-window))).
578

579
** EIEIO
580
+++
Paul Eggert's avatar
Paul Eggert committed
581
*** The :protection slot option is not obeyed any more.
582
+++
Paul Eggert's avatar
Paul Eggert committed
583 584
*** The newname argument to constructors is optional&deprecated.
If you need your objects to be named, do it by inheriting from eieio-named.
585
+++
586
*** The <class>-list-p and <class>-child-p functions are declared obsolete.
587
+++
588
*** The <class> variables are declared obsolete.
589
+++
590
*** The <initarg> variables are declared obsolete.
Eli Zaretskii's avatar
Eli Zaretskii committed
591
+++
592
*** defgeneric and defmethod are declared obsolete.
Eli Zaretskii's avatar
Eli Zaretskii committed
593
Use the equivalent facilities from cl-generic.el instead.
594
+++
Paul Eggert's avatar
Paul Eggert committed
595 596
*** constructor is now an obsolete alias for make-instance.
--- pcase accepts a new UPattern eieio.
597

598
** ido
Eli Zaretskii's avatar
Eli Zaretskii committed
599 600

+++
Paul Eggert's avatar
Paul Eggert committed
601 602
*** New command ido-bury-buffer-at-head bound to C-S-b
Bury the buffer at the head of ido-matches, analogous to how C-k
603
kills the buffer at head.
Eli Zaretskii's avatar
Eli Zaretskii committed
604 605

---
Paul Eggert's avatar
Paul Eggert committed
606
*** A prefix argument to ido-restrict-to-matches will reverse its
607 608
meaning, and the list is restricted to those elements that do not
match the current input.
609

610 611
** Minibuffer

612 613
+++
*** You can use <UP> and <DOWN> arrow keys to move through history by lines.
Paul Eggert's avatar
Paul Eggert committed
614 615
The new commands next-line-or-history-element and
previous-line-or-history-element, bound to <UP> and <DOWN> in the
616 617
minibuffer, allow by-line movement through minibuffer history,
similarly to an ordinary buffer.  Only when point moves over
618
the bottom/top of the minibuffer it goes to the next/previous history
Paul Eggert's avatar
Paul Eggert committed
619
element.  M-p and M-n still move directly to previous/next history
620
item as before.
621

622 623
** Search and Replace

624
+++
Paul Eggert's avatar
Paul Eggert committed
625
*** isearch and query-replace can now perform character folding in matches.
Eli Zaretskii's avatar
Eli Zaretskii committed
626 627
This is analogous to case folding, but instead of disregarding case
variants, it disregards wider classes of distinctions between similar
628 629 630
characters.  (Case folding is a special case of character folding.)
This means many characters in the search string will match entire
groups of characters instead of just themselves.
631

Eli Zaretskii's avatar
Eli Zaretskii committed
632 633 634 635 636
For instance, the ASCII double quote character " will match all
variants of double quotes (like “ and ”), and the letter a will match
all of its accented cousins, even those composed of multiple
characters, as well as many other symbols like ℀, ℁, ⒜, and ⓐ.

Paul Eggert's avatar
Paul Eggert committed
637 638 639
Character folding is enabled by customizing ‘search-default-mode’ to
the value ‘character-fold-to-regexp’.  You can also toggle character
folding in the middle of a search by typing ‘M-s '’.
Eli Zaretskii's avatar
Eli Zaretskii committed
640

Paul Eggert's avatar
Paul Eggert committed
641 642
‘query-replace’ honors character folding if the new variable
‘replace-character-fold’ is customized to a non-nil value.
643

644
+++
Paul Eggert's avatar
Paul Eggert committed
645
*** New user option ‘search-default-mode’.
646
This option specifies the default mode for Isearch.  The default
Eli Zaretskii's avatar
Eli Zaretskii committed
647
value, nil specifies that Isearch does literal searches (however,
Paul Eggert's avatar
Paul Eggert committed
648
‘case-fold-search’ and ‘isearch-lax-whitespace’ may still be applied,
Eli Zaretskii's avatar
Eli Zaretskii committed
649
as in previous Emacs versions).
650

651
+++
Paul Eggert's avatar
Paul Eggert committed
652
*** New function ‘character-fold-to-regexp’ can be used
653 654 655 656 657 658
by searching commands to produce a regexp matching anything that
character-folds into STRING.

+++
*** The new M-s M-w key binding uses eww to search the web for the
text in the region.  The search engine to use for this is specified by
Paul Eggert's avatar
Paul Eggert committed
659
the customizable variable ‘eww-search-prefix’.
660 661

+++
662 663
*** Query-replace history is enhanced.
When query-replace reads the FROM string from the minibuffer, typing
Paul Eggert's avatar
Paul Eggert committed
664
‘M-p’ will now show previous replacements as ‘FROM SEP TO’, where FROM
665
and TO are the original text and its replacement, and SEP is an arrow
Paul Eggert's avatar
Paul Eggert committed
666 667
string defined by the new variable ‘query-replace-from-to-separator’.
To select a prior replacement, type ‘M-p’ until the desired
668 669
replacement appears in the minibuffer, and then exit the minibuffer by
typing RET.
670

671 672
** Calc
+++
Paul Eggert's avatar
Paul Eggert committed
673
*** If ‘quick-calc’ is called with a prefix argument, insert the
674 675
result of the calculation into the current buffer.

676 677 678 679 680
+++
** In Edebug, you can now set the initial mode with C-x C-a C-m.  With
this you can tell Edebug not to stop at the start of the first
instrumented function.

681
** ElDoc
Eli Zaretskii's avatar
Eli Zaretskii committed
682 683

+++
Paul Eggert's avatar
Paul Eggert committed
684 685
*** New minor mode ‘global-eldoc-mode’
It is turned on by default, and affects ‘*scratch*’ and other buffers
686
whose major mode supports Emacs Lisp.
Eli Zaretskii's avatar
Eli Zaretskii committed
687 688

---
Paul Eggert's avatar
Paul Eggert committed
689
*** ‘eldoc-documentation-function’ now defaults to ‘ignore’
Eli Zaretskii's avatar
Eli Zaretskii committed
690 691

---
Paul Eggert's avatar
Paul Eggert committed
692 693
*** ‘describe-char-eldoc’ displays information about character at point,
and can be used as a default value of ‘eldoc-documentation-function’.  It is
694 695
useful when, for example, one needs to distinguish various spaces (e.g. ] [,
] [, ] [, etc.) while using mono-spaced font.
696

697 698
** eww

699 700 701 702
---
*** HTML can now be rendered using variable-width fonts.

+++
Paul Eggert's avatar
Paul Eggert committed
703
*** A new command ‘F’ (‘eww-toggle-fonts’) can be used to toggle
704
whether to use variable-pitch fonts or not.  The user can also
Paul Eggert's avatar
Paul Eggert committed
705
customize the ‘shr-use-fonts’ variable.
706

707
+++
Paul Eggert's avatar
Paul Eggert committed
708
*** A new command ‘R’ (‘eww-readable’) will try do identify the main
709 710 711
textual parts of a web page and display only that, leaving menus and
the like off the page.

712
+++