1 GNU Emacs NEWS -- history of user-visible changes.
3 Copyright (C) 2010-2012 Free Software Foundation, Inc.
4 See the end of the file for license conditions.
6 Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
7 If possible, use M-x report-emacs-bug.
9 This file is about changes in Emacs version 24.
11 See files NEWS.23, NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18,
12 and NEWS.1-17 for changes in older Emacs versions.
14 You can narrow news to a specific version by calling `view-emacs-news'
15 with a prefix argument or by typing C-u C-h C-n.
19 +++ indicates that the appropriate manual has already been updated.
20 --- means no change in the manuals is called for.
21 When you add a new item, please add it without either +++ or ---
22 so we will look at it and add it to the manual.
25 * Installation Changes in Emacs 24.1
28 ** Emacs can be compiled with Gtk+ 3.0 if you pass --with-x-toolkit=gtk3
29 to configure. Note that other libraries used by Emacs, RSVG and GConf,
30 also depend on Gtk+. You can disable them with --without-rsvg and
34 ** Emacs can be compiled with GnuTLS support.
35 This happens by default if a suitably recent version of the library is
36 found at build time. To prevent this, use the configure option
37 `--without-gnutls'. See below for GnuTLS features.
40 ** Emacs can be compiled with SELinux support.
41 This happens by default if a suitably recent version of the library is
42 found at build time. To prevent this, use the configure option
43 `--without-selinux'. See below for SELinux features.
46 ** Emacs can be compiled with ImageMagick support.
47 This happens by default if a suitably recent version of the library is
48 found at build time. To prevent this, use the configure option
49 `--without-imagemagick'. See below for ImageMagick features.
50 This feature is not available for the Nextstep or MS ports.
53 ** Emacs can be compiled with libxml2 support.
54 This happens by default if a suitably recent version of the library is
55 found at build time. To prevent this, use the configure option
56 `--without-xml2'. See below for libxml2 features.
59 ** There is a new configure option --with-wide-int.
60 With it, Emacs integers typically have 62 bits, even on 32-bit machines.
61 On 32-bit hosts, this raises the limit on buffer sizes from about 512 MiB
65 ** By default, the installed Info and man pages are compressed.
66 You can disable this by configuring --without-compress-info.
69 ** There are new configure options:
70 --with-mmdf, --with-mail-unlink, --with-mailhost.
71 These provide no new functionality, they just remove the need to edit
72 lib-src/Makefile by hand in order to use the associated features.
75 ** There is a new configure option --enable-use-lisp-union-type.
76 This is only useful for Emacs developers to debug certain types of bugs.
77 This is not a new feature; only the configure flag is new.
80 ** The standalone programs digest-doc and sorted-doc are removed.
81 Emacs now uses Lisp commands `doc-file-to-man' and `doc-file-to-info'.
84 ** The standalone program `fakemail' is removed.
85 If you need it, feedmail.el provides a superset of the functionality.
88 * Startup Changes in Emacs 24.1
91 ** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte
92 command line arguments, and the EMACS_UNIBYTE environment variable, no
93 longer have any effect. (They were declared obsolete in Emacs 23.)
96 ** New command line option `--no-site-lisp' removes site-lisp directories
97 from load-path. -Q now implies this. This option does not affect the
98 EMACSLOADPATH environment variable (and hence has no effect for
102 * Changes in Emacs 24.1
105 ** auto-mode-case-fold is now enabled by default.
109 *** shell-mode uses pcomplete rules, with the standard completion UI.
111 *** Many packages have been changed to use `completion-at-point'
112 rather than their own completion code.
114 *** `completion-at-point' now handles tags and semantic completion.
116 *** Completion in a non-minibuffer now tries to detect the end of completion
117 and pops down the *Completions* buffer accordingly.
119 *** Completion can cycle, depending on completion-cycle-threshold.
121 *** New completion style `substring'.
123 *** Completion style can be set per-category `completion-category-overrides'.
125 *** Completion of buffers now uses substring completion by default.
130 *** The default of `send-mail-function' is now `sendmail-query-once',
131 which asks the user (once) whether to use the smtpmail package to send
132 email, or to use the old defaults that rely on external mail
133 facilities (`sendmail-send-it' on GNU/Linux and other Unix-like
134 systems, and `mailclient-send-it' on Windows).
137 *** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and
138 passes it to the mail user agent function. This argument specifies an
139 action for returning to the caller after finishing with the mail.
140 For example, this is used by Rmail to optionally delete a mail window.
145 **** smtpmail now uses encrypted connections (via STARTTLS) by default
146 if the mail server supports them. This uses either built-in GnuTLS
147 support, or the starttls.el library. Customize `smtpmail-stream-type'
151 **** The variable `smtpmail-auth-credentials' has been removed.
152 By default, the information is now stored in the file ~/.authinfo.
153 This was the default value of smtpmail-auth-credentials.
154 If you had customized smtpmail-auth-credentials to a list of user
155 names and passwords, those settings will not be used. Your first
156 connection to the smtp server will prompt for the user name and password,
157 and then offer to save them to the ~/.authinfo file. Or you can
158 manually copy the credentials to your ~/.authinfo files. For example,
161 (setq smtpmail-auth-credentials
162 '(("mail.example.org" 25 "jim" "s!cret")))
164 then the equivalent line in ~/.authinfo would be
166 machine mail.example.org port 25 login jim password s!cret
168 See the auth-source manual for more information, e.g. on encrypting
169 the credentials file.
172 **** The variable `smtpmail-starttls-credentials' has been removed.
174 If you had that set, then you need to put
176 machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert"
178 in your ~/.authinfo file instead.
180 *** Mail mode changes (this is the old Mail mode, not Message mode)
182 **** New command `mail-add-attachment' for adding MIME attachments
184 **** The command `mail-attach-file' was renamed to `mail-insert-file'.
185 The old name is now an obsolete alias to the new name.
188 *** You can type C-c m from M-x report-emacs-bug if you prefer, and if
189 your system supports it, to transfer your report to your desktop's
190 preferred mail client. This uses either the "xdg-email" utility, or
191 OS X's "open" command.
193 ** Emacs server and client changes
195 *** New option `server-port' specifies the port on which the Emacs
196 server should listen.
198 *** New emacsclient argument -q/--quiet suppresses some status messages.
200 *** New emacsclient argument --frame-parameters can be used to set the
201 frame parameters of a newly-created graphical frame.
203 *** If emacsclient shuts down as a result of Emacs signaling an
204 error, its exit status is 1.
206 *** New emacsclient argument --parent-id ID.
207 This opens a client frame in parent X window ID, via XEmbed, similar
208 to the --parent-id argument to Emacs.
210 ** Internationalization changes
213 *** Emacs now supports display and editing of bidirectional text.
215 Text that includes characters from right-to-left (RTL) scripts, such
216 as Arabic, Farsi, or Hebrew, is displayed in the correct visual order
217 as expected by users of those scripts. This display reordering is a
218 "Full bidirectionality" class implementation of the Unicode
219 Bidirectional Algorithm. Buffers with no RTL text should look exactly
222 For more information, see the node "Bidirectional Editing" in the
226 **** New buffer-local variable `bidi-display-reordering'.
227 To disable display reordering in any given buffer, change this to nil.
230 **** New buffer-local variable `bidi-paragraph-direction'.
231 If nil (the default), Emacs determines the base direction of each
232 paragraph from its text, as specified by the Unicode Bidirectional
235 Setting this to `right-to-left' or `left-to-right' forces a particular
236 base direction on each paragraph in the buffer.
238 Paragraphs whose base direction is right-to-left are displayed
239 starting at the right margin of the window.
242 *** Enhanced support for characters with no glyphs in available fonts.
243 If a character has no glyphs in any of the available fonts, Emacs
244 normally displays it either as a hexadecimal code in a box or as a
245 thin 1-pixel space. In addition to these two methods, Emacs can
246 display these characters as empty box, as an acronym, or not display
247 them at all. To change how these characters are displayed, customize
248 the variable `glyphless-char-display-control'.
250 On character terminals, these methods are used for characters that
251 cannot be encoded by the `terminal-coding-system'.
254 *** New input methods for Farsi: farsi and farsi-translit.
257 *** `nobreak-char-display' now also highlights Unicode hyphen chars
261 *** New translation of the Emacs Tutorial in Hebrew is available.
262 Type `C-u C-h t' to choose it in case your language setup doesn't
263 automatically select it.
265 ** Improved GTK integration
267 *** GTK scroll-bars are now placed on the right by default.
268 Use `set-scroll-bar-mode' to change this.
270 *** GTK tool bars can have just text, just images or images and text.
271 Customize `tool-bar-style' to choose style. On a Gnome desktop, the default
272 is taken from the desktop settings.
274 *** GTK tool bars can be placed on the left/right or top/bottom of the frame.
275 The frame-parameter tool-bar-position controls this. It takes the values
276 top, left, right or bottom. The Options => Show/Hide menu has entries
279 *** The colors for selected text (the `region' face) are taken from
280 the GTK theme when Emacs is built with GTK.
282 *** Emacs uses GTK tooltips by default if built with GTK. You can turn that
283 off by customizing x-gtk-use-system-tooltips.
286 ** New basic faces `error', `warning', `success' are available to
287 highlight strings that indicate failure, caution or successful operation.
290 ** Lucid menus and dialogs can display antialiased fonts if Emacs is built
291 with Xft. To change font, use the X resource font, for example:
292 Emacs.pane.menubar.font: Courier-12
295 ** On graphical displays, the mode-line no longer ends in dashes.
296 Also, the first dash (which does not indicate anything) is just
297 displayed as a space.
300 ** Basic SELinux support has been added.
301 This requires Emacs to be linked with libselinux at build time.
304 *** Emacs preserves the SELinux file context when backing up, and
305 optionally when copying files. To this end, `copy-file' has an extra
306 optional argument, and the return value of `backup-buffer' now
307 includes the SELinux context.
310 *** The new functions file-selinux-context and set-file-selinux-context
311 get and set the SELinux context of a file.
313 ** Changes for exiting Emacs
315 *** The function kill-emacs is now run upon receipt of the signals
316 SIGTERM and SIGHUP, and upon SIGINT in batch mode.
318 *** kill-emacs-hook is now also run in batch mode.
319 If you have code that adds something to kill-emacs-hook, you should
320 consider if it is still appropriate to add it in the noninteractive case.
324 *** New scrolling commands `scroll-up-command' and `scroll-down-command'
325 (bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom
326 of buffer at first key-press (instead move to top/bottom of buffer)
327 when `scroll-error-top-bottom' is non-nil.
329 *** New variable `scroll-error-top-bottom' (see above).
331 *** New scrolling commands `scroll-up-line' and `scroll-down-line'
332 scroll a line instead of full screen.
334 *** New property `scroll-command' should be set on a command's symbol to
335 define it as a scroll command affected by `scroll-preserve-screen-position'.
337 *** If you customize `scroll-conservatively' to a value greater than 100,
338 Emacs will never recenter point in the window when it scrolls due to
339 cursor motion commands or commands that move point (e.f., `M-g M-g').
340 Previously, you needed to use `most-positive-fixnum' as the value of
341 `scroll-conservatively' to achieve the same effect.
343 *** ``Aggressive'' scrolling now honors the scroll margins.
344 If you customize `scroll-up-aggressively' or
345 `scroll-down-aggressively' and move point off the window, Emacs now
346 scrolls the window so as to avoid positioning point inside the scroll
351 *** `delete-by-moving-to-trash' now only affects commands that specify
352 trashing. This avoids inadvertently trashing temporary files.
354 *** Calling `delete-file' or `delete-directory' with a prefix argument
355 now forces true deletion, regardless of `delete-by-moving-to-trash'.
358 ** New option `list-colors-sort' defines the color sort order
359 for `list-colors-display'.
361 ** An Emacs Lisp package manager is now included.
362 This is a convenient way to download and install additional packages,
363 from a package repository at http://elpa.gnu.org.
365 *** `M-x list-packages' shows a list of packages, which can be
366 selected for installation.
368 *** New command `describe-package', bound to `C-h P'.
370 *** By default, all installed packages are loaded and activated
371 automatically when Emacs starts up. To disable this, set
372 `package-enable-at-startup' to nil. To change which packages are
373 loaded, customize `package-load-list'.
377 *** `M-x customize-themes' lists Custom themes which can be enabled.
379 *** New option `custom-theme-load-path' is the load path for themes.
380 Emacs no longer looks for custom themes in `load-path'. The default
381 is to search in `custom-theme-directory', followed by a built-in theme
382 directory named "themes/" in `data-directory'.
384 *** New option `custom-safe-themes' records known-safe theme files.
385 If a theme is not in this list, Emacs queries before loading it, and
386 offers to save the theme to `custom-safe-themes' automatically. By
387 default, all themes included in Emacs are treated as safe.
389 ** File- and directory-local variable changes
391 *** You can stop directory local vars from applying to subdirectories.
392 Add an element (subdirs . nil) to the alist portion of any variables
393 settings to indicate that the section should not apply to
396 *** Directory local variables can apply to some file-less buffers.
397 Affected modes include dired, vc-dir, and log-edit. For example,
398 adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will
399 turn on `whitespace-mode' for *vc-diff* buffers. Modes should call
400 `hack-dir-local-variables-non-file-buffer' to support this.
402 *** Using "mode: MINOR-MODE" to enable a minor mode is deprecated.
403 Instead, use "eval: (minor-mode 1)".
406 *** The variable `inhibit-first-line-modes-regexps' has been renamed
407 to `inhibit-local-variables-regexps'. As the name suggests, it now
408 applies to ALL file local variables, not just -*- mode ones.
409 The associated `inhibit-first-line-modes-suffixes' has been renamed
410 in the corresponding way.
413 ** The variable `focus-follows-mouse' now always defaults to nil.
416 ** New primitive `secure-hash' that supports many secure hash algorithms:
417 md5, sha1, sha2, sha224, sha256, sha384, and sha512. The lisp library
418 sha1.el has been removed. The `sha1' feature is provided by default.
422 *** `menu-bar-select-buffer-function' lets you choose another operation
423 instead of `switch-to-buffer' when selecting an item in the Buffers menu.
428 *** Resizing an Emacs frame now preserves proportional window sizes,
429 modulo restrictions like window minimum sizes and fixed-size windows.
431 *** The behavior of `display-buffer' is now customizable in detail.
433 **** New option `display-buffer-base-action' specifies a list of
434 user-determined display "actions" (functions and optional arguments
435 for choosing the displaying window).
437 This takes precedence over the default display action, which is
438 specified by `display-buffer-fallback-action'.
441 **** New option `display-buffer-alist' maps buffer name regexps to
442 display actions, taking precedence over `display-buffer-base-action'.
445 *** New option `window-combination-limit'.
446 The new option `window-combination-limit' allows to return the space
447 obtained for resizing or creating a window more reliably to the window
448 from which such space was obtained.
451 *** New option `window-combination-resize'.
452 The new option `window-combination-resize' allows to split a window that
453 otherwise cannot be split because it's too small by stealing space from
454 other windows in the same combination. Subsequent resizing or deletion
455 of the window will resize all windows in the same combination as well.
458 *** New commands `maximize-window' and `minimize-window'.
459 These maximize and minimize the size of a window within its frame.
462 *** New commands `switch-to-prev-buffer' and `switch-to-next-buffer'.
463 These functions allow to navigate through the live buffers that have
464 been shown in a specific window.
467 ** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'.
468 This is handy for minibuffer-only frames, and is also used for the feature
469 where mouse-1 pops up *Messages*"', which can now easily be changed.
472 * Editing Changes in Emacs 24.1
476 *** C-y in Isearch is now bound to isearch-yank-kill, instead of
479 *** M-y in Isearch is now bound to isearch-yank-pop, instead of
482 *** M-s C-e in Isearch is now bound to isearch-yank-line.
485 ** New commands `count-words-region' and `count-words'.
487 *** M-= is bound to `count-words-region', not `count-lines-region'.
488 The `count-words-region' command, when called interactively, reports
489 the number of lines, words, and characters in the region. It is a
490 superset of the old `count-lines-region', which is now an obsolete
494 ** The default value of `backup-by-copying-when-mismatch' is now t.
497 ** The command `just-one-space' (M-SPC), if given a negative argument,
498 also deletes newlines around point.
502 *** New option `delete-active-region'.
503 If non-nil, [delete] and DEL delete the region if it is active and no
504 prefix argument is given. If set to `kill', these commands kill
507 *** New command `delete-forward-char', bound to [delete].
508 This is meant for interactive use, and obeys `delete-active-region'.
509 The command `delete-char' does not obey `delete-active-region'.
511 *** `delete-backward-char' is now a Lisp function.
512 Apart from obeying `delete-active-region', its behavior is unchanged.
513 However, the byte compiler now warns if it is called from Lisp; you
514 should use delete-char with a negative argument instead.
516 *** The option `mouse-region-delete-keys' has been deleted.
518 ** Selection changes.
520 The default handling of clipboard and primary selections was changed
521 to conform with modern X applications. In short, most commands for
522 killing and yanking text now use the clipboard, while mouse commands
523 use the primary selection.
525 In the following, we provide a list of these changes, followed by a
526 list of steps to get the old behavior back if you prefer that.
529 *** `select-active-regions' now defaults to t.
530 Merely selecting text (e.g. with drag-mouse-1) no longer puts it in
531 the kill ring. The selected text is put in the primary selection, if
532 the system possesses a separate primary selection facility (e.g. X).
535 **** `select-active-regions' also accepts a new value, `only'.
536 This means to only set the primary selection for temporarily active
537 regions (usually made by mouse-dragging or shift-selection);
538 "ordinary" active regions, such as those made with C-SPC followed by
539 point motion, do not alter the primary selection.
542 **** `mouse-drag-copy-region' now defaults to nil.
545 *** mouse-2 is now bound to `mouse-yank-primary'.
546 This pastes from the primary selection, ignoring the kill-ring.
547 Previously, mouse-2 was bound to `mouse-yank-at-click'.
549 *** `x-select-enable-clipboard' now defaults to t on all platforms.
551 *** `x-select-enable-primary' now defaults to nil.
552 Thus, commands that kill text or copy it to the kill-ring (such as
553 M-w, C-w, and C-k) also use the clipboard---not the primary selection.
556 **** The "Copy", "Cut", and "Paste" items in the "Edit" menu are now
557 exactly equivalent to, respectively M-w, C-w, and C-y.
560 **** Note that on MS-Windows, `x-select-enable-clipboard' was already
561 non-nil by default, as Windows does not support the primary selection
562 between applications.
565 *** To return to the previous behavior, do the following:
566 **** Change `select-active-regions' to nil.
567 **** Change `mouse-drag-copy-region' to t.
568 **** Change `x-select-enable-primary' to t (on X only).
569 **** Change `x-select-enable-clipboard' to nil.
570 **** Bind `mouse-yank-at-click' to mouse-2.
573 *** Support for X cut buffers has been removed.
575 *** X clipboard managers are now supported.
576 To inhibit this, change `x-select-enable-clipboard-manager' to nil.
579 ** New command `rectangle-number-lines', bound to `C-x r N', numbers
580 the lines in the current rectangle. With a prefix argument, this
581 prompts for a number to count from and for a format string.
584 ** The default value of redisplay-dont-pause is now t
585 This makes Emacs feel more responsive to editing commands that arrive
586 at high rate, e.g. if you lean on some key, because stopping redisplay
587 in the middle (when this variable is nil) forces more expensive
588 updates later on, and Emacs appears to be unable to keep up.
591 ** The behavior of <TAB> for active regions in Text mode has changed.
592 In Text and related modes, typing <TAB> (`indent-for-tab-command')
593 when the region is active causes Emacs to indent all the lines in the
594 region, aligning them with the line previous to the first line in the
595 region (or with the left margin if there is no previous line).
598 * Changes in Specialized Modes and Packages in Emacs 24.1
601 ** Archive Mode has basic support for browsing and updating 7z archives.
605 *** BibTeX mode now supports biblatex.
606 Use the variable bibtex-dialect to select different BibTeX dialects.
607 bibtex-entry-field-alist is now an obsolete alias forbibtex-BibTeX-entry-alist.
609 *** New command `bibtex-search-entries' bound to C-c C-a.
611 *** New `bibtex-entry-format' option `sort-fields', disabled by default.
613 *** New variable `bibtex-search-entry-globally'.
615 ** Calendar, Diary, and Appt
618 *** Diary entries can contain non-printing `comments'.
619 See the variable `diary-comment-start'.
622 *** Appointments can specify their individual warning times.
623 See the variable `appt-warning-time-regexp'.
626 *** The function specified by `appt-disp-window-function' may be passed
627 lists of arguments if multiple appointments are due at similar times.
628 If you are using a custom function for this, you should update it.
631 *** New function `diary-hebrew-birthday'.
634 *** Elements of `calendar-day-abbrev-array' and `calendar-month-abbrev-array'
635 may no longer be nil, but must all be strings.
638 *** The obsolete (since Emacs 22.1) method of enabling the appt package
639 by adding appt-make-list to diary-hook has been removed. Use appt-activate.
642 *** Some appt variables (obsolete since Emacs 22.1) have been removed:
643 appt-issue-message (use the function appt-activate)
644 appt-visible/appt-msg-window (use the variable appt-display-format)
647 *** Some diary function aliases (obsolete since Emacs 22.1) have been removed:
648 view-diary-entries, list-diary-entries, show-all-diary-entries
653 *** New option `browse-url-mailto-function' specifies how to handle "mailto:"s.
656 *** The default browser used by the package is now the "xdg-open" program,
657 on platforms that support it. This calls your desktop's preferred browser.
660 ** New CC Mode feature to "guess" the style in an existing buffer.
661 The main entry is M-x c-guess.
663 ** comint and modes derived from it use the generic completion code.
667 *** Compilation mode can be used without font-lock-mode.
668 `compilation-parse-errors-function' is now obsolete.
671 *** New variable `compilation-filter-start', bound while
672 compilation-filter-hook runs. It records the start position of the
673 text inserted by compilation-filter.
676 *** `compilation-error-screen-columns' and `compilation-first-column'
677 are obeyed in the editing buffer. So programming language modes can
678 set them, whereas previously only the value in the *compilation* buffer
684 *** Customize buffers now contain a search field.
685 The search is performed using `customize-apropos'.
686 To turn off the search field, set custom-search-field to nil.
689 *** Custom options now start out hidden if at their default values.
690 Use the arrow to the left of the option name to toggle visibility.
693 *** custom-buffer-sort-alphabetically now defaults to t.
696 *** The color widget now has a "Choose" button, which allows you to
697 choose a color via list-colors-display.
701 *** It is now possible to access buses other than the default system
704 *** The dbus-register-method and dbus-register-property functions
705 optionally do not register names.
707 *** The new function dbus-register-service registers a known service name
708 on a D-Bus without simultaneously registering a property or a method.
712 *** dired-jump and dired-jump-other-window called with a prefix argument
713 read a file name from the minibuffer instead of using buffer-file-name.
716 *** The `dired local variables' feature provided by Dired-x is obsolete.
717 The standard directory local variables feature replaces it.
722 *** New options `erc-autojoin-timing' and `erc-autojoin-delay',
723 controlling attempts to autojoin a channel.
725 *** New variable `erc-coding-system-precedence': If we use `undecided'
726 as the server coding system, this variable will then be consulted.
727 The default is to decode strings that can be decoded as utf-8 as
728 utf-8, and do the normal `undecided' decoding for the rest.
733 *** The default value of `eshell-directory-name' has changed
734 to be an "eshell" directory in `user-emacs-directory'.
735 The old "~/.eshell/" directory is still used if it exists, though.
739 *** The GDB User Interface has been migrated to GDB Machine Interface.
740 It now supports multithread non-stop debugging and simultaneous
741 debugging of several threads.
746 *** RET (`image-toggle-animation') toggles animation, if applicable.
747 Animation plays once, unless the option `image-animate-loop' is non-nil.
752 *** New command `info-display-manual' displays a named Info manual.
753 If that manual is already visited in some Info buffer, it displays
754 that buffer. (This is handy if you have many manuals in many *info*
755 buffers, and don't remember the name of the buffer visiting the manual
756 you want to consult.) Otherwise, it loads and displays the manual.
759 *** `e' is now bound to `end-of-buffer' rather than to `Info-edit'.
760 This is for compatibility with the stand-alone Info reader program,
761 and also because `Info-edit' is a rarely used command that is disabled
765 ** MH-E has been upgraded to MH-E version 8.3.1.
766 See MH-E-NEWS for details.
769 ** Modula-2 mode provides auto-indentation.
772 ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags.
775 ** Prolog mode has been completely revamped, with lots of additional
776 functionality such as more intelligent indentation, electricity, support for
777 more variants, including Mercury, and a lot more.
782 *** The command `rmail-epa-decrypt' decrypts OpenPGP data
783 in the Rmail incoming message.
786 *** The variable `rmail-message-filter' no longer has any effect.
787 This change was made in Emacs 23.1 but was not advertised at the time.
788 Try using `rmail-show-message-hook' instead.
792 *** Shell mode uses pcomplete rules, with the standard completion UI.
794 *** The `shell' command prompts for the shell path name if the default
795 directory is a remote file name and neither the environment variable
796 $ESHELL nor the variable `explicit-shell-file-name' is set.
802 *** New options `sql-port', `sql-connection-alist', `sql-send-terminator',
803 and `sql-oracle-scan-on'.
806 *** New custom variables control prompting for login parameters.
807 Each supported product has a custom variable `sql-*-login-params',
808 which is a list of the parameters to be prompted for before a
809 connection is established.
812 *** The command `sql-product-interactive' now takes a prefix argument,
813 which causes it to prompt for an SQL product.
816 *** Product-specific SQL interactive commands now take prefix arguments.
817 These commands (`sql-sqlite', `sql-postgres', `sql-mysql', etc.),
818 given a prefix argument, prompt for a name for the SQL interactive
819 buffer. This reduces the need for calling `sql-rename-buffer'.
822 *** SQL interactive modes suppress command continuation prompts, and
823 replace tabs with spaces. The first change impacts multiple line SQL
824 statements entered with C-j between each line, statements yanked into
825 the buffer and statements sent with `sql-send-*' functions. The
826 second prevents the MySQL and Postgres interpreters from listing
827 object name completions when sent text via `sql-send-*' functions.
830 *** New command `sql-connect' starts a predefined SQLi session,
831 using the login parameters from `sql-connection-alist'.
834 *** New "Save Connection" menu item in SQLi buffers.
835 This gathers the login params specified for the SQLi session, if it
836 was not started by a connection, and saves them as a new connection.
839 *** New commands for listing database objects and details:
840 sql-list-all and sql-list-table.
843 *** An API for manipulating SQL product definitions has been added.
848 *** latex-electric-env-pair-mode keeps \begin..\end matched on the fly.
852 *** There exists a new inline access method "ksu" (kerberized su).
854 *** The following access methods are discontinued: "ssh1_old",
855 "ssh2_old", "scp1_old", "scp2_old", "imap", "imaps" and "fish".
857 *** The user option `remote-file-name-inhibit-cache' controls whether
858 remote file attributes are cached for better performance.
860 *** The option `ange-ftp-binary-file-name-regexp' has changed its
863 *** Handlers for file-selinux-context and set-file-selinux-context for
864 remote machines that support SELinux.
867 ** New function, `url-queue-retrieve', which behaves like url-retrieve,
868 but with limits (`url-queue-parallel-processes', `url-queue-timeout') on
869 the degree of parallelism.
871 ** VC and related modes
874 *** Support for pulling on distributed version control systems.
875 `C-x v +' (`vc-pull') runs a "pull" operation, if it is supported
876 (currently with Bzr, Git, and Mercurial), to update the current branch
877 and working tree. A prefix argument means to prompt the user for
878 specifics, e.g. a pull location.
881 *** `vc-update' is now an alias for `vc-pull'.
884 *** Support for merging on distributed version control systems.
885 The vc-merge command now runs a "merge" operation, if it is supported
886 (currently with Bzr, Git, and Mercurial), to merge changes from
887 another branch into the current one. It prompts for specifics, e.g. a
891 *** New option `vc-revert-show-diff' controls whether `vc-revert'
892 shows a diff while querying the user. It defaults to t.
895 *** Log entries in some Log View buffers can be toggled to display a
896 longer description by typing RET (log-view-toggle-entry-display).
897 This is currently supported for Bzr, Git, and Mercurial (to support
898 another backend, define a `log-view-expanded-log-entry-function').
899 In the Log View buffers made by `C-x v L' (vc-print-root-log), you can
900 use this to display the full log entry for the revision at point.
903 *** New command `vc-ediff' allows visual comparison of two revisions
904 of a file similar to `vc-diff', but using ediff backend.
907 *** The option `vc-initial-comment' was removed in Emacs 23.2, but
908 this was not advertised at the time.
911 *** `vc-toggle-read-only' is an obsolete alias for `toggle-read-only'.
912 Since Emacs 23, it has done the same thing as `toggle-read-only', but
913 this was not advertised at the time.
921 *** erc-hecomplete.el (use erc-pcomplete.el instead)
923 *** partial-completion-mode (complete.el) is obsolete.
924 You can get a comparable behavior with:
925 (setq completion-styles '(partial-completion initials))
926 (setq completion-pcm-complete-word-inserts-delimiters t)
929 *** pc-mode.el is obsolete (CUA mode is much more comprehensive).
931 [FIXME gnus.texi, message.texi need updating]
932 *** pgg is obsolete (use EasyPG instead)
935 *** sregex.el is obsolete, since rx.el is a strict superset.
938 *** s-region.el and pc-select.el are obsolete.
939 They are superseded by shift-select-mode, enabled by default since 23.1.
942 *** vc-mcvs.el is obsolete (for lack of a maintainer)
947 *** The Landmark game is now invoked with `landmark', not `lm'.
948 Its functions and variables have been similarly renamed.
951 *** In `ido-file-completion-map', C-v is no longer bound to ido-toggle-vc.
952 (This interfered with cua-mode.)
955 *** f90.el has some support for Fortran 2008 syntax.
958 *** `copyright-fix-years' can optionally convert consecutive years to ranges.
961 *** New command `nato-region' converts text to NATO phonetic alphabet.
964 * New Modes and Packages in Emacs 24.1
967 ** Occur Edit mode applies edits made in *Occur* buffers to the
968 original buffers. It is bound to "e" in Occur mode.
970 ** When `occur' is called with the prefix argument `C-u'
971 the matching strings are collected into the `*Occur*' buffer
972 without line numbers. If there are parenthesized subexpressions
973 in the specified regexp, `occur' reads replacement text that
974 may contain \\& and \\N whose convention follows `replace-match'.
977 ** New global minor mode electric-pair-mode.
978 When enabled, typing an open parenthesis automatically inserts the
979 matching closing one.
982 ** New global minor mode electric-indent-mode.
983 When enabled, typing certain characters triggers reindentation.
984 Major modes wishing to use this can set electric-indent-chars or
985 electric-indent-functions.
988 ** New global minor mode electric-layout-mode.
989 When enabled, typing certain characters automatically inserts newlines.
990 Major modes wishing to use this can set electric-layout-rules.
993 ** tabulated-list.el provides a generic major mode for tabulated data,
994 from which other modes can be derived.
996 ** pcase.el provides the ML-style pattern matching macro `pcase'.
998 ** secrets.el is an implementation of the Secret Service API, an
999 interface to password managers like GNOME Keyring or KDE Wallet. The
1000 Secret Service API requires D-Bus for communication. The command
1001 `secrets-show-secrets' offers a buffer with a visualization of the
1004 ** notifications.el provides an implementation of the Desktop
1005 Notifications API. It requires D-Bus for communication.
1007 ** soap-client.el supports access to SOAP web services from Emacs.
1008 soap-inspect.el is an interactive inspector for SOAP WSDL structures.
1011 ** New generic mode, xmodmap-generic-mode, for xmodmap files.
1014 ** New emacs-lock.el package.
1015 (The previous version has been moved to obsolete/old-emacs-lock.el.)
1016 Now, there is a proper minor mode `emacs-lock-mode'.
1017 Protection against exiting Emacs and killing the buffer can be set
1018 separately. The mechanism for automatically turning off protection
1019 for buffers with dead inferior processes has been generalized.
1022 * Incompatible Lisp Changes in Emacs 24.1
1025 ** The return value of `backup-buffer' has changed.
1026 It is now a list of three elements, where the second element is a list
1027 describing the original file's SELinux context. If Emacs or the
1028 system lacks SELinux cupport, the context list is (nil nil nil nil).
1029 See the "Basic SELinux support" entry under "Changes in Emacs 24.1",
1033 ** `char-direction-table' and the associated function `char-direction'
1034 were deleted. They were buggy and inferior to the new support of
1035 bidirectional editing introduced in Emacs 24. If you need the
1036 bidirectional properties of a character, use `get-char-code-property'
1037 with the last argument `bidi-class'.
1040 ** `copy-directory' now copies the source directory as a subdirectory
1041 of the target directory, if the latter is an existing directory. The
1042 new optional arg COPY-CONTENTS, if non-nil, makes the function copy
1043 the contents directly into a pre-existing target directory.
1046 ** For mouse click input events in the text area, the Y pixel
1047 coordinate in the POSITION list now counts from the top of the text
1048 area, excluding any header line. Previously, it counted from the top
1052 ** Support for "old-style" backquotes, which have been obsolete for
1053 more than 10 years, has been further reduced. Now a backquote not
1054 followed by a space is always treated as a "new-style" backquote.
1055 Please remove all "old-style" backquotes from your code. If your code
1056 uses backquotes as documented in the Elisp manual, and compiles
1057 without warning, then you have nothing to do in this regard. Code not
1058 following the appropriate conventions may fail to compile.
1060 The most common cause of trouble seems to be an old-style backquote
1061 followed by a newline. Another cause of trouble is vector notation
1062 for key sequence notation: instead of [(control ,)] and [(control ')],
1063 you should write [(control ?,)] and [(control ?')], which will work in
1067 ** The macro `eval-at-startup' was removed in Emacs 23.2, but this
1068 was not advertised at the time. The function `custom-initialize-delay'
1069 replaced all known uses.
1072 ** view-buffer now treats special mode-class in the same way that
1073 view-file has since Emacs 22 (ie, it won't enable View mode if the
1074 major-mode is special).
1077 ** Passing a nil argument to a minor mode defined by define-minor-mode
1078 now turns the mode ON unconditionally. This is so that you can write, e.g.
1079 (add-hook 'text-mode-hook 'foo-minor-mode)
1080 to enable foo-minor-mode in Text mode buffers, thus removing the need
1081 for `turn-on-foo-minor-mode' style functions.
1084 ** During startup, Emacs no longer adds entries for `menu-bar-lines'
1085 and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'.
1086 With these alist entries omitted, `make-frame' checks the value of the
1087 variable `menu-bar-mode'/`tool-bar-mode' to determine whether to create
1088 a menu-bar or tool-bar, respectively. If the alist entries are added,
1089 they override the value of `menu-bar-mode'/`tool-bar-mode'.
1092 ** Regions created by mouse dragging are now normal active regions,
1093 similar to the ones created by shift-selection. In previous Emacs
1094 versions, these regions were delineated by `mouse-drag-overlay', which
1095 has now been removed.
1098 ** The fourth argument of filter-buffer-substring, which says to remove
1099 text properties from the final result, has been removed.
1100 Eg simply pass the result through substring-no-properties if you need this.
1103 ** cl.el no longer provides `cl-19'.
1106 ** The menu bar bindings's caches are not used any more.
1107 Use (where-is-internal <def> nil t) instead.
1110 ** The following obsolete (mostly since at least 21.1) functions and aliases
1111 have been removed (the appropriate new function is given in parentheses):
1112 comint-kill-output (comint-delete-output),
1113 decompose-composite-char (char-to-string),
1114 outline-visible (outline-invisible-p),
1115 internal-find-face (facep), internal-get-face (facep and check-face),
1116 frame-update-faces (not needed),
1117 frame-update-face-colors (frame-set-background-mode),
1118 x-frob-font-weight and x-frob-font-slant (appropriate make-face-* function),
1119 x-make-font-bold and x-make-font-demibold (make-face-bold),
1120 x-make-font-italic and x-make-font-oblique (make-face-italic),
1121 x-make-font-bold-italic (make-face-bold-italic),
1122 x-make-font-unbold (make-face-unbold),
1123 x-make-font-unitalic (make-face-unitalic),
1124 mldrag-drag-mode-line (mouse-drag-mode-line),
1125 mldrag-drag-vertical-line (mouse-drag-vertical-line),
1126 iswitchb-default-keybindings (iswitchb-mode), char-bytes (== 1),
1127 isearch-return-char (isearch-printing-char), make-local-hook (not needed),
1128 set-screen-height (set-frame-height), set-screen-width (set-frame-width)
1132 ** The following obsolete (mostly since at least 21.1) variables and varaliases
1133 have been removed (the appropriate new variable is given in parentheses):
1134 checkdoc-minor-keymap (checkdoc-minor-mode-map),
1135 vc-header-alist (vc-BACKEND-header), directory-sep-char (== ?/)
1136 font-lock-defaults-alist (font-lock-defaults), and e (float-e).
1139 ** The following obsolete files were removed:
1140 sc.el, x-menu.el, rnews.el, rnewspost.el
1143 ** The format of the finder-inf.el file has changed, since the finder
1144 mechanism is now based on the package concept. The variable
1145 finder-package-info is replaced by package--builtins and finder-keywords-hash.
1148 ** When generating autoloads, `update-directory-autoloads' no longer
1149 assumes every inspected file is in your `load-path'. It instead
1150 generates relative names according to the current `load-path'.
1153 * Lisp changes in Emacs 24.1
1156 ** Code can now use lexical scoping by default instead of dynamic scoping.
1157 The `lexical-binding' variable lets code use lexical scoping for local
1158 variables. It is typically set via a file-local variable in the first
1159 line of the file, in which case it applies to all the code in that file.
1161 *** `eval' takes a new optional argument `lexical' to choose the new lexical
1162 binding instead of the old dynamic binding mode.
1164 *** Lexically scoped interpreted functions are represented with a new form
1165 of function value which looks like (closure ENV ARGS &rest BODY).
1167 *** New macro `letrec' to define recursive local functions.
1169 *** New function `special-variable-p' to check whether a variable is
1170 declared as dynamically bound.
1173 ** An Emacs Lisp testing tool is now included.
1174 Emacs Lisp developers can use this tool to write automated tests for
1175 their code. See the ERT info manual for details.
1177 ** Changes for bidirectional display and editing
1180 *** New function `current-bidi-paragraph-direction'.
1181 This returns the actual value of base direction of the paragraph at
1185 *** New function `bidi-string-mark-left-to-right'.
1186 Given a string containing characters from right-to-left (RTL) scripts,
1187 this function returns another string which can be safely inserted into
1188 a buffer, such that any following text will be always displayed to the
1189 right of that string. (This works by appending the Unicode
1190 "LEFT-TO-RIGHT MARK" character when the argument string might need that.)
1192 This is useful when the buffer has overall left-to-right (LTR)
1193 paragraph direction and you need to insert a string whose contents and
1194 directionality are not known in advance, without disrupting the layout
1199 *** Window tree functions are accessible in Elisp.
1200 Functions are provided to return the parent, siblings or child windows
1201 of any window including internal windows (windows not associated with a
1202 buffer) in the window tree.
1204 **** New function `window-valid-p' gives non-nil for live and internal
1207 **** Window manipulation can deal with internal windows.
1208 Many window handling functions like `split-window', `delete-window', or
1209 `delete-other-windows' as well as the window resizing functions can now
1210 act on any window including internal ones.
1212 *** window-total-height/-width vs window-body-height/-width.
1213 The function `window-height' has been renamed to `window-total-height'
1214 and `window-width' has been renamed to `window-body-width'. The old
1215 names are provided as aliases. Two new functions `window-total-width'
1216 and `window-body-height' are provided.
1218 *** Window parameters specific to window handling functions.
1219 For each window you can specify a parameter to override the default
1220 behavior of a number of functions like `split-window', `delete-window'
1221 and `delete-other-windows'. The variable `ignore-window-parameters'
1222 allows to ignore processing such parameters.
1224 *** New semantics of third argument of `split-window'.
1225 The third argument of `split-window' has been renamed to SIDE and can be
1226 set to any of the values 'below, 'right, 'above, or 'left to make the
1227 new window appear on the corresponding side of the window that shall be
1228 split. Any other value of SIDE will cause `split-window' to split the
1229 window into two side-by-side windows as before.
1231 *** Window resizing functions.
1232 A new standard function for resizing windows called `window-resize' has
1233 been introduced. This and all other functions for resizing windows no
1234 longer delete any windows when they become too small.
1236 *** Deleting the selected window now selects the most recently selected
1237 live window on that frame instead.
1239 *** `adjust-window-trailing-edge' adjustments.
1240 `adjust-window-trailing-edge' can now deal with fixed-size windows and
1241 is able to resize other windows if a window adjacent to the trailing
1242 edge cannot be shrunk any more. This makes its behavior more similar to
1243 that of Emacs 21 without compromising, however, its inability to delete
1244 windows which was introduced in Emacs 22.
1246 *** Window-local buffer lists.
1247 Windows now have local buffer lists. This means that removing a buffer
1248 from display in a window will preferably show the buffer previously
1249 shown in that window with its previous window-start and window-point
1250 positions. This also means that the same buffer may be automatically
1251 shown twice even if it already appears in another window.
1253 *** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW,
1254 which if non-nil requires the buffer to be displayed in the currently
1255 selected window, signaling an error otherwise. If nil, another window
1256 can be used, e.g. if the selected one is strongly dedicated.
1258 *** `split-window-vertically' and `split-window-horizontally' renamed
1259 to `split-window-below' and `split-window-right' respectively.
1260 The old names are kept as aliases.
1264 **** The second arg to `display-buffer' and `pop-to-buffer' is now
1265 named ACTION, and takes a display action of the same form as
1266 `display-buffer-base-action' (see Changes, above). A non-nil,
1267 non-list value is treated specially, as the old meaning.
1269 **** New variable `display-buffer-overriding-action'.
1271 **** The procedure of `display-buffer' etc. to choose a window is
1272 determined by combining `display-buffer-overriding-action',
1273 `display-buffer-alist', the ACTION arg, `display-buffer-base-action',
1274 and `display-buffer-fallback-action'. The second and fourth of these
1275 are user-customizable variables.
1277 See the docstring of `display-buffer' for details.
1280 *** New behavior of `quit-window'.
1281 The behavior of `quit-window' has been changed in order to restore the
1282 state before the last buffer display operation in that window.
1285 *** The new option `frame-auto-hide-function' lets you choose between
1286 iconifying or deleting a frame when burying a buffer shown in a dedicated
1287 frame or quitting a window showing a buffer in a frame of its own.
1290 *** New functions `window-state-get' and `window-state-put'.
1291 These functions allow to save and restore the state of an arbitrary
1292 frame or window as an Elisp object.
1296 *** New variable completion-extra-properties used to specify extra properties
1297 of the current completion:
1298 - :annotate-function, same as the old completion-annotate-function.
1299 - :exit-function, function to call after completion took place.
1301 *** Functions on completion-at-point-functions can return any of the properties
1302 valid for completion-extra-properties.
1304 *** completion-annotate-function is obsolete.
1306 *** New `metadata' method for completion tables. The metadata thus returned
1307 can specify various details of the data returned by `all-completions':
1308 - `category' is the kind of objects returned (e.g., `buffer', `file', ...),
1309 used to select a style in completion-category-overrides.
1310 - `annotation-function' to add annotations in *Completions*.
1311 - `display-sort-function' to specify how to sort entries in *Completions*.
1312 - `cycle-sort-function' to specify how to sort entries when cycling.
1314 *** minibuffer-local-filename-must-match-map is not used any more.
1315 Instead, the bindings in minibuffer-local-filename-completion-map are
1316 combined with minibuffer-local-must-match-map.
1318 *** New variable `completing-read-function' allows overriding the
1319 behavior of `completing-read'.
1322 ** `glyphless-char-display' can now distinguish between graphical and
1323 text terminal display, via a char-table entry that is a cons cell.
1326 ** `open-network-stream' can now be used to open an encrypted stream.
1327 It now accepts an optional `:type' parameter for initiating a TLS
1328 connection, directly or via STARTTLS. To do STARTTLS, additional
1329 parameters (`:end-of-command', `:success', `:capabilities-command')
1330 must also be supplied.
1333 ** pre/post-command-hook are not reset to nil upon error.
1334 Instead, the offending function is removed.
1339 *** New function `run-hook-wrapped' for running an abnormal hook by
1340 passing the hook functions as arguments to a "wrapping" function.
1341 Like `run-hook-with-args-until-success', it stops at the first
1342 non-nil return value.
1345 *** New macro `with-wrapper-hook' for running an abnormal hook as a
1346 set of "wrapping" filters, similar to around advice.
1347 (A version of this macro was actually added in Emacs 23.2 but was not
1348 advertised at the time.)
1352 *** New macro `condition-case-unless-debug' (this was actually added in
1353 Emacs 23.1 as condition-case-no-debug, but not advertised)
1355 *** The macro `with-demoted-errors' was added in Emacs 23.1, but not advertised.
1357 *** Variable `stack-trace-on-error' removed.
1359 *** The debugger can now "continue" from an error, which means it will
1360 jump to the error handler as if the debugger had not been invoked
1361 instead of jumping all the way to the top-level.
1363 *** Set `debug-on-event' to enter the debugger on events like SIGUSR1.
1364 This can be useful when `inhibit-quit' is set.
1367 ** The new function `server-eval-at' allows evaluation of Lisp forms on
1368 named Emacs server instances, using TCP sockets.
1371 ** `call-process' and `call-process-region' allow a `(:file "file")' spec
1372 to redirect STDOUT to a file.
1375 ** The function format-time-string now supports the %N directive, for
1376 higher-resolution time stamps.
1378 ** New input reading functions
1380 *** New function `read-char-choice' reads a restricted set of
1381 characters, discarding any inputs not inside the set.
1383 *** The command `read-color' now requires a match for a color name
1384 or RGB triplet, instead of signaling an error if the user provides
1387 **** `facemenu-read-color' is now an alias for `read-color'.
1390 ** `image-library-alist' is renamed to `dynamic-library-alist'.
1391 The variable is now used to load all kind of supported dynamic libraries,
1392 not just image libraries. The previous name is still available as an
1395 ** Syntax parsing changes
1397 *** New variable `syntax-propertize-function'.
1398 This replaces `font-lock-syntactic-keywords' which is now obsolete.
1399 This allows syntax-table properties to be set independently from font-lock:
1400 just call syntax-propertize to make sure the text is propertized.
1401 Together with this new variable come a new hook
1402 syntax-propertize-extend-region-functions, as well as two helper functions:
1403 syntax-propertize-via-font-lock to reuse old font-lock-syntactic-keywords
1404 as-is; and syntax-propertize-rules which provides a new way to specify
1407 *** Syntax tables support a new "comment style c" additionally to style b.
1410 ** New hook post-self-insert-hook run at the end of self-insert-command.
1413 ** frame-local variables cannot be let-bound any more.
1415 ** Major and minor mode changes
1417 *** `set-auto-mode' now respects mode: local variables at the end of files,
1418 as well as those in the -*- line.
1420 *** `prog-mode' is a new major mode from which programming modes
1423 **** `prog-mode-hook' can be used to enable features for programming
1424 modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable
1425 on-the-fly spell checking for comments and strings.
1427 *** New hook `change-major-mode-after-body-hook', run by
1428 `run-mode-hooks' just before any other mode hooks.
1430 *** Enabled globalized minor modes can be disabled in specific major modes.
1431 If the global mode is global-FOO-mode, then run (FOO-mode -1) in the
1432 major mode's hook, where FOO-mode toggles the mode on a per-buffer basis.
1434 *** `define-minor-mode' accepts new keywords :variable, :after-hook.
1437 ** `delete-file' and `delete-directory' now accept optional arg TRASH.
1438 Trashing is performed if TRASH and `delete-by-moving-to-trash' are
1439 both non-nil. Interactively, TRASH defaults to t, unless a prefix
1440 argument is supplied (see Trash changes, above).
1443 ** New file predicate functions: file-equal-p, file-subdir-of-p.
1446 ** Tool-bars can display separators.
1447 Tool-bar separators are handled like menu separators in menu-bar maps,
1448 i.e. via menu entries of the form `(menu-item "--")'.
1453 *** Animated images support (currently animated gifs only).
1456 **** `image-animated-p' returns non-nil if an image can be animated.
1459 **** `image-animate' animates a supplied image spec.
1462 **** `image-animate-timer' returns the timer object for an image that
1466 *** `image-extension-data' has been renamed to `image-metadata'.
1467 The old name is an obsolete alias to the new one.
1470 *** Image mode can view any image type that ImageMagick supports.
1471 This requires Emacs to be built with ImageMagick support.
1472 If your Emacs has ImageMagick support, then the function
1473 `imagemagick-types' is defined, and returns a list of image file
1474 extensions that your installation of ImageMagick supports. The
1475 function `imagemagick-register-types' enables ImageMagick support for
1476 these image types, minus those listed in `imagemagick-types-inhibit'.
1477 Visiting one of these file types will then use Image mode.
1480 *** New commands to resize and rotate images in Image mode.
1481 These require Emacs to be built with ImageMagick support.
1482 image-transform-fit-to-height, image-transform-fit-to-width,
1483 image-transform-set-rotation, image-transform-set-scale.
1485 ** XML and HTML parsing
1486 If Emacs is compiled with libxml2 support, there are two new functions:
1487 `libxml-parse-html-region' (which parses "real world" HTML) and
1488 `libxml-parse-xml-region' (which parses XML). Both return an Emacs
1491 FIXME: These should be front-ended by xml.el.
1495 *** New library `gnutls.el'.
1496 This requires Emacs to have been built with GnuTLS support.
1497 If your Emacs has GnuTLS support, the function gnutls-available-p is
1498 defined and returns non-nil. The main functions are `open-gnutls-stream'
1499 and `gnutls-negotiate'. It's easiest to use these functions through
1500 `open-network-stream' because it can upgrade connections through
1501 STARTTLS opportunistically or use plain SSL, depending on your needs.
1502 For debugging, set `gnutls-log-level' greater than 0.
1507 *** New hook `isearch-update-post-hook' that runs in `isearch-update'.
1510 ** Progress reporters can now "spin".
1511 The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can
1512 now be nil, or omitted. This makes a "non-numeric" reporter. Each
1513 time you call `progress-reporter-update' on that progress reporter,
1514 with a nil or omitted VALUE argument, the reporter message is
1515 displayed with a "spinning bar".
1518 ** New variable `revert-buffer-in-progress-p' is true while a buffer is
1519 being reverted, even if the buffer has a local `revert-buffer-function'.
1522 ** New variables `delayed-warnings-list' and `delayed-warnings-hook'.
1523 If delayed-warnings-list is non-nil, the command loop calls
1524 delayed-warnings-hook after post-command-hook. At present, this is
1525 only used by Emacs on some platforms to display warnings during
1526 startup, which might otherwise not be noticed. This uses the functions
1527 display-delayed-warnings and collapse-delayed-warnings.
1530 ** rx.el has a new `group-n' construct for explicitly numbered groups.
1533 ** New function `make-composed-keymap' that constructs a new keymap
1534 from multiple input maps. You can use this to make a keymap that
1535 inherits from multiple maps, eg:
1536 (set-keymap-parent newmap (make-composed-keymap othermap parent))
1539 ** New reader macro ## that stands for the empty symbol.
1540 This means that the empty symbol can now be read back. Also, #: by itself
1541 (when not immediately followed by a possible symbol character) stands for
1542 an empty uninterned symbol.
1545 ** New math functions `isnan', `copysign', `frexp', `ldexp'.
1547 ** Obsolete functions and variables
1550 *** `tooltip-use-echo-area' is obsolete.
1551 Rather than setting this to t, disable Tooltip mode instead.
1554 *** buffer-substring-filters is obsolete.
1555 Use `filter-buffer-substring-functions' instead.
1558 *** `byte-compile-disable-print-circle' is obsolete.
1561 *** `deferred-action-list' and `deferred-action-function' are obsolete.
1562 Use `post-command-hook' instead.
1565 *** `font-lock-maximum-size' is obsolete.
1568 * Changes in Emacs 24.1 on non-free operating systems
1571 ** On MS Windows, Emacs warns when using the obsolete init file _emacs,
1572 and also when HOME is set to C:\ by default.
1574 ** New configure.bat options
1577 *** --enable-checking builds Emacs with extra runtime checks.
1580 *** --distfiles specifies files to be included in binary distribution.
1583 *** --without-gnutls disables automatic GnuTLS detection.
1586 *** --lib for general library linkage, works with the USER_LIBS build variable.
1589 ** New make target `dist' to create binary distribution for MS Windows.
1592 ** The Lisp function `w32-default-color-map' is now obsolete.
1593 (It is only used internally in the Emacs C code.)
1596 ** Customize ns-auto-hide-menu-bar to have the menu-bar hidden, but
1597 reappear on mouse-over. (Requires OS X 10.6 or later.)
1600 ** On Mac OS X, dragging a file into Emacs visits the file, like on
1601 other platforms, rather than inserting its contents into the buffer.
1604 ----------------------------------------------------------------------
1605 This file is part of GNU Emacs.
1607 GNU Emacs is free software: you can redistribute it and/or modify
1608 it under the terms of the GNU General Public License as published by
1609 the Free Software Foundation, either version 3 of the License, or
1610 (at your option) any later version.
1612 GNU Emacs is distributed in the hope that it will be useful,
1613 but WITHOUT ANY WARRANTY; without even the implied warranty of
1614 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1615 GNU General Public License for more details.
1617 You should have received a copy of the GNU General Public License
1618 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
1623 paragraph-separate: "[
\f]*$"