NEWS 71.6 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 127 128 129 130 131
---
** The default height of GUI frames was enlarged.
This is so there's enough space in the initial window to display the
optional text about recovering crashes sessions, without losing the
splash image display.

132

Stefan Monnier's avatar
Stefan Monnier committed
133
* Changes in Emacs 25.1
134

135
+++
136
** Xwidgets: a new feature for embedding native widgets inside Emacs buffers.
137
If you have gtk3 and webkitgtk3 installed, and Emacs was built with
Paul Eggert's avatar
Paul Eggert committed
138 139 140 141
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.
142

143
+++
Paul Eggert's avatar
Paul Eggert committed
144 145 146 147 148 149
*** 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'.
150

151
+++
152 153 154
** 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
155 156 157 158
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
159
hosts) of the module files.
Eli Zaretskii's avatar
Eli Zaretskii committed
160

161
A module should export a C-callable function named
Paul Eggert's avatar
Paul Eggert committed
162 163 164
'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
165
released under the GPL or compatible license; Emacs will refuse to
Paul Eggert's avatar
Paul Eggert committed
166
load modules that don't export such a symbol.
167

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

Paul Eggert's avatar
Paul Eggert committed
174
Modules can create 'user-ptr' Lisp objects that embed pointers to C
175
structs defined by the module.  This is useful for keeping around
176
complex data structures created by a module, to be passed back to the
Paul Eggert's avatar
Paul Eggert committed
177 178
module's functions.  User-ptr objects can also have associated
"finalizers" -- functions to be run when the object is GC'ed; this is
179 180
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
181
predicate 'user-ptrp' returns non-nil if its argument is a 'user-ptr'
182 183 184 185
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
186
by default, and must be enabled by using the '--with-modules' option
187 188
at configure time.

189
+++
190 191
** 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
192
the 'network-security-level' variable.
193

Eli Zaretskii's avatar
Eli Zaretskii committed
194
+++
195 196
** C-h l now also lists the commands that were run.

197 198 199
+++
** x-select-enable-clipboard is renamed select-enable-clipboard
and x-select-enable-primary is renamed select-enable-primary.
200 201
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
202
select-enable-primary is ineffective since the system doesn't
203
have the equivalent of a primary selection.
Stefan Monnier's avatar
Stefan Monnier committed
204

205
+++
Paul Eggert's avatar
Paul Eggert committed
206 207
** New option 'switch-to-buffer-in-dedicated-window' allows you to
customize how 'switch-to-buffer' proceeds interactively when the
208
selected window is strongly dedicated to its buffer.
209

Leo Liu's avatar
Leo Liu committed
210
+++
Paul Eggert's avatar
Paul Eggert committed
211 212
** The option 'even-window-heights' has been renamed to
'even-window-sizes' and now handles window widths as well.
213 214 215

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

217
+++
Paul Eggert's avatar
Paul Eggert committed
218
** 'insert-register' now leaves point after the inserted text
219
when called interactively.  A prefix argument toggles this behavior.
220

221
+++
Paul Eggert's avatar
Paul Eggert committed
222 223
** The new variable 'term-file-aliases' replaces some files from lisp/term.
The function 'tty-run-terminal-initialization' consults this variable
224 225
when deciding what terminal-specific initialization code to run.

226
---
Paul Eggert's avatar
Paul Eggert committed
227
** New variable 'system-configuration-features', listing some of the
228 229 230
main features that Emacs was compiled with.  This is mainly intended
for use in Emacs bug reports.

231 232
+++
** A password is now hidden also when typed in batch mode.  Another
Paul Eggert's avatar
Paul Eggert committed
233 234
hiding character but the default '.' can be used by let-binding the
variable 'read-hide-char'.
235

236 237 238
+++
** 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
239 240
cryptographically secure random stream, it now uses that when 'random'
is called with its argument 't'.  This allows cryptographically strong
241 242 243
random values; in particular, the Emacs server now uses this facility
to produce its authentication key.

244
---
Paul Eggert's avatar
Paul Eggert committed
245
** New input methods: 'tamil-dvorak' and 'programmer-dvorak'.
246

247

Stefan Monnier's avatar
Stefan Monnier committed
248
* Editing Changes in Emacs 25.1
249

250 251 252
+++
** M-x suggests shorthands and ignores obsolete commands for completion.

253
** Changes in undo
254

255 256 257
+++
*** 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
258 259
controlled by the new 'undo-auto-amalgamate' function.  See the node
"Undo" in the ELisp manual for more details.
260 261

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

Eli Zaretskii's avatar
Eli Zaretskii committed
267
+++
Paul Eggert's avatar
Paul Eggert committed
268
** New command 'comment-line' bound to 'C-x C-;'.
Eli Zaretskii's avatar
Eli Zaretskii committed
269

Eli Zaretskii's avatar
Eli Zaretskii committed
270
** New and improved facilities for inserting Unicode characters
271

Eli Zaretskii's avatar
Eli Zaretskii committed
272 273 274 275
---
*** Unicode names entered via C-x 8 RET now use substring completion by default.

+++
Paul Eggert's avatar
Paul Eggert committed
276 277 278
*** C-x 8 now has shorthands for several chars, such as U+2010
(HYPHEN), U+2011 (NON-BREAKING HYPHEN), and U+2012 (FIGURE DASH).  As
before, you can type C-x 8 C-h to list shorthands.
279

Eli Zaretskii's avatar
Eli Zaretskii committed
280
+++
Paul Eggert's avatar
Paul Eggert committed
281 282
*** New minor mode electric-quote-mode for using curved quotes as you
type.  See also the new variable 'text-quoting-style'.
Paul Eggert's avatar
Paul Eggert committed
283

Eli Zaretskii's avatar
Eli Zaretskii committed
284
---
285 286
** New minor mode global-eldoc-mode is enabled by default.

Eli Zaretskii's avatar
Eli Zaretskii committed
287
---
Paul Eggert's avatar
Paul Eggert committed
288
** Emacs now uses "bracketed paste mode" on text terminals that support it.
289 290 291 292 293 294 295 296 297 298
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.
299

Eli Zaretskii's avatar
Eli Zaretskii committed
300
+++
Eli Zaretskii's avatar
Eli Zaretskii committed
301 302 303
** 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
304 305 306 307
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
308

309
+++
Paul Eggert's avatar
Paul Eggert committed
310
** You can access 'mouse-buffer-menu' (C-down-mouse-1) using C-f10.
311

Tom Willemse's avatar
Tom Willemse committed
312
+++
Paul Eggert's avatar
Paul Eggert committed
313
** New buffer-local 'electric-pair-local-mode'.
Tom Willemse's avatar
Tom Willemse committed
314

315
+++
Paul Eggert's avatar
Paul Eggert committed
316
** New variable 'fast-but-imprecise-scrolling' inhibits
317 318 319 320
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.

321
+++
Paul Eggert's avatar
Paul Eggert committed
322 323
** New documentation command 'describe-symbol'.
Works for functions, variables, faces, etc.  It is bound to 'C-h o' by
324 325 326
default.

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

331
+++
Paul Eggert's avatar
Paul Eggert committed
332 333 334
** 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.
They'll disappear soon.
335

336

Stefan Monnier's avatar
Stefan Monnier committed
337
* Changes in Specialized Modes and Packages in Emacs 25.1
338

Eli Zaretskii's avatar
Eli Zaretskii committed
339 340 341
** Checkdoc

+++
Paul Eggert's avatar
Paul Eggert committed
342
*** New command 'checkdoc-package-keywords' checks if the
Eli Zaretskii's avatar
Eli Zaretskii committed
343
current package keywords are recognized.  Set the new option
Paul Eggert's avatar
Paul Eggert committed
344 345
'checkdoc-package-keywords-flag' to non-nil to make
'checkdoc-current-buffer' call this function automatically.
Eli Zaretskii's avatar
Eli Zaretskii committed
346 347

+++
Paul Eggert's avatar
Paul Eggert committed
348 349
*** New function 'checkdoc-file' checks for style errors.
It's meant for use together with 'compile':
Eli Zaretskii's avatar
Eli Zaretskii committed
350 351
emacs -batch --eval "(checkdoc-file \"subr.el\")"

352 353 354 355 356 357 358 359 360 361 362
** 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.

363
+++
Paul Eggert's avatar
Paul Eggert committed
364
** New function 'bookmark-set-no-overwrite' bound to C-x r M.
365
It raises an error if a bookmark of that name already exists,
Paul Eggert's avatar
Paul Eggert committed
366
unlike 'bookmark-set' which silently updates an existing bookmark.
367

368 369 370
** Gnus

+++
Paul Eggert's avatar
Paul Eggert committed
371
*** New user options 'mm-html-inhibit-images' and 'mm-html-blocked-images'
372
now control how mm-* functions fetch and display images in an HTML
Paul Eggert's avatar
Paul Eggert committed
373
message.  Gnus still uses 'gnus-inhibit-images' and 'gnus-blocked-images'
374 375 376 377
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
378 379
*** 'mm-inline-text-html-with-images' has been removed.
Use 'mm-html-inhibit-images' instead.  Note that the value is opposite
380 381
in meaning.

382 383
** IMAP

384
---
Paul Eggert's avatar
Paul Eggert committed
385
*** 'imap-ssl-program' has been removed, and imap.el uses the internal
386 387
GnuTLS encryption functions if possible.

388
** JSON
Eli Zaretskii's avatar
Eli Zaretskii committed
389

390
---
Paul Eggert's avatar
Paul Eggert committed
391
*** 'json-pretty-print' and 'json-pretty-print-buffer' now maintain
392
the ordering of object keys by default.
Eli Zaretskii's avatar
Eli Zaretskii committed
393

394
---
Paul Eggert's avatar
Paul Eggert committed
395 396
*** New commands 'json-pretty-print-ordered' and
'json-pretty-print-buffer-ordered' pretty prints JSON objects with
397
object keys sorted alphabetically.
398

399
** Prettify Symbols mode
Eli Zaretskii's avatar
Eli Zaretskii committed
400

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

409
+++
410
*** Symbols can be unprettified while point is inside them.
Paul Eggert's avatar
Paul Eggert committed
411
New variable 'prettify-symbols-unprettify-at-point' configures this.
412

413 414
** Enhanced xterm support

415
---
Paul Eggert's avatar
Paul Eggert committed
416
*** The new variable 'xterm-screen-extra-capabilities' for configuring xterm.
417 418 419 420 421
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.)
422

423 424 425
---
*** 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
426
if your xterm supports it and enables the 'allowWindowOps' options (disabled
427 428 429 430
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
431
additionally need to add 'getSelection' to 'xterm-extra-capabilities'.
432 433

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

436
---
Paul Eggert's avatar
Paul Eggert committed
437
** The way to turn on and off 'save-place' mode has changed.
438
It is no longer sufficient to load the saveplace library and set
Paul Eggert's avatar
Paul Eggert committed
439 440 441 442 443 444
'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.
445

446 447
** ERC

448 449
+++
*** ERC can now hide message types by network or channel.
Paul Eggert's avatar
Paul Eggert committed
450 451
'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
452
specified message types for the respective specified targets.
453

454 455 456
---
*** Reconnection is now asynchronous.

457
---
Paul Eggert's avatar
Paul Eggert committed
458
*** Nick completion is now case-insensitive again after inadvertently
459 460
being made case-sensitive in Emacs 24.2.

461 462 463 464 465
** MPC

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

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

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

Paul Eggert's avatar
Paul Eggert committed
470
**** 'g' bound to new command 'mpc-seek-current' will navigate current
471 472
     track.

Paul Eggert's avatar
Paul Eggert committed
473
**** New commands 'mpc-toggle-{consume,repeat,single,shuffle}' for
474 475 476 477 478 479 480 481 482 483 484 485 486 487
     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.

488
** Midnight-mode
Eli Zaretskii's avatar
Eli Zaretskii committed
489

490
---
Paul Eggert's avatar
Paul Eggert committed
491
*** 'midnight-mode' is now a proper minor mode.
Eli Zaretskii's avatar
Eli Zaretskii committed
492

493
---
494 495
*** clean-buffer-*-regexps can now specify buffers via predicate functions.

496
** package.el
497

498
+++
Paul Eggert's avatar
Paul Eggert committed
499 500 501 502
*** New "external" package status.
An external package is any installed package that's not built-in and
not from 'package-user-dir', which usually means it's from an entry in
'package-directory-list'.  They are treated much like built-in
503
packages, in that they cannot be deleted through the package menu and
504 505
are not considered for upgrades.

506
The effect is that a user can manually place a specific version of a
Paul Eggert's avatar
Paul Eggert committed
507
package inside 'package-directory-list' and the package menu will
508 509
always respect that.

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

515
+++
Paul Eggert's avatar
Paul Eggert committed
516
*** 'package-menu-toggle-hiding' now toggles the hiding of packages.
517 518 519 520 521 522
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.

523
---
Paul Eggert's avatar
Paul Eggert committed
524 525
*** When filtering the package menu, keywords starting with "arc:" or
"status:" represent package archive or status, respectively, instead
526 527
of actual keywords.

528
---
529 530 531 532
*** Most functions which involve downloading information now take an
ASYNC argument.  If it is non-nil, package.el performs the download(s)
asynchronously.

533
---
Paul Eggert's avatar
Paul Eggert committed
534
*** New variable 'package-menu-async' controls whether the
535 536
package-menu uses asynchronous downloads.

537
---
Paul Eggert's avatar
Paul Eggert committed
538
*** 'package-install-from-buffer' and 'package-install-file' work on directories.
539 540 541
This follows the same rules as installing from a .tar file, except the
-pkg file is optional.

542
---
543
*** Packages which are dependencies of other packages cannot be deleted.
Paul Eggert's avatar
Paul Eggert committed
544
The FORCE argument to 'package-delete' overrides this.
545

546
---
Paul Eggert's avatar
Paul Eggert committed
547
*** New custom variable 'package-selected-packages' tracks packages
548
which were installed by the user (as opposed to installed as
549
dependencies).  This variable can also be manually customized.
550

551
---
Paul Eggert's avatar
Paul Eggert committed
552 553
*** New command 'package-install-selected-packages' installs all
packages from 'package-selected-packages' which are currently missing.
554

555
---
Paul Eggert's avatar
Paul Eggert committed
556
*** 'package-install' function now takes a DONT-SELECT argument.  If
557
this function is called interactively or if DONT-SELECT is nil, add the
Paul Eggert's avatar
Paul Eggert committed
558
package being installed to 'package-selected-packages'.
559

560
---
Paul Eggert's avatar
Paul Eggert committed
561
*** New command 'package-autoremove' removes all packages which were
562 563
installed strictly as dependencies but are no longer needed.

564
+++
565 566
** Shell

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

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

593
** ido
Eli Zaretskii's avatar
Eli Zaretskii committed
594 595

+++
Paul Eggert's avatar
Paul Eggert committed
596 597
*** 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
598
kills the buffer at head.
Eli Zaretskii's avatar
Eli Zaretskii committed
599 600

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

605 606
** Minibuffer

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

617 618
** Search and Replace

619
+++
Paul Eggert's avatar
Paul Eggert committed
620
*** 'isearch' and 'query-replace' can now perform character folding in matches.
Eli Zaretskii's avatar
Eli Zaretskii committed
621 622
This is analogous to case folding, but instead of disregarding case
variants, it disregards wider classes of distinctions between similar
623 624 625
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.
626

Eli Zaretskii's avatar
Eli Zaretskii committed
627
For instance, the ASCII double quote character " will match all
Paul Eggert's avatar
Paul Eggert committed
628 629 630 631
variants of double quotes, and the letter 'a' will match all of its
accented cousins, even those composed of multiple characters, as well
as many other symbols like U+249C (PARENTHESIZED LATIN SMALL LETTER
A).
Eli Zaretskii's avatar
Eli Zaretskii committed
632

Paul Eggert's avatar
Paul Eggert committed
633 634 635
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
636

Paul Eggert's avatar
Paul Eggert committed
637 638
'query-replace' honors character folding if the new variable
'replace-character-fold' is customized to a non-nil value.
639

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

647
+++
Paul Eggert's avatar
Paul Eggert committed
648
*** New function 'character-fold-to-regexp' can be used
649 650 651 652 653 654
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
655
the customizable variable 'eww-search-prefix'.
656 657

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

667 668
** Calc
+++
Paul Eggert's avatar
Paul Eggert committed
669
*** If 'quick-calc' is called with a prefix argument, insert the
670 671
result of the calculation into the current buffer.

672 673 674 675 676
+++
** 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.

677
** ElDoc
Eli Zaretskii's avatar
Eli Zaretskii committed
678 679

+++
Paul Eggert's avatar
Paul Eggert committed
680 681
*** New minor mode 'global-eldoc-mode'
It is turned on by default, and affects '*scratch*' and other buffers
682
whose major mode supports Emacs Lisp.
Eli Zaretskii's avatar
Eli Zaretskii committed
683 684

---
Paul Eggert's avatar
Paul Eggert committed
685
*** 'eldoc-documentation-function' now defaults to 'ignore'
Eli Zaretskii's avatar
Eli Zaretskii committed
686 687

---
Paul Eggert's avatar
Paul Eggert committed
688 689 690 691 692
*** 'describe-char-eldoc' displays information about character at point,
and can be used as a default value of 'eldoc-documentation-function'.  It is
useful when, for example, one needs to distinguish various spaces - e.g.,
U+00A0 (NO-BREAK SPACE), U+2002 (EN SPACE), and U+2009 (THIN SPACE) - while
using mono-spaced font.
693

694 695
** eww

696 697 698 699
---
*** HTML can now be rendered using variable-width fonts.

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

704
+++
Paul Eggert's avatar
Paul Eggert committed
705
*** A new command 'R' ('eww-readable') will try do identify the main