]> code.delx.au - gnu-emacs/blob - etc/NEWS
; * etc/NEWS: Document `search-default-regexp-mode'
[gnu-emacs] / etc / NEWS
1 GNU Emacs NEWS -- history of user-visible changes.
2
3 Copyright (C) 2014-2015 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
5
6 Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
7 If possible, use M-x report-emacs-bug.
8
9 This file is about changes in Emacs version 25.
10
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
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
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,
23 otherwise leave it unmarked.
24
25 \f
26 * Installation Changes in Emacs 25.1
27
28 +++
29 ** Building Emacs now requires C99 or later.
30
31 ** Building Emacs now requires GNU make, version 3.81 or later.
32
33 ** New configure option --with-cairo.
34 Maybe add text based on http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00689.html
35
36 ** By default, Emacs no longer works on IRIX. We expect that Emacs
37 users are not affected by this, as SGI stopped supporting IRIX in
38 December 2013. If you are affected, please send a bug report. You
39 should be able to work around the problem either by porting the Emacs
40 undumping code to GCC under IRIX, or by configuring --with-wide-int,
41 or by sticking with Emacs 24.4.
42
43 ** The Emacs garbage collector assumes GC_MARK_STACK == GC_MAKE_GCPROS_NOOPS.
44 The GC_MAKE_GCPROS_NOOPS stack-marking variant has been the default
45 since Emacs 24.4, and the other variants were undocumented and were
46 obstacles to maintenance and development. GC_MARK_STACK and its
47 related symbols have been removed from the C internals.
48
49 ** 'configure' now prefers gnustep-config when configuring GNUstep.
50 If gnustep-config is not available, the old heuristics are used.
51
52 ---
53 ** 'configure' now prefers inotify to gfile for file notification,
54 unless gfile is explicitly requested via --with-file-notification='gfile'.
55
56 ---
57 ** The configure option '--with-pkg-config-prog' has been removed.
58 Use './configure PKG_CONFIG=/full/name/of/pkg-config' if you need to.
59
60 ---
61 ** The configure option '--with-mmdf' has been removed.
62 It was no longer useful, as it relied on libraries that are no longer
63 supported, and its presence led to confusion during configuration.
64 This affects only the 'movemail' utility; Emacs itself can still
65 process MMDF-format files as before.
66
67 ** The configure option '--enable-silent-rules' is now the default,
68 and silent rules are now quieter. To get the old behavior where
69 'make' chatters a lot, configure with '--disable-silent-rules' or
70 build with 'make V=1'.
71
72 ---
73 ** The configure option '--with-gameuser' now allows to specify a
74 group instead of a user if its argument is prefixed by ':' (a colon).
75 This will cause the game score files in ${localstatedir}/games/emacs
76 to be owned by that group, and the helper program for updating them to
77 be installed setgid. The option now defaults to the 'games' group.
78
79 ---
80 ** The `grep-changelog' script (and its manual page) are no longer included.
81 It has no particular connection to Emacs and has not changed in years,
82 so if you want to use it, you can always take a copy from an older Emacs.
83
84 ** Emacs 25 comes with a new set of icons.
85 Various resolutions are available as etc/images/icons/hicolor/*/apps/emacs.png.
86 The old Emacs logo icons are available as `emacs23.png' in the same location.
87
88 \f
89 * Startup Changes in Emacs 25.1
90
91 +++
92 ** When Emacs is given a file as a command line argument and
93 `initial-buffer-choice' is non-nil, display both the file and
94 `initial-buffer-choice'. When Emacs is given more than one file and
95 `initial-buffer-choice' is non-nil, show `initial-buffer-choice'
96 and *Buffer List*. This makes Emacs convenient to use from the
97 command line when `initial-buffer-choice' is non-nil.
98
99 +++
100 ** The value of ‘initial-scratch-message’ is now treated as a doc string
101 and can contain escape sequences for command keys, quotes, and the like.
102
103 \f
104 * Changes in Emacs 25.1
105
106 ** `xref-find-definitions' and `describe-function' now display
107 information about mode local overrides (defined by
108 cedet/mode-local.el `define-overloadable-function' and
109 `define-mode-local-overrides').
110
111 ** New `display-buffer' action function `display-buffer-use-some-frame'
112 This displays the buffer in an existing frame other than the current
113 frame, and allows the caller to specify a frame predicate to exclude
114 frames.
115
116 ** New doc command `describe-symbol'. Works for functions, vars, faces, etc...
117
118 ** New user option `search-default-regexp-mode' specifies the default mode for isearch
119
120 ** `isearch' and `query-replace' now perform character folding in matches.
121 This is analogous to case-folding, but applies between Unicode
122 characters and their ASCII counterparts. This means many characters
123 will match entire groups of characters.
124
125 For instance, the " will match all variants of unicode double quotes
126 (like “ and ”), and the letter a will match all of its accented
127 cousins, even those composed of multiple characters, as well as many
128 other symbols like ℀, ℁, ⒜, and ⓐ.
129
130 ** New function `character-fold-to-regexp' can be used
131 by searching commands to produce a regexp matching anything that
132 character-folds into STRING.
133
134 ** New command `checkdoc-package-keywords' checks if the
135 current package keywords are recognized. Set the new option
136 `checkdoc-package-keywords-flag' to non-nil to make
137 `checkdoc-current-buffer' call this function automatically.
138
139 ** New function `checkdoc-file' checks for style errors.
140 It's meant for use together with `compile':
141 emacs -batch --eval "(checkdoc-file \"subr.el\")"
142
143 ** New command `comment-line' bound to `C-x C-;'.
144
145 ** New function `custom-prompt-customize-unsaved-options' checks for
146 unsaved customizations and prompts user to customize (if found).
147
148 +++
149 ** Network security (TLS/SSL certificate validity and the like) is
150 added via the new Network Security Manager (NSM) and controlled via
151 the `network-security-level' variable.
152
153 ** C-h l now also lists the commands that were run.
154
155 ---
156 ** The new M-s M-w key binding uses eww to search the web for the
157 text in the region.
158
159 ** M-x suggests shorthands and ignores obsolete commands for completion.
160 ** x-select-enable-clipboard is renamed select-enable-clipboard.
161 x-select-enable-primary and renamed select-enable-primary.
162 Additionally they both now apply to all systems (OSX, GNUstep, Windows, you
163 name it), with the proviso that on some systems (e.g. Windows)
164 select-enable-primary is ineffective since the system doesn't
165 have the equivalent of a primary selection.
166
167 +++
168 ** terpri gets an optional arg ENSURE to conditionally output a newline.
169
170 +++
171 ** New macro `define-advice'.
172
173 ** `insert-register' now leaves point after the inserted text
174 when called interactively. A prefix argument toggles this behavior.
175
176 ** New var `truncate-string-ellipsis' to choose how to indicate truncation.
177
178 +++
179 ** The new variable `term-file-aliases' replaces some files from lisp/term.
180 The function `tty-run-terminal-initialization' consults this variable
181 when deciding what terminal-specific initialization code to run.
182
183 ---
184 ** New variable `system-configuration-features', listing some of the
185 main features that Emacs was compiled with. This is mainly intended
186 for use in Emacs bug reports.
187
188 +++
189 ** A password is now hidden also when typed in batch mode. Another
190 hiding character but the default `.' can be used by let-binding the
191 variable `read-hide-char'.
192
193 ** The new functions `string-collate-lessp' and `string-collate-equalp'
194 preserve the collation order as defined by the system's locale(1)
195 environment. For the time being this is implemented for modern POSIX
196 systems and for MS-Windows, for other systems they fall back to their
197 counterparts `string-lessp' and `string-equal'.
198
199 *** The ls-lisp package uses `string-collate-lessp' to sort file names.
200 If you want the old, locale-independent sorting, customize the new
201 option `ls-lisp-use-string-collate' to a nil value.
202
203 *** The MS-Windows specific variable `w32-collate-ignore-punctuation',
204 if set to a non-nil value, causes the above 2 functions to ignore
205 symbol and punctuation characters when collating strings. This
206 emulates the behavior of modern Posix platforms when the locale's
207 codeset is "UTF-8" (as in "en_US.UTF-8"). This is needed because
208 MS-Windows doesn't support UTF-8 as codeset in its locales.
209
210 +++
211 ** The new function `bidi-find-overridden-directionality' allows to
212 find characters whose directionality was, perhaps maliciously,
213 overridden by directional override control characters. Lisp programs
214 can use this to detect potential phishing of URLs and other links that
215 exploits bidirectional display reordering.
216
217 +++
218 ** The new function `buffer-substring-with-bidi-context' allows to
219 copy a portion of a buffer into a different location while preserving
220 the visual appearance both of the copied text and the text at
221 destination, even when the copied text includes mixed bidirectional
222 text and directional control characters.
223
224 ** New variable `ns-use-fullscreen-animation' controls animation for
225 non-native NS fullscreen. The default is nil. Set to t to enable
226 animation when entering and leaving fullscreen. For native OSX fullscreen
227 this has no effect.
228
229 ** A new text property `inhibit-read-only' can be used in read-only
230 buffers to allow certain parts of the text to be writable.
231
232 ** A new function `directory-files-recursively' returns all matching
233 files (recursively) under a directory.
234
235 ** The new function `directory-name-p' can be used to check whether a file
236 name (as returned from, for instance, `file-name-all-completions' is
237 a directory file name. It returns non-nil if the last character in
238 the name is a forward slash.
239
240 +++
241 ** New variable `fast-but-imprecise-scrolling' inhibits
242 fontification during full screen scrolling operations, giving less
243 hesitant operation during auto-repeat of C-v, M-v at the cost of
244 possible inaccuracies in the end position.
245
246 ** The function `font-info' now returns more details about a font.
247 In particular, it now returns the average width of the font's
248 characters, which can be used for geometry-related calculations.
249
250 ** A new function `default-font-width' returns the average width of a
251 character in the current buffer's default font. If the default face
252 is remapped (see `face-remapping-alist'), the value for the remapped
253 face is returned. This function complements the existing function
254 `default-font-height'.
255
256 ** New functions `window-font-height' and `window-font-width' return
257 the height and average width of characters in a specified face and
258 window. If FACE is remapped (see `face-remapping-alist'), the
259 function returns the information for the remapped face.
260
261 ** A new function `window-max-chars-per-line' returns the maximal
262 number of characters that can be displayed on one line. If a face
263 and/or window are provided, these values are used for the
264 calculation. This function is different from `window-body-width' in
265 that it accounts for (i) continuation glyphs, (ii) the size of the
266 font, and (iii) the specified window.
267
268 ** New possible value for `system-type': nacl.
269
270 +++
271 ** New variable `inhibit-message', when bound to non-nil, inhibits
272 `message' and related functions from displaying messages the Echo
273 Area. The output is still logged to the *Messages* buffer.
274
275 +++
276 ** It is now safe for a mode that derives `tabulated-list-mode' to not
277 call `tabulated-list-init-header', in which case it will have no
278 header.
279
280 +++
281 ** `tabulated-list-print' takes a second optional argument, update,
282 which specifies an alternative printing method which is faster when
283 few or no entries have changed.
284
285 \f
286 * Editing Changes in Emacs 25.1
287
288 ** Successive single-char deletions are collapsed in the undo-log just like
289 successive char insertions.
290
291 ** Unicode names entered via C-x 8 RET now use substring completion by default.
292
293 ** C-x 8 now has shorthands for these chars: ‐ ‑ ‒ – — ― ‘ ’ “ ” † ‡ • ′ ″
294 € № ← → ↔ − ≈ ≠ ≤ ≥. As before, you can type C-x 8 C-h to list shorthands.
295
296 ** New minor mode electric-quote-mode for quoting ‘like this’ and “like this”
297 as you type. See also the new variable ‘text-quoting-style’.
298
299 ** New minor mode global-eldoc-mode is enabled by default.
300
301 ** Emacs now supports "bracketed paste mode" when running on a terminal
302 that supports it. This facility allows Emacs to understand pasted
303 chunks of text as strings to be inserted, instead of interpreting each
304 character in the pasted text as actual user input. This results in a
305 paste experience similar to that under a window system, and significant
306 performance improvements when pasting large amounts of text.
307
308 ** Emacs now supports the latest version of the UBA.
309 The Emacs implementation of the Unicode Bidirectional Algorithm (UBA)
310 was updated to support all the latest additions and changes introduced
311 in Unicode Standard versions 6.3, 7.0, and the latest Unicode 8.0.
312 This includes full support for directional isolates and the
313 Bidirectional Parentheses Algorithm (BPA) specified by these Unicode
314 standards.
315
316 ** You can access `mouse-buffer-menu' (C-down-mouse-1) using C-f10.
317
318 +++
319 ** New buffer-local `electric-pair-local-mode'.
320
321 \f
322 * Changes in Specialized Modes and Packages in Emacs 25.1
323
324 ** JSON
325 ---
326 *** `json-pretty-print' and `json-pretty-print-buffer' now maintain
327 the ordering of object keys by default.
328
329 ** You can recompute the VC state of a file buffer with `M-x vc-refresh-state'
330 ** Prog mode has some support for multi-mode indentation.
331 See `prog-indentation-context' and `prog-widen'.
332
333 ** Prettify Symbols mode
334 *** Prettify Symbols mode supports custom composition predicates. By
335 overriding the default `prettify-symbols-compose-predicate', modes can
336 specify in which contexts a symbol map be composed to some unicode
337 character. `prettify-symbols-default-compose-p' is the default which
338 is suitable for most programming languages such as C or Lisp (but not
339 (La)TeX).
340
341 *** Symbols can be unprettified while point is inside them.
342 New variable `prettify-symbols-unprettify-at-point' configures this.
343
344 ** New `xterm-screen-extra-capabilities' config.
345
346 ** The `save-place' variable is replaced by a `save-place-mode'.
347
348 ** ERC
349
350 *** Hide message types by network or channel. `erc-hide-list' will
351 hide all messages of the specified type, where `erc-network-hide-list'
352 and `erc-channel-hide-list' will only hide the specified message types
353 for the respective specified targets.
354
355 ** Midnight-mode
356 *** `midnight-mode' is a proper minor mode.
357 *** clean-buffer-*-regexps can now specify buffers via predicate functions.
358
359 ** In xterms, killing text now also sets the CLIPBOARD/PRIMARY selection
360 in the surrounding GUI (using the OSC-52 escape sequence). This only works
361 if your xterm supports it and enables the `allowWindowOps' options (disabled
362 by default at least in Debian, for security reasons).
363
364 Similarly, you can yank the CLIPBOARD/PRIMARY selection (using the OSC-52
365 escape sequence) if your xterm has the feature enabled but for that you
366 additionally need to add `getSelection' to `xterm-extra-capabilities'.
367
368 ** xterm-mouse-mode now supports mouse-tracking (if your xterm supports it).
369
370 ** package.el
371
372 *** New "external" package status.
373 An external package is any installed package that's not built-in and
374 not from `package-user-dir', which usually means it's from an entry in
375 `package-directory-list'. They are treated much like built-in
376 packages, in that they cannot be deleted through the package menu and
377 are not considered for upgrades.
378
379 The effect, is that a user can manually place a specific version of a
380 package inside `package-directory-list' and the package menu will
381 always respect that.
382
383 *** If a package is available on multiple archives and one has higher
384 priority (as per `package-archive-priorities') only that one is
385 listed. This can be configured with `package-menu-hide-low-priority'.
386
387 *** `package-menu-toggle-hiding' now toggles the hiding of packages.
388 This includes the above-mentioned low-priority packages, as well as
389 available packages whose version is lower than the currently installed
390 version (which were previously impossible to display).
391 This allows users to downgrade a package if a lower version is
392 available.
393
394 *** When filtering the package menu, keywords starting with "arc:" or
395 "status:" represent package archive or status, respectively, instead
396 of actual keywords.
397
398 *** Most functions which involve downloading information now take an
399 ASYNC argument. If it is non-nil, package.el performs the download(s)
400 asynchronously.
401
402 *** New variable `package-menu-async' controls whether the
403 package-menu uses asynchronous downloads.
404
405 *** `package-install-from-buffer' and `package-install-file' work on directories.
406 This follows the same rules as installing from a .tar file, except the
407 -pkg file is optional.
408
409 *** Packages which are dependencies of other packages cannot be deleted.
410 The FORCE argument to `package-delete' overrides this.
411
412 *** New custom variable `package-selected-packages' tracks packages
413 which were installed by the user (as opposed to installed as
414 dependencies). This variable can also be manually customized.
415
416 *** New command `package-install-user-selected-packages' installs all
417 packages from `package-selected-packages' which are currently missing.
418
419 *** New command `package-autoremove' removes all packages which were
420 installed strictly as dependencies but are no longer needed.
421
422 ** Shell
423
424 When you invoke `shell' interactively, the *shell* buffer will now
425 display in a new window. However, you can customize this behavior via
426 the `display-buffer-alist' variable. For example, to get
427 the old behavior -- *shell* buffer displays in current window -- use
428 (add-to-list 'display-buffer-alist
429 '("^\\*shell\\*$" . (display-buffer-same-window))).
430
431 ** EIEIO
432 +++
433 *** The `:protection' slot option is not obeyed any more.
434 +++
435 *** The `newname' argument to constructors is optional&deprecated.
436 If you need your objects to be named, do it by inheriting from `eieio-named'.
437 +++
438 *** The <class>-list-p and <class>-child-p functions are declared obsolete.
439 +++
440 *** The <class> variables are declared obsolete.
441 +++
442 *** The <initarg> variables are declared obsolete.
443 *** defgeneric and defmethod are declared obsolete.
444 +++
445 *** `constructor' is now an obsolete alias for `make-instance'.
446
447 ** ido
448 *** New command `ido-bury-buffer-at-head' bound to C-S-b
449 Bury the buffer at the head of `ido-matches', analogous to how C-k
450 kills the buffer at head.
451 *** A prefix argument to `ido-restrict-to-matches' will reverse its
452 meaning, and the list is restricted to those elements that do not
453 match the current input.
454
455 ** Minibuffer
456
457 *** You can use <up> and <down> keys to move point in the multi-line
458 minibuffer just as in an ordinary buffer. Only when point moves over
459 the bottom/top of the minibuffer it goes to the next/previous history
460 element. The new commands bound to <up> and <down> in the minibuffer:
461 `next-line-or-history-element' and `previous-line-or-history-element'.
462
463 ** Search and Replace
464
465 *** Query-replace history is enhanced.
466 When query-replace reads the FROM string from the minibuffer, typing
467 `M-p' will now show previous replacements as "FROM SEP TO", where FROM
468 and TO are the original text and its replacement, and SEP is an arrow
469 string defined by the new variable `query-replace-from-to-separator'.
470 To select a prior replacement, type `M-p' until the desired
471 replacement appears in the minibuffer, and then exit the minibuffer by
472 typing RET.
473
474 ** Calc
475 +++
476 *** If `quick-calc' is called with a prefix argument, insert the
477 result of the calculation into the current buffer.
478
479 +++
480 ** In Edebug, you can now set the initial mode with C-x C-a C-m. With
481 this you can tell Edebug not to stop at the start of the first
482 instrumented function.
483
484 ** ElDoc
485 *** New minor mode `global-eldoc-mode'
486 *** `eldoc-documentation-function' now defaults to `ignore'
487 *** `describe-char-eldoc' displays information about character at point,
488 and can be used as a default value of `eldoc-documentation-function'. It is
489 useful when, for example, one needs to distinguish various spaces (e.g. ] [,
490 ] [, ] [, etc.) while using mono-spaced font.
491
492 ** eww
493
494 ---
495 *** HTML can now be rendered using variable-width fonts.
496
497 +++
498 *** A new command `F' (`eww-toggle-fonts') can be used to toggle
499 whether to use variable-pitch fonts or not. The user can also
500 customize the `shr-use-fonts' variable.
501
502 +++
503 *** A new command `R' (`eww-readable') will try do identify the main
504 textual parts of a web page and display only that, leaving menus and
505 the like off the page.
506
507 ---
508 *** You can now use several eww buffers in parallel by renaming eww
509 buffers you want to keep separate.
510
511 +++
512 *** Partial state of the eww buffers (the URIs and the titles of the
513 pages visited) is now preserved in the desktop file.
514
515 +++
516 *** `eww-after-render-hook' is now called after eww has rendered
517 the data in the buffer.
518
519 ---
520 *** The `eww-reload' command now takes a prefix to not reload via
521 the net, but just use the local copy of the HTML.
522
523 +++
524 *** The DOM shr and eww uses has been changed to the general Emacs
525 xml.el/libxml2 DOM, and a new package dom.el has been added to
526 interact with this DOM. See the Emacs Lisp manual for interface
527 details.
528
529 +++
530 *** `mailcap-mime-data' is now consulted when displaying PDF files.
531
532 +++
533 *** The new `S' command will list all eww buffers, and allow managing
534 them.
535
536 ---
537 *** https pages with valid certificates have headers marked in green, while
538 invalid certificates are marked in red.
539
540 ** Message mode
541
542 *** text/html messages that contain inline image parts will be
543 transformed into multipart/related messages before sending.
544
545 ** pcase
546 *** New UPatterns `quote', `app', `cl-struct', and `eieio'.
547 *** New UPatterns can be defined with `pcase-defmacro'.
548 +++
549 *** New vector QPattern.
550
551 ** Lisp mode
552 *** Strings after `:documentation' are highlighted as docstrings.
553
554 ** Rectangle editing
555 *** Rectangle Mark mode can have corners past EOL or in the middle of a TAB.
556 *** C-x C-x in rectangle-mark-mode now cycles through the four corners.
557 *** `string-rectangle' provides on-the-fly preview of the result.
558
559 ** New font-lock functions font-lock-ensure and font-lock-flush, which
560 should be used instead of font-lock-fontify-buffer when called from Elisp.
561
562 ** Macro `minibuffer-with-setup-hook' takes (:append FUN) to mean
563 appending FUN to `minibuffer-setup-hook'.
564
565 ** cl-lib
566 *** New functions cl-fresh-line, cl-digit-char-p and cl-parse-integer.
567
568 ** Calendar and diary
569
570 +++
571 *** The default `diary-file' is now located in .emacs.d.
572
573 +++
574 *** New commands to insert diary entries with Chinese dates:
575 `diary-chinese-insert-anniversary-entry' `diary-chinese-insert-entry'
576 `diary-chinese-insert-monthly-entry', `diary-chinese-insert-yearly-entry'.
577
578 +++
579 *** The calendar can now list and mark diary entries with Chinese dates.
580 See `diary-chinese-list-entries' and `diary-chinese-mark-entries'.
581
582 ---
583 *** The option `calendar-mode-line-format' can now be nil,
584 which means to do nothing special with the mode line in calendars.
585
586 +++
587 *** New option `calendar-weekend-days'.
588 The option customizes which day headers receive the
589 `calendar-weekend-header' face.
590
591 ---
592 *** New optional args N and STRING for ‘holiday-greek-orthodox-easter’.
593
594 ---
595 *** Many items obsolete since at least version 23.1 have been removed.
596 The majority were function/variable/face aliases, too numerous to list here.
597 The remainder were:
598
599 **** Functions `calendar-one-frame-setup', `calendar-only-one-frame-setup',
600 `calendar-two-frame-setup', `european-calendar', `american-calendar'.
601
602 **** Hooks `cal-menu-load-hook', `cal-x-load-hook'.
603
604 **** Macro `calendar-for-loop'.
605
606 **** Variables `european-calendar-style', `diary-face', `hebrew-holidays-{1,4}'.
607
608 **** The nil and list forms of `diary-display-function'.
609
610 ** New ERT function `ert-summarize-tests-batch-and-exit'.
611
612 ** New js.el option `js-indent-first-init'.
613
614 ---
615 ** `Info-fontify-maximum-menu-size' can be t for no limit.
616
617 +++
618 ** `info-display-manual' can now be given a prefix argument which (any
619 non-nil value) directs the command to limit the completion
620 alternatives to currently visited manuals.
621
622 ---
623 ** ntlm.el has support for NTLM2.
624
625 ** Rmail
626
627 *** The Rmail commands d, C-d and u take optional repeat counts to delete or
628 undelete multiple messages.
629
630 *** Rmail can now render HTML mail messages if your Emacs was built with
631 libxml2 or if you have the Lynx browser installed. By default, Rmail
632 will display the HTML version of a mail message that has both HTML and
633 plain text parts, if display of HTML email is possible; customize the
634 `rmail-mime-prefer-html' option to `nil' if you don't want that.
635
636 +++
637 *** In the commands that make summaries by subject, recipients, or senders,
638 you can no longer use commas to separate regular expressions.
639
640 ** SES now supports local printer functions; see `ses-define-local-printer'.
641
642 ** sh-script
643 *** In sh-mode you can now use `sh-shell' as a file-local variable to
644 specify the type of shell in use (bash, csh, etc).
645
646 *** New value `always' for sh-indent-after-continuation.
647 This provides old-style ("dumb") indentation of continued lines.
648
649 ** TLS
650 ---
651 *** Fatal TLS errors are now silent by default.
652
653 ** URL
654
655 *** The URL package accepts now the protocols "ssh", "scp" and "rsync".
656 When `url-handler-mode' is enabled, file operations for these
657 protocols as well as for "telnet" and "ftp" are passed to Tramp.
658
659 *** The URL package allows customizing the `url-user-agent' string.
660 The new `url-user-agent' variable can be customized to be a string or
661 a function.
662
663 *** The new interface variable `url-request-noninteractive' can be used
664 to specify that we're running in a noninteractive context, and that
665 we should not be queried about things like TLS certificate validity.
666
667 *** If URL is used with a https connection, the first callback argument
668 plist will contain a :peer element that has the output of
669 `gnutls-peer-status' (if Emacs is built with GnuTLS support).
670
671 ** Tramp
672
673 +++
674 *** New connection method "nc", which allows to access dumb busyboxes.
675
676 +++
677 *** Method-specific parameters can be overwritten now with variable
678 `tramp-connection-properties'.
679
680 ---
681 *** Handler for `file-notify-valid-p' for remote machines that support
682 filesystem notifications.
683
684 ** SQL mode
685
686 *** New user variable `sql-default-directory' enables remote
687 connections using Tramp.
688
689 *** New command `sql-send-line-and-next' sends the current line to the
690 interactive buffer and advances to the next line, skipping whitespace
691 and comments.
692
693 *** Add support for Vertica SQL.
694
695 ** VC and related modes
696
697 *** Basic push support, via `vc-push', bound to `C-x v P'.
698 Implemented for Bzr, Git, Hg. As part of this change, the pre-existing
699 (undocumented) command vc-hg-push now behaves slightly differently.
700
701 *** The new command vc-region-history shows the log+diff of the active region.
702
703 *** New option `vc-annotate-background-mode' controls whether
704 the color range from `vc-annotate-color-map' is applied to the
705 background or to the foreground.
706
707 *** `compare-windows' now compares text with the most recently used window
708 instead of the next window. The new option `compare-windows-get-window-function'
709 allows to customize this.
710
711 *** Two new faces `compare-windows-removed' and `compare-windows-added'
712 replace the obsolete face `compare-windows'.
713
714 ---
715 *** `log-edit-insert-changelog' converts "(tiny change)" to
716 "Copyright-paperwork-exempt: yes". Set `log-edit-rewrite-tiny-change'
717 nil to disable this.
718
719 ** VHDL mode supports VHDL'08.
720
721 ** Calculator: decimal display mode uses "," groups, so it's more
722 fitting for use in money calculations; factorial works with
723 non-integer inputs.
724
725 ** HideIfDef mode now support full C/C++ expressions, argumented macro expansions,
726 interactive macro evaluation and automatic scanning of #defined symbols.
727
728 *** New custom variable `hide-ifdef-header-regexp' to define C/C++ header file
729 name patterns. Default case-insensitive .h, .hh, .hpp, .hxx, and .h++.
730 *** New custom variable `hide-ifdef-expand-reinclusion-protection' to prevent
731 reinclusion protected header files from being fully hidden.
732 *** New custom variable `hide-ifdef-exclude-define-regexp' to define symbol
733 name patterns (e.g. all "FOR_DOXYGEN_ONLY_*") to be excluded.
734
735 ** TeX mode
736
737 *** New custom variable `tex-print-file-extension' to help users who
738 use PDF instead of DVI.
739
740 *** TeX mode now supports Prettify Symbols mode. When enabling
741 `prettify-symbols-mode' in a tex-mode buffer, \alpha ... \omega, and
742 many other math macros are displayed using unicode characters.
743
744 ** whitespace-mode: new 'big-indent style highlighting too much indentation.
745 By default, 32 spaces and four TABs are considered to be too much but
746 `whitespace-big-indent-regexp' can be configured to change that.
747
748 ** tildify: `tildify-space-string', `tildify-pattern', and
749 `tildify-foreach-region-function' variables added making
750 `tildify-string-alist', `tildify-pattern-alist', and
751 `tildify-ignored-environments-alist' variables (as well as a few
752 helper functions) obsolete.
753
754 ** xref
755 The new package provides generic framework and new commands to find
756 and move to definitions, as well as pop back to the original location.
757
758 *** New key bindings
759 `xref-find-definitions' replaces `find-tag' and provides an interface
760 to pick one destination among several. Hence, `tags-loop-continue' is
761 unbound. `xref-pop-marker-stack' replaces `pop-tag-mark', but uses an
762 easier binding, which is now unoccupied (`M-,').
763 `xref-find-definitions-other-window' replaces `find-tag-other-window'.
764 `xref-find-definitions-other-frame' replaces `find-tag-other-frame'.
765 `xref-find-apropos' replaces `find-tag-regexp'.
766
767 *** New variables
768 `find-tag-marker-ring-length' is now an obsolete alias for
769 `xref-marker-ring-length'. `find-tag-marker-ring' is now an obsolete
770 alias for a private variable. `xref-push-marker-stack' and
771 `xref-pop-marker-stack' should be used to mutate it instead.
772
773 ** etags
774 As a result of the above, these commands are now obsolete:
775 `find-tag-other-window', `find-tag-other-frame', `find-tag-regexp',
776 `tags-apropos' and `tags-loop-continue'.
777
778 ** EUDC
779 EUDC's LDAP backend has been improved.
780
781 *** EUDC supports LDAP-over-SSL URLs (ldaps://).
782
783 *** EUDC passes LDAP passwords through a pipe to the ldapsearch
784 subprocess instead of on the command line.
785
786 *** EUDC handles LDAP wildcards automatically so the user shouldn't
787 need to configure this manually anymore.
788
789 *** The LDAP configuration section of EUDC's manual has been
790 rewritten.
791
792 There have also been customization changes.
793
794 *** New custom variable `eudc-server-hotlist' to allow specifying
795 multiple EUDC servers in init file.
796
797 *** Custom variable `eudc-inline-query-format' defaults to completing
798 on email and firstname instead of surname.
799
800 *** Custom variable `eudc-expansion-overwrites-query' defaults to nil
801 to avoid interfering with the kill ring.
802
803 *** Custom variable `eudc-inline-expansion-format' defaults to
804 "Firstname Surname <mail-address>".
805
806 *** Custom variable `eudc-options-file' defaults to
807 "~/.emacs.d/eudc-options".
808
809 *** New custom variable `ldap-ldapsearch-password-prompt-regexp' to
810 allow overriding the regular expression that recognizes the ldapsearch
811 command line's password prompt.
812
813 ** Eshell
814
815 +++
816 *** The new built-in command `clear' can scroll window contents out of sight.
817 If provided with an optional non-nil argument, the scrollback contents will be cleared.
818
819 *** New buffer syntax '#<buffer-name>', which is equivalent to
820 '#<buffer buffer-name>'. This shorthand makes interacting with
821 buffers from eshell more convenient. Custom variable
822 `eshell-buffer-shorthand', which has been broken for a while, has been
823 removed.
824
825 *** By default, eshell "visual" program buffers (created by
826 `eshell-visual-commands' and similar custom vars) are no longer killed
827 when their processes die. This fixes issues with short-lived commands
828 and makes visual programs more useful in general. For example, if
829 "git log" is a visual command, it will always show the visual command
830 buffer, even if the "git log" process dies. For the old behavior,
831 make the new option `eshell-destroy-buffer-when-process-dies' non-nil.
832
833 ** Browse-url
834
835 *** Support for the Conkeror web browser.
836
837 ---
838 *** Support for several ancient browsers is now officially obsolete.
839
840 +++
841 ** tar-mode: new `tar-new-entry' command, allowing for new members to
842 be added to the archive.
843
844 ---
845 ** Autorevert: dired buffers are also auto-reverted via file
846 notifications, if Emacs is compiled with file notification support.
847
848 ** File Notifications
849
850 +++
851 *** The new event `stopped' signals, that a file notification watch is
852 not active any longer.
853
854 +++
855 *** The new function `file-notify-valid-p' checks, whether a file
856 notification descriptor still corresponds to an activate watch.
857
858 ** Dired
859
860 +++
861 *** The command `dired-do-compress' bound to `Z' now can compress
862 directories and decompress zip files.
863
864 +++
865 *** New command `dired-do-compress-to' bound to `c' can be used to
866 compress many marked files into a single named archive. The
867 compression command is determined from the new
868 `dired-compress-files-alist' variable.
869
870 ** Obsolete packages
871
872 ---
873 *** gulp.el
874
875 *** landmark.el (moved to elpa.gnu.org)
876
877 \f
878 * New Modes and Packages in Emacs 25.1
879
880 ** pinentry.el allows GnuPG passphrase to be prompted through the
881 minibuffer instead of a graphical dialog, depending on whether the gpg
882 command is called from Emacs (i.e., INSIDE_EMACS environment variable
883 is set). This feature requires newer versions of GnuPG (2.1.5 or
884 later) and Pinentry (0.9.5 or later).
885
886 ** cl-generic.el provides CLOS-style multiple-dispatch generic functions.
887
888 ** scss-mode (a minor variant of css-mode)
889
890 ** let-alist is a new macro (and a package) that allows one to easily
891 let-bind the values stored in an alist.
892
893 ** `tildify-mode' allows to automatically insert hard spaces as one
894 types the text. Breaking line after a single-character words is
895 forbidden by Czech and Polish typography (and may be discouraged in
896 other languages), so `auto-tildify-mode' makes it easier to create
897 a typographically-correct documents.
898
899 ** The `seq' library adds sequence manipulation functions and macros
900 that complement basic functions provided by subr.el. All functions
901 are prefixed with `seq-' and work on lists, strings and vectors.
902
903 ** The `map' library provides map-manipulation functions that work on
904 alists, hash-table and arrays. All functions are prefixed with
905 `map-'.
906
907 ** The `thunk' library provides functions and macros to control the
908 evaluation of forms.
909
910 \f
911 * Incompatible Lisp Changes in Emacs 25.1
912
913 ** `syntax-begin-function' is declared obsolete.
914 Removed font-lock-beginning-of-syntax-function and the SYNTAX-BEGIN
915 slot in font-lock-defaults.
916
917 +++
918 ** `package-initialize' now sets `package-enable-at-startup' to nil if
919 called during startup. Users who call this function in their init
920 file and still expect it to be run after startup should set
921 `package-enable-at-startup' to t after the call to
922 `package-initialize'.
923
924 ** `:global' minor mode use `setq-default' rather than `setq'.
925 This means that you can't use `make-local-variable' and expect them to
926 "magically" become buffer-local.
927
928 ** `inhibit-point-motion-hooks' now defaults to t and is obsolete.
929
930 +++
931 ** `track-mouse' no longer freezes the shape of the mouse pointer.
932 The `track-mouse' form no longer refrains from changing the shape of
933 the mouse pointer for the entire time the body of that form is
934 executed. Lisp programs that use `track-mouse' for dragging across
935 large portions of the Emacs display, and want to avoid changes in the
936 pointer shape during dragging, should bind the variable `track-mouse'
937 to the special value `dragging' in the body of the form.
938
939 ** The optional `predicate' argument of `lisp-complete-symbol' no longer
940 has any effect. (This change was made in Emacs 24.4 but was not
941 advertised at the time.)
942
943 ** `indirect-function' does not signal `void-function' any more.
944 This is mostly a bug-fix, since this change was missed back in 24.4 when
945 symbol-function was changed not to signal `void-function' any more.
946 *** As a consequence, the second arg of `indirect-function' is now obsolete.
947
948 ** Comint, term, and compile do not set the EMACS env var any more.
949 Use the INSIDE_EMACS environment variable instead.
950
951 ** `save-excursion' does not save&restore the mark any more.
952
953 ** read-buffer-function can now be called with a 4th argument (`predicate').
954
955 ** completion-table-dynamic stays in the minibuffer.
956 If you want the old behavior of calling the function in the buffer
957 from which the minibuffer was entered, call it with the new argument
958 `switch-buffer'.
959
960 ** window-configurations no longer record the buffers' marks.
961
962 ** inhibit-modification-hooks now also inhibits lock-file checks, as well as
963 active region handling.
964
965 ** deactivate-mark is now buffer-local.
966
967 ** `cl-the' now asserts that its argument is of the given type.
968
969 ** `process-running-child-p` may now return a numeric process
970 group ID instead of `t'.
971
972 +++
973 ** Mouse click events on mode line or header line no longer include
974 any reference to a buffer position. The 6th member of the mouse
975 position list returned for such events is now nil.
976
977 ** Menu items in keymaps do not support the "key shortcut cache" any more.
978 These slots used to hold key-shortcut data, but have been obsolete since
979 Emacs-21.
980
981 ** Emacs no longer downcases the first letter of a system diagnostic
982 when signaling a file error. For example, it now reports "Permission
983 denied" instead of "permission denied". The old behavior was problematic
984 in languages like German where downcasing rules depend on grammar.
985
986 +++
987 ** New variable ‘text-quoting-style’ to control how Emacs translates quotes.
988 Set it to ‘curve’ for curved single quotes ‘like this’, to ‘straight’
989 for straight apostrophes 'like this', and to ‘grave’ for grave accent
990 and apostrophe `like this'. The default value nil acts like ‘curve’
991 if curved single quotes are displayable, and like ‘grave’ otherwise.
992 The new variable affects display of diagnostics and help, but not of info.
993
994 +++
995 ** substitute-command-keys now replaces quotes.
996 That is, it converts documentation strings’ quoting style as per the
997 value of ‘text-quoting-style’. Doc strings in source code can use
998 either curved single quotes or grave accents and apostrophes. As
999 before, characters preceded by \= are output as-is.
1000
1001 +++
1002 ** Message-issuing functions ‘error’, ‘message’, etc. now convert quotes.
1003 They use the new ‘format-message’ function instead of plain ‘format’,
1004 so that they now follow user preference as per ‘text-quoting-style’
1005 when processing curved single quotes, grave accents, and apostrophes
1006 in their format argument.
1007
1008 +++
1009 ** The character classes [:alpha:] and [:alnum:] in regular expressions
1010 now match multibyte characters using Unicode character properties.
1011 If you want the old behavior where they matched any character with
1012 word syntax, use `\sw' instead.
1013
1014 +++
1015 ** The character classes [:graph:] and [:print:] in regular expressions
1016 no longer match every multibyte character. Instead, Emacs now
1017 consults the Unicode character properties to determine which
1018 characters are graphic or printable. In particular, surrogates and
1019 unassigned codepoints are now rejected. If you want the old behavior,
1020 use [:multibyte:] instead.
1021
1022 +++
1023 ** The `diff' command uses the unified format now. To restore the old
1024 behavior, set `diff-switches' to `-c'.
1025
1026 ** `grep-template' and `grep-find-template' values don't include the
1027 --color argument anymore. It's added at the <C> place holder position
1028 dynamically. Any third-party code that changes these templates should
1029 be updated accordingly.
1030
1031 +++
1032 ** ‘(/ N)’ is now equivalent to ‘(/ 1 N)’ rather than to ‘(/ N 1)’.
1033 The new behavior is compatible with Common Lisp and with XEmacs.
1034 This change does not affect Lisp code intended to be portable to
1035 Emacs 24.2 and earlier, which did not support unary ‘/’.
1036
1037 \f
1038 * Lisp Changes in Emacs 25.1
1039
1040 ** syntax-propertize is now automatically called on-demand during forward
1041 parsing functions like `forward-sexp'.
1042
1043 ** New hooks prefix-command-echo-keystrokes-functions and
1044 prefix-command-preserve-state-hook, to allow the definition of prefix
1045 commands other than the predefined C-u.
1046
1047 ** New functions `filepos-to-bufferpos' and `bufferpos-to-filepos'.
1048
1049 ** The default value of `load-read-function' is now `read'.
1050
1051 ** New hook `pre-redisplay-functions', a bit easier to use than pre-redisplay-function.
1052
1053 ** The second arg of `looking-back' should always be provided explicitly.
1054
1055 ** Obsolete text properties `intangible', `point-entered', and `point-left'.
1056 Replaced by properties `cursor-intangible' and `cursor-sensor-functions',
1057 implemented by the new `cursor-intangible-mode' and
1058 `cursor-sensor-mode' minor modes.
1059
1060 ** New process type `pipe', which can be used in combination with the
1061 `:stderr' keyword of make-process to handle standard error output
1062 of subprocess.
1063
1064 ** New function `make-process' provides an alternative interface to
1065 `start-process'. It allows programs to set process parameters such as
1066 process filter, sentinel, etc., through keyword arguments (similar to
1067 `make-network-process').
1068
1069 ** `read-buffer' takes a new `predicate' argument.
1070
1071 ** Emacs Lisp now supports generators.
1072
1073 ** New finalizer facility for running code when objects
1074 become unreachable.
1075
1076 ** lexical closures can use (:documentation <form>) to build their docstring.
1077 It should be placed right where the docstring would be, and <form> is then
1078 evaluated (and should return a string) when the closure is built.
1079
1080 ** define-inline provides a new way to define inlinable functions.
1081
1082 ** New function `macroexpand-1' to perform a single step of macroexpansion.
1083
1084 ** Some "x-*" were obsoleted:
1085 *** x-select-text is renamed gui-select-text.
1086 *** x-selection-value is renamed gui-selection-value.
1087 *** x-get-selection is renamed gui-get-selection.
1088 *** x-get-clipboard and x-clipboard-yank are marked obsolete.
1089 *** x-get-selection-value is renamed to gui-get-primary-selection.
1090 *** x-set-selection is renamed to gui-set-selection
1091
1092 ** New function `string-greaterp', which return the opposite result of
1093 `string-lessp'.
1094
1095 ** New function `alist-get', which is also a valid place (aka lvalue).
1096
1097 ** New function `funcall-interactively', which works like `funcall'
1098 but makes `called-interactively-p' treat the function as (you guessed it)
1099 called interactively.
1100
1101 ** New function `function-put' to use instead of `put' for function properties.
1102
1103 +++
1104 ** New properties that can be specified with `declare':
1105 *** (interactive-only INSTEAD), says to use INSTEAD for non-interactive use.
1106 *** (pure VAL), if VAL is non-nil, indicates the function is pure.
1107 *** (side-effect-free VAL), if VAL is non-nil, indicates the function does not
1108 have side effects.
1109
1110 +++
1111 ** New macro `with-file-modes', for evaluating expressions with default file
1112 permissions set to temporary values (e.g., for creating private files).
1113
1114 ** You can access the slots of structures using `cl-struct-slot-value'.
1115
1116 ** Function `sort' can deal with vectors.
1117
1118 ** Function `system-name' now returns an updated value if the current
1119 system's name has changed or if the Emacs process has changed systems,
1120 and to avoid long waits it no longer consults DNS to canonicalize the
1121 name. The variable `system-name' is now obsolete.
1122
1123 +++
1124 ** Function `write-region' no longer outputs "Wrote FILE" in batch mode.
1125
1126 ** If `pwd' is called with a prefix argument, insert the current default
1127 directory at point.
1128
1129 ---
1130 ** New utilities in subr-x.el:
1131 *** New macros `if-let' and `when-let' allow defining bindings and to
1132 execute code depending whether all values are true.
1133 *** New macros `thread-first' and `thread-last' allow threading a form
1134 as the first or last argument of subsequent forms.
1135
1136 +++
1137 ** Documentation strings now support quoting with curved single quotes
1138 ‘like-this’ in addition to the old style with grave accent and
1139 apostrophe `like-this'. The new style looks better on today's displays.
1140 In the new Electric Quote mode, you can enter curved single quotes
1141 into documentation by typing ` and '. Outside Electric Quote mode,
1142 you can enter them by typing ‘C-x 8 [’ and ‘C-x 8 ]’, or (if your Alt
1143 key works) by typing ‘A-[’ and ‘A-]’. As described above under
1144 ‘text-quoting-style’, the user can specify how to display doc string
1145 quotes.
1146
1147 +++
1148 ** New function ‘format-message’ is like ‘format’ and also converts
1149 curved single quotes, grave accents and apostrophes as per
1150 ‘text-quoting-style’.
1151
1152 +++
1153 ** show-help-function's arg is converted via substitute-command-keys
1154 before being passed to the function. Help strings, help-echo
1155 properties, etc. can therefore contain command key escapes and
1156 quotation marks.
1157
1158 +++
1159 ** Time-related changes:
1160
1161 *** Time conversion functions now accept an optional ZONE argument
1162 that specifies the time zone rules for conversion. ZONE is omitted or
1163 nil for Emacs local time, t for Universal Time, ‘wall’ for system wall
1164 clock time, or a string as in ‘set-time-zone-rule’ for a time zone
1165 rule. The affected functions are ‘current-time-string’,
1166 ‘current-time-zone’, ‘decode-time’, and ‘format-time-string’. The
1167 function ‘encode-time’, which already accepted a simple time zone rule
1168 argument, has been extended to accept all the new forms.
1169
1170 *** Time-related functions now consistently accept numbers
1171 (representing seconds since the epoch) and nil (representing the
1172 current time) as well as the usual list-of-integer representation.
1173 Affected functions include `current-time-string', `current-time-zone',
1174 `decode-time', `float-time', `format-time-string', `seconds-to-time',
1175 `time-add', `time-less-p', `time-subtract', `time-to-day-in-year',
1176 `time-to-days', and `time-to-seconds'.
1177
1178 *** The `encode-time-value' and `with-decoded-time-value' macros have
1179 been obsoleted.
1180
1181 *** `calendar-next-time-zone-transition', `time-add', and
1182 `time-subtract' no longer return time values in the obsolete and
1183 undocumented integer-pair format. Instead, they return a list of two
1184 integers.
1185
1186 +++
1187 ** New function `set-binary-mode' allows to switch a standard stream
1188 of the Emacs process to binary I/O mode.
1189
1190 ** ASCII approximations to curved quotes are put in standard-display-table
1191 if the terminal cannot display curved quotes.
1192
1193 ** Standard output and error streams now transliterate characters via
1194 standard-display-table, and encode output using locale-coding-system.
1195
1196 ** Miscellaneous name change
1197
1198 For consistency with the usual Emacs spelling, the Lisp variable
1199 `hfy-optimisations' has been renamed to `hfy-optimizations'.
1200 The old name should still work, as an obsolescent alias.
1201
1202 \f
1203 * Changes in Frames and Windows Code in Emacs 25.1
1204
1205 +++
1206 ** Emacs can now draw horizontal scroll bars on some platforms that
1207 provide toolkit scroll bars, namely Gtk+, Lucid, Motif and Windows.
1208 Horizontal scroll bars are turned off by default.
1209 *** New function `horizontal-scroll-bars-available-p' telling whether
1210 horizontal scroll bars are available on the underlying system.
1211 *** New mode `horizontal-scroll-bar-mode' to toggle horizontal scroll
1212 bars on all existing and future frames.
1213 *** New function `toggle-horizontal-scroll-bar' to toggle horizontal
1214 scroll bars on the selected frame.
1215 *** New frame parameters `horizontal-scroll-bars' and
1216 `scroll-bar-height' to set horizontal scroll bars and their height
1217 for individual frames and in `default-frame-alist'.
1218 *** New functions `frame-scroll-bar-height' and
1219 `window-scroll-bar-height' return the height of horizontal scroll
1220 bars on a specific frame or window.
1221 *** `set-window-scroll-bars' now accepts five parameters where the last
1222 two specify height and type of the window's horizontal scroll bar.
1223 *** `window-scroll-bars' now returns type and sizes of horizontal scroll
1224 bars too.
1225 *** New buffer-local variables `horizontal-scroll-bar' and
1226 `scroll-bar-height'.
1227
1228 +++
1229 ** New functions `frame-geometry' and `frame-edges' give access to a
1230 frame's geometry.
1231
1232 +++
1233 ** New functions `mouse-absolute-pixel-position' and
1234 `set-mouse-absolute-pixel-position' get/set screen coordinates of the
1235 mouse cursor.
1236
1237 +++
1238 ** The function `window-edges' now accepts three additional arguments to
1239 retrieve body, absolute and pixel edges of the window.
1240
1241 +++
1242 ** The functions `window-inside-edges', `window-inside-pixel-edges' and
1243 `window-inside-absolute-pixel-edges' have been renamed to respectively
1244 `window-body-edges', `window-body-pixel-edges' and
1245 `window-absolute-body-pixel-edges'. The old names are kept as aliases.
1246
1247 +++
1248 ** New function `window-absolute-pixel-position' to get the screen
1249 coordinates of a visible buffer position.
1250
1251 +++
1252 ** The height of a frame's menu and tool bar are no longer counted in the
1253 frame's text height. This means that the text height stands only for
1254 the height of the frame's root window plus that of the echo area (if
1255 present). This was already the behavior for frames with external tool
1256 and menu bars (like in the Gtk builds) but has now been extended to all
1257 builds.
1258
1259 +++
1260 ** Frames now do not necessarily preserve the number of columns or lines
1261 they display when setting default font, menu bar, fringe width, or
1262 scroll bars. In particular, maximized and fullscreen frames are
1263 conceptually never resized if such settings change. For fullheight and
1264 fullwidth frames, the behavior may depend on the toolkit used.
1265 *** New option `frame-inhibit-implied-resize' if non-nil, means that
1266 setting default font, menu bar, fringe width, or scroll bars of a
1267 specific frame does not resize that frame in order to preserve the
1268 number of columns or lines it displays.
1269
1270 +++
1271 ** New function `window-preserve-size' allows to preserve the size of
1272 windows without "fixing" it. It's supported by `fit-window-to-buffer',
1273 `temp-buffer-resize-mode' and `display-buffer'.
1274
1275 +++
1276 ** New minor mode `window-divider-mode' and options
1277 `window-divider-default-places', `window-divider-default-bottom-width'
1278 and `window-divider-default-right-width'.
1279
1280 +++
1281 ** New option `switch-to-buffer-in-dedicated-window' allows to customize
1282 how `switch-to-buffer' proceeds interactively when the selected window
1283 is strongly dedicated to its buffer.
1284
1285 +++
1286 ** The option `even-window-heights' has been renamed to
1287 `even-window-sizes' and now handles window widths as well.
1288
1289 ** Tearoff menus and detachable toolbars for Gtk+ has been removed.
1290 Those features have been deprecated in Gtk+ for a long time.
1291
1292 ** Miscellaneous
1293
1294 *** etags no longer qualifies class members by default.
1295 By default, `etags' will not qualify class members for C-like
1296 object-oriented languages with their class names and namespaces, and
1297 will remove qualifications used explicitly in the code from the tag
1298 names it puts in TAGS files. This is so the etags.el back-end for
1299 `xref-find-definitions' is more accurate and produces less false
1300 positives.
1301
1302 Use --class-qualify (-Q) if you want the old default behavior of
1303 qualifying class members in C++, Java, and Objective C. Note that
1304 using -Q might make some class members become "unknown" to `M-.'
1305 (`xref-find-definitions'); if so, you can use `C-u M-.' to specify the
1306 qualified names by hand.
1307
1308 \f
1309 * Changes in Emacs 25.1 on Non-Free Operating Systems
1310
1311 ---
1312 ** MS-Windows specific Emacs build scripts are no longer in the distribution
1313 This includes the makefile.w32-in files in various subdirectories, and
1314 the support files. The file nt/configure.bat now just tells the user
1315 to use the procedure described in nt/INSTALL, by running the Posix
1316 `configure' script in the top-level directory.
1317
1318 ---
1319 ** Building Emacs for MS-Windows requires at least Windows XP
1320 or Windows Server 2003. The built binaries still run on all versions
1321 of Windows starting with Windows 9X.
1322
1323 +++
1324 ** Emacs running on MS-Windows now supports the daemon mode.
1325
1326 ** The byte counts in etags-generated TAGS files are now the same on
1327 MS-Windows as they are on other platforms.
1328
1329 ---
1330 ** On OS X, configure creates a Cocoa ("Nextstep") build by default.
1331 Pass '--without-ns' to configure to create an X11 build, the old default.
1332
1333 ** OS X 10.5 or older is no longer supported.
1334
1335 ** OS X on PowerPC is no longer supported.
1336
1337 ---
1338 ** The new function 'w32-application-type' returns the type of an
1339 MS-Windows application given the name of its executable program file.
1340
1341 \f
1342 ----------------------------------------------------------------------
1343 This file is part of GNU Emacs.
1344
1345 GNU Emacs is free software: you can redistribute it and/or modify
1346 it under the terms of the GNU General Public License as published by
1347 the Free Software Foundation, either version 3 of the License, or
1348 (at your option) any later version.
1349
1350 GNU Emacs is distributed in the hope that it will be useful,
1351 but WITHOUT ANY WARRANTY; without even the implied warranty of
1352 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1353 GNU General Public License for more details.
1354
1355 You should have received a copy of the GNU General Public License
1356 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
1357
1358 \f
1359 Local variables:
1360 coding: utf-8
1361 mode: outline
1362 paragraph-separate: "[ \f]*$"
1363 end: