* tutorials/TUTORIAL.ru: Updated; synchronize with TUTORIAL.
[bpt/emacs.git] / etc / NEWS
... / ...
CommitLineData
1GNU Emacs NEWS -- history of user-visible changes.
2
3Copyright (C) 2010-2012 Free Software Foundation, Inc.
4See the end of the file for license conditions.
5
6Please send Emacs bug reports to bug-gnu-emacs@gnu.org.
7If possible, use M-x report-emacs-bug.
8
9This file is about changes in Emacs version 24.
10
11See files NEWS.23, NEWS.22, NEWS.21, NEWS.20, NEWS.19, NEWS.18,
12and NEWS.1-17 for changes in older Emacs versions.
13
14You can narrow news to a specific version by calling `view-emacs-news'
15with a prefix argument or by typing C-u C-h C-n.
16
17
18Temporary note:
19 +++ indicates that the appropriate manual has already been updated.
20 --- means no change in the manuals is called for.
21When you add a new item, please add it without either +++ or ---
22so we will look at it and add it to the manual.
23
24\f
25* Installation Changes in Emacs 24.1
26
27---
28** Emacs can be compiled with Gtk+ 3.0 if you pass --with-x-toolkit=gtk3
29to configure. Note that other libraries used by Emacs, RSVG and GConf,
30also depend on Gtk+. You can disable them with --without-rsvg and
31--without-gconf.
32
33---
34** Emacs can be compiled with GnuTLS support.
35This happens by default if a suitably recent version of the library is
36found at build time. To prevent this, use the configure option
37`--without-gnutls'. See below for GnuTLS features.
38
39---
40** Emacs can be compiled with SELinux support.
41This happens by default if a suitably recent version of the library is
42found at build time. To prevent this, use the configure option
43`--without-selinux'. See below for SELinux features.
44
45---
46** Emacs can be compiled with ImageMagick support.
47This happens by default if a suitably recent version of the library is
48found at build time. To prevent this, use the configure option
49`--without-imagemagick'. See below for ImageMagick features.
50This feature is not available for the Nextstep or MS ports.
51
52---
53** Emacs can be compiled with libxml2 support.
54This happens by default if a suitably recent version of the library is
55found at build time. To prevent this, use the configure option
56`--without-xml2'. See below for libxml2 features.
57
58---
59** There is a new configure option --with-wide-int.
60With it, Emacs integers typically have 62 bits, even on 32-bit machines.
61On 32-bit hosts, this raises the limit on buffer sizes from about 512 MiB
62to about 2 GiB.
63
64---
65** By default, the installed Info and man pages are compressed.
66You can disable this by configuring --without-compress-info.
67
68---
69** There are new configure options:
70--with-mmdf, --with-mail-unlink, --with-mailhost.
71These provide no new functionality, they just remove the need to edit
72lib-src/Makefile by hand in order to use the associated features.
73
74---
75** There is a new configure option --enable-use-lisp-union-type.
76This is only useful for Emacs developers to debug certain types of bugs.
77This is not a new feature; only the configure flag is new.
78
79---
80** The standalone programs digest-doc and sorted-doc are removed.
81Emacs now uses Lisp commands `doc-file-to-man' and `doc-file-to-info'.
82
83---
84** The standalone program `fakemail' is removed.
85If you need it, feedmail.el provides a superset of the functionality.
86
87\f
88* Startup Changes in Emacs 24.1
89
90---
91** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte
92command line arguments, and the EMACS_UNIBYTE environment variable, no
93longer have any effect. (They were declared obsolete in Emacs 23.)
94
95+++
96** New command line option `--no-site-lisp' removes site-lisp directories
97from load-path. -Q now implies this. This option does not affect the
98EMACSLOADPATH environment variable (and hence has no effect for
99Nextstep builds.)
100
101\f
102* Changes in Emacs 24.1
103
104+++
105** auto-mode-case-fold is now enabled by default.
106
107** Completion
108
109*** shell-mode uses pcomplete rules, with the standard completion UI.
110+++
111*** Many packages have been changed to use `completion-at-point'
112rather than their own completion code.
113+++
114*** `completion-at-point' now handles tags and semantic completion.
115---
116*** Completion in a non-minibuffer now tries to detect the end of completion
117and pops down the *Completions* buffer accordingly.
118+++
119*** Completion can cycle, depending on completion-cycle-threshold.
120+++
121*** New completion style `substring'.
122+++
123*** Completion style can be set per-category `completion-category-overrides'.
124+++
125*** Completion of buffers now uses substring completion by default.
126
127** Mail changes
128
129+++
130*** The default of `send-mail-function' is now `sendmail-query-once',
131which asks the user (once) whether to use the smtpmail package to send
132email, or to use the old defaults that rely on external mail
133facilities (`sendmail-send-it' on GNU/Linux and other Unix-like
134systems, and `mailclient-send-it' on Windows).
135
136*** smtpmail changes
137
138**** smtpmail now uses encrypted connections (via STARTTLS) if the
139mail server supports them. It also uses the auth-source framework for
140getting credentials.
141
142**** The variable `smtpmail-auth-credentials' has been removed.
143That variable used to have the default value "~/.authinfo", in which
144case you won't see any difference. But if you changed it to be a list
145of user names and passwords, that setting is now ignored; you will be
146prompted for the user name and the password, which will then be saved
147to ~/.authinfo. (To control where and how the credentials are stored,
148see the auth-source manual. You may want to change the auth-source
149preferences if you want to store the credentials encrypted, for
150instance.)
151
152You can also manually copy the credentials to your ~/.authinfo file.
153For example, if you had
154
155 (setq smtpmail-auth-credentials
156 '(("mail.example.org" 25 "jim" "s!cret")))
157
158then the equivalent line in ~/.authinfo would be
159
160 machine mail.example.org port 25 login jim password s!cret
161
162**** The variable `smtpmail-starttls-credentials' has been removed.
163
164If you had that set, then you need to put
165
166 machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert"
167
168in your ~/.authinfo file instead.
169
170*** Mail mode changes (this is the old Mail mode, not Message mode)
171+++
172**** New command `mail-add-attachment' for adding MIME attachments
173---
174**** The command `mail-attach-file' was renamed to `mail-insert-file'.
175The old name is now an obsolete alias to the new name.
176
177** Emacs server and client changes
178+++
179*** New option `server-port' specifies the port on which the Emacs
180server should listen.
181+++
182*** New emacsclient argument -q/--quiet suppresses some status messages.
183+++
184*** New emacsclient argument --frame-parameters can be used to set the
185frame parameters of a newly-created graphical frame.
186+++
187*** If emacsclient shuts down as a result of Emacs signaling an
188error, its exit status is 1.
189+++
190*** New emacsclient argument --parent-id ID.
191This opens a client frame in parent X window ID, via XEmbed, similar
192to the --parent-id argument to Emacs.
193
194** Internationalization changes
195
196+++
197*** Emacs now supports display and editing of bidirectional text.
198
199Text that includes characters from right-to-left (RTL) scripts, such
200as Arabic, Farsi, or Hebrew, is displayed in the correct visual order
201as expected by users of those scripts. This display reordering is a
202"Full bidirectionality" class implementation of the Unicode
203Bidirectional Algorithm. Buffers with no RTL text should look exactly
204the same as before.
205
206For more information, see the node "Bidirectional Editing" in the
207Emacs Manual.
208
209+++
210**** New buffer-local variable `bidi-display-reordering'.
211To disable display reordering in any given buffer, change this to nil.
212
213+++
214**** New buffer-local variable `bidi-paragraph-direction'.
215If nil (the default), Emacs determines the base direction of each
216paragraph from its text, as specified by the Unicode Bidirectional
217Algorithm.
218
219Setting this to `right-to-left' or `left-to-right' forces a particular
220base direction on each paragraph in the buffer.
221
222Paragraphs whose base direction is right-to-left are displayed
223starting at the right margin of the window.
224
225+++
226*** Enhanced support for characters with no glyphs in available fonts.
227If a character has no glyphs in any of the available fonts, Emacs
228normally displays it either as a hexadecimal code in a box or as a
229thin 1-pixel space. In addition to these two methods, Emacs can
230display these characters as empty box, as an acronym, or not display
231them at all. To change how these characters are displayed, customize
232the variable `glyphless-char-display-control'.
233
234On character terminals, these methods are used for characters that
235cannot be encoded by the `terminal-coding-system'.
236
237---
238*** New input methods for Farsi: farsi and farsi-translit.
239
240+++
241*** `nobreak-char-display' now also highlights Unicode hyphen chars
242(U+2010 and U+2011).
243
244---
245*** New translation of the Emacs Tutorial in Hebrew is available.
246Type `C-u C-h t' to choose it in case your language setup doesn't
247automatically select it.
248
249** Improved GTK integration
250+++
251*** GTK scroll-bars are now placed on the right by default.
252Use `set-scroll-bar-mode' to change this.
253+++
254*** GTK tool bars can have just text, just images or images and text.
255Customize `tool-bar-style' to choose style. On a Gnome desktop, the default
256is taken from the desktop settings.
257---
258*** GTK tool bars can be placed on the left/right or top/bottom of the frame.
259The frame-parameter tool-bar-position controls this. It takes the values
260top, left, right or bottom. The Options => Show/Hide menu has entries
261for this.
262+++
263*** The colors for selected text (the `region' face) are taken from
264the GTK theme when Emacs is built with GTK.
265+++
266*** Emacs uses GTK tooltips by default if built with GTK. You can turn that
267off by customizing x-gtk-use-system-tooltips.
268
269+++
270** New basic faces `error', `warning', `success' are available to
271highlight strings that indicate failure, caution or successful operation.
272
273---
274** Lucid menus and dialogs can display antialiased fonts if Emacs is built
275with Xft. To change font, use the X resource font, for example:
276Emacs.pane.menubar.font: Courier-12
277
278+++
279** On graphical displays, the mode-line no longer ends in dashes.
280Also, the first dash (which does not indicate anything) is just
281displayed as a space.
282
283+++
284** Basic SELinux support has been added.
285This requires Emacs to be linked with libselinux at build time.
286
287+++
288*** Emacs preserves the SELinux file context when backing up, and
289optionally when copying files. To this end, copy-file has an extra
290optional argument, and backup-buffer and friends include the SELinux
291context in their return values.
292
293+++
294*** The new functions file-selinux-context and set-file-selinux-context
295get and set the SELinux context of a file.
296---
297*** Tramp offers handlers for file-selinux-context and set-file-selinux-context
298for remote machines which support SELinux.
299
300** Changes for exiting Emacs
301+++
302*** The function kill-emacs is now run upon receipt of the signals
303SIGTERM and SIGHUP, and upon SIGINT in batch mode.
304+++
305*** kill-emacs-hook is now also run in batch mode.
306If you have code that adds something to kill-emacs-hook, you should
307consider if it is still appropriate to add it in the noninteractive case.
308
309** Scrolling changes
310+++
311*** New scrolling commands `scroll-up-command' and `scroll-down-command'
312(bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom
313of buffer at first key-press (instead move to top/bottom of buffer)
314when `scroll-error-top-bottom' is non-nil.
315+++
316*** New variable `scroll-error-top-bottom' (see above).
317+++
318*** New scrolling commands `scroll-up-line' and `scroll-down-line'
319scroll a line instead of full screen.
320+++
321*** New property `scroll-command' should be set on a command's symbol to
322define it as a scroll command affected by `scroll-preserve-screen-position'.
323+++
324*** If you customize `scroll-conservatively' to a value greater than 100,
325Emacs will never recenter point in the window when it scrolls due to
326cursor motion commands or commands that move point (e.f., `M-g M-g').
327Previously, you needed to use `most-positive-fixnum' as the value of
328`scroll-conservatively' to achieve the same effect.
329---
330*** ``Aggressive'' scrolling now honors the scroll margins.
331If you customize `scroll-up-aggressively' or
332`scroll-down-aggressively' and move point off the window, Emacs now
333scrolls the window so as to avoid positioning point inside the scroll
334margin.
335
336** Trash changes
337+++
338*** `delete-by-moving-to-trash' now only affects commands that specify
339trashing. This avoids inadvertently trashing temporary files.
340+++
341*** Calling `delete-file' or `delete-directory' with a prefix argument
342now forces true deletion, regardless of `delete-by-moving-to-trash'.
343
344+++
345** New option `list-colors-sort' defines the color sort order
346for `list-colors-display'.
347
348** An Emacs Lisp package manager is now included.
349This is a convenient way to download and install additional packages,
350from a package repository at http://elpa.gnu.org.
351+++
352*** `M-x list-packages' shows a list of packages, which can be
353selected for installation.
354+++
355*** New command `describe-package', bound to `C-h P'.
356+++
357*** By default, all installed packages are loaded and activated
358automatically when Emacs starts up. To disable this, set
359`package-enable-at-startup' to nil. To change which packages are
360loaded, customize `package-load-list'.
361
362** Custom Themes
363+++
364*** `M-x customize-themes' lists Custom themes which can be enabled.
365+++
366*** New option `custom-theme-load-path' is the load path for themes.
367Emacs no longer looks for custom themes in `load-path'. The default
368is to search in `custom-theme-directory', followed by a built-in theme
369directory named "themes/" in `data-directory'.
370+++
371*** New option `custom-safe-themes' records known-safe theme files.
372If a theme is not in this list, Emacs queries before loading it, and
373offers to save the theme to `custom-safe-themes' automatically. By
374default, all themes included in Emacs are treated as safe.
375
376** The user option `remote-file-name-inhibit-cache' controls whether
377the remote file-name cache is used for read access.
378
379** File- and directory-local variable changes
380+++
381*** You can stop directory local vars from applying to subdirectories.
382Add an element (subdirs . nil) to the alist portion of any variables
383settings to indicate that the section should not apply to
384subdirectories.
385+++
386*** Directory local variables can apply to some file-less buffers.
387Affected modes include dired, vc-dir, and log-edit. For example,
388adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will
389turn on `whitespace-mode' for *vc-diff* buffers. Modes should call
390`hack-dir-local-variables-non-file-buffer' to support this.
391+++
392*** Using "mode: MINOR-MODE" to enable a minor mode is deprecated.
393Instead, use "eval: (minor-mode 1)".
394
395+++
396*** The variable `inhibit-first-line-modes-regexps' has been renamed
397to `inhibit-local-variables-regexps'. As the name suggests, it now
398applies to ALL file local variables, not just -*- mode ones.
399The associated `inhibit-first-line-modes-suffixes' has been renamed
400in the corresponding way.
401
402+++
403** The variable `focus-follows-mouse' now always defaults to nil.
404
405** New primitive `secure-hash' that supports many secure hash algorithms
406including md5, sha-1 and sha-2 (sha-224, sha-256, sha-384 and sha-512).
407The elisp implementation sha1.el is removed. Feature sha1 is provided
408by default.
409
410** Menu-bar changes
411---
412*** `menu-bar-select-buffer-function' lets you choose another operation
413instead of `switch-to-buffer' when selecting an item in the Buffers menu.
414
415** Window changes
416
417+++
418*** Resizing an Emacs frame now preserves proportional window sizes,
419modulo restrictions like window minimum sizes and fixed-size windows.
420
421*** The behavior of `display-buffer' is now customizable in detail.
422+++
423**** New option `display-buffer-base-action' specifies a list of
424user-determined display "actions" (functions and optional arguments
425for choosing the displaying window).
426
427This takes precedence over the default display action, which is
428specified by `display-buffer-fallback-action'.
429
430+++
431**** New option `display-buffer-alist' maps buffer name regexps to
432display actions, taking precedence over `display-buffer-base-action'.
433
434+++
435*** New option `window-combination-limit'.
436The new option `window-combination-limit' allows to return the space
437obtained for resizing or creating a window more reliably to the window
438from which such space was obtained.
439
440+++
441*** New option `window-combination-resize'.
442The new option `window-combination-resize' allows to split a window that
443otherwise cannot be split because it's too small by stealing space from
444other windows in the same combination. Subsequent resizing or deletion
445of the window will resize all windows in the same combination as well.
446
447+++
448*** New commands `maximize-window' and `minimize-window'.
449These maximize and minimize the size of a window within its frame.
450
451+++
452*** New commands `switch-to-prev-buffer' and `switch-to-next-buffer'.
453These functions allow to navigate through the live buffers that have
454been shown in a specific window.
455
456** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'.
457This is handy for minibuffer-only frames, and is also used for the "mouse-1
458pops up *Messages*" feature, which can now easily be changed.
459
460\f
461* Editing Changes in Emacs 24.1
462
463** Search changes
464+++
465*** C-y in Isearch is now bound to isearch-yank-kill, instead of
466isearch-yank-line.
467+++
468*** M-y in Isearch is now bound to isearch-yank-pop, instead of
469isearch-yank-kill.
470+++
471*** M-s C-e in Isearch is now bound to isearch-yank-line.
472
473+++
474** New commands `count-words-region' and `count-words'.
475
476*** `count-lines-region' is now an alias for `count-words-region',
477bound to M-=, which shows the number of lines, words, and characters.
478
479+++
480** The default value of `backup-by-copying-when-mismatch' is now t.
481
482+++
483** The command `just-one-space' (M-SPC), if given a negative argument,
484also deletes newlines around point.
485
486** Deletion changes
487+++
488*** New option `delete-active-region'.
489If non-nil, [delete] and DEL delete the region if it is active and no
490prefix argument is given. If set to `kill', these commands kill
491instead.
492+++
493*** New command `delete-forward-char', bound to [delete].
494This is meant for interactive use, and obeys `delete-active-region'.
495The command `delete-char' does not obey `delete-active-region'.
496---
497*** `delete-backward-char' is now a Lisp function.
498Apart from obeying `delete-active-region', its behavior is unchanged.
499However, the byte compiler now warns if it is called from Lisp; you
500should use delete-char with a negative argument instead.
501---
502*** The option `mouse-region-delete-keys' has been deleted.
503
504** Selection changes.
505
506The default handling of clipboard and primary selections was changed
507to conform with modern X applications. In short, most commands for
508killing and yanking text now use the clipboard, while mouse commands
509use the primary selection.
510
511In the following, we provide a list of these changes, followed by a
512list of steps to get the old behavior back if you prefer that.
513
514+++
515*** `select-active-regions' now defaults to t.
516Merely selecting text (e.g. with drag-mouse-1) no longer puts it in
517the kill ring. The selected text is put in the primary selection, if
518the system possesses a separate primary selection facility (e.g. X).
519
520+++
521**** `select-active-regions' also accepts a new value, `only'.
522This means to only set the primary selection for temporarily active
523regions (usually made by mouse-dragging or shift-selection);
524"ordinary" active regions, such as those made with C-SPC followed by
525point motion, do not alter the primary selection.
526
527---
528**** `mouse-drag-copy-region' now defaults to nil.
529
530+++
531*** mouse-2 is now bound to `mouse-yank-primary'.
532This pastes from the primary selection, ignoring the kill-ring.
533Previously, mouse-2 was bound to `mouse-yank-at-click'.
534
535+++
536*** `x-select-enable-clipboard' now defaults to t on all platforms.
537+++
538*** `x-select-enable-primary' now defaults to nil.
539Thus, commands that kill text or copy it to the kill-ring (such as
540M-w, C-w, and C-k) also use the clipboard---not the primary selection.
541
542---
543**** The "Copy", "Cut", and "Paste" items in the "Edit" menu are now
544exactly equivalent to, respectively M-w, C-w, and C-y.
545
546---
547**** Note that on MS-Windows, `x-select-enable-clipboard' was already
548non-nil by default, as Windows does not support the primary selection
549between applications.
550
551---
552*** To return to the previous behavior, do the following:
553**** Change `select-active-regions' to nil.
554**** Change `mouse-drag-copy-region' to t.
555**** Change `x-select-enable-primary' to t (on X only).
556**** Change `x-select-enable-clipboard' to nil.
557**** Bind `mouse-yank-at-click' to mouse-2.
558
559+++
560*** Support for X cut buffers has been removed.
561
562*** X clipboard managers are now supported.
563To inhibit this, change `x-select-enable-clipboard-manager' to nil.
564
565+++
566** New command `rectangle-number-lines', bound to `C-x r N', numbers
567the lines in the current rectangle. With a prefix argument, this
568prompts for a number to count from and for a format string.
569
570+++
571** The default value of redisplay-dont-pause is now t
572This makes Emacs feel more responsive to editing commands that arrive
573at high rate, e.g. if you lean on some key, because stopping redisplay
574in the middle (when this variable is nil) forces more expensive
575updates later on, and Emacs appears to be unable to keep up.
576
577+++
578** The behavior of <TAB> for active regions in Text mode has changed.
579In Text and related modes, typing <TAB> (`indent-for-tab-command')
580when the region is active causes Emacs to indent all the lines in the
581region, aligning them with the line previous to the first line in the
582region (or with the left margin if there is no previous line).
583
584\f
585* Changes in Specialized Modes and Packages in Emacs 24.1
586
587+++
588** Archive Mode has basic support for browsing and updating 7z archives.
589
590+++
591** browse-url has a new variable `browse-url-mailto-function'
592specifies how mailto: URLs are handled. The default is `browse-url-mail'.
593
594---
595** BibTeX mode
596
597*** BibTeX mode now supports biblatex.
598Use the variable bibtex-dialect to select support for different BibTeX
599dialects. bibtex-entry-field-alist is now an obsolete alias for
600bibtex-BibTeX-entry-alist.
601
602*** New command `bibtex-search-entries' bound to C-c C-a.
603
604*** New `bibtex-entry-format' option `sort-fields', disabled by default.
605
606*** New variable `bibtex-search-entry-globally'.
607
608** Calendar, Diary, and Appt
609
610+++
611*** Diary entries can contain non-printing `comments'.
612See the variable `diary-comment-start'.
613
614+++
615*** Appointments can specify their individual warning times.
616See the variable `appt-warning-time-regexp'.
617
618---
619*** The function specified by `appt-disp-window-function' may be passed
620lists of arguments if multiple appointments are due at similar times.
621If you are using a custom function for this, you should update it.
622
623+++
624*** New function `diary-hebrew-birthday'.
625
626---
627*** Elements of `calendar-day-abbrev-array' and `calendar-month-abbrev-array'
628may no longer be nil, but must all be strings.
629
630---
631*** The obsolete (since Emacs 22.1) method of enabling the appt package
632by adding appt-make-list to diary-hook has been removed. Use appt-activate.
633
634---
635*** Some appt variables (obsolete since Emacs 22.1) have been removed:
636appt-issue-message (use the function appt-activate)
637appt-visible/appt-msg-window (use the variable appt-display-format)
638
639---
640*** Some diary function aliases (obsolete since Emacs 22.1) have been removed:
641view-diary-entries, list-diary-entries, show-all-diary-entries
642
643** CC Mode (C, C++, etc.)
644
645*** New feature to "guess" the style in an existing buffer.
646
647** comint and modes derived from it use the generic completion code.
648
649** Compilation mode
650---
651*** Compilation mode can be used without font-lock-mode.
652`compilation-parse-errors-function' is now obsolete.
653
654*** `compilation-filter-start' is let-bound to the start of the text
655inserted by the compilation filter function, when calling
656compilation-filter-hook.
657
658*** `compilation-error-screen-columns' is obeyed in the editing buffer.
659So programming language modes can set it, whereas previously only the value
660in the *compilation* buffer was used.
661
662** Customize
663
664+++
665*** Customize buffers now contain a search field.
666The search is performed using `customize-apropos'.
667To turn off the search field, set custom-search-field to nil.
668
669+++
670*** Custom options now start out hidden if at their default values.
671Use the arrow to the left of the option name to toggle visibility.
672
673*** custom-buffer-sort-alphabetically now defaults to t.
674
675+++
676*** The color widget now has a "Choose" button, which allows you to
677choose a color via list-colors-display.
678
679** D-Bus
680
681*** It is possible now, to access alternative buses than the default
682system or session bus.
683
684*** dbus-register-{service,method,property}
685The -method and -property functions do not automatically register
686names anymore.
687
688The new function dbus-register-service registers a service known name
689on a D-Bus without simultaneously registering a property or a method.
690
691** Dired-x
692---
693*** dired-jump and dired-jump-other-window called with a prefix argument
694read a file name from the minibuffer instead of using buffer-file-name.
695
696+++
697*** The `dired local variables' feature provided by Dired-x is obsolete.
698The standard directory local variables feature replaces it.
699
700** ERC changes
701
702*** New vars `erc-autojoin-timing' and `erc-autojoin-delay'.
703If the value of `erc-autojoin-timing' is 'ident, ERC autojoins after a
704successful NickServ identification, or after `erc-autojoin-delay'
705seconds. The default value, 'ident, means to autojoin immediately
706after connecting.
707
708*** New variable `erc-coding-system-precedence': If we use `undecided'
709as the server coding system, this variable will then be consulted.
710The default is to decode strings that can be decoded as utf-8 as
711utf-8, and do the normal `undecided' decoding for the rest.
712
713** Eshell changes
714
715---
716*** The default value of `eshell-directory-name' has changed
717to be an "eshell" directory in `user-emacs-directory'.
718The old "~/.eshell/" directory is still used if it exists, though.
719
720** gdb-mi
721+++
722*** The GDB User Interface has been migrated to GDB Machine Interface.
723It now supports multithread non-stop debugging and simultaneous
724debugging of several threads.
725
726** Image mode
727
728+++
729*** RET (`image-toggle-animation') toggles animation, if applicable.
730Animation plays once, unless the option `image-animate-loop' is non-nil.
731
732** Info
733
734*** New command `info-display-manual' displays an Info manual
735specified by its name. If that manual is already visited in some Info
736buffer within the current session, the command will display that
737buffer. Otherwise, it will load the manual and display it. This is
738handy if you have many manuals in many Info buffers, and don't
739remember the name of the buffer visiting the manual you want to
740consult.
741
742+++
743*** `e' is now bound to `end-of-buffer' rather than to `Info-edit'.
744This is for compatibility with the stand-alone Info reader program,
745and also because `Info-edit' is a rarely used command that is disabled
746by default.
747
748+++
749** MH-E has been upgraded to MH-E version 8.3.1.
750See MH-E-NEWS for details.
751
752** Modula-2 mode provides auto-indentation.
753
754** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags.
755
756** Prolog mode has been completely revamped, with lots of additional
757functionality such as more intelligent indentation, electricity, support for
758more variants, including Mercury, and a lot more.
759
760** Rmail
761
762*** The command `rmail-epa-decrypt' decrypts OpenPGP data
763in the Rmail incoming message.
764
765---
766*** The variable `rmail-message-filter' no longer has any effect.
767This change was made in Emacs 23.1 but was not advertised at the time.
768Try using `rmail-show-message-hook' instead.
769
770** Shell mode
771+++
772*** Shell mode uses pcomplete rules, with the standard completion UI.
773+++
774*** The `shell' command prompts for the shell path name if the default
775directory is a remote file name and neither the environment variable
776$ESHELL nor the variable `explicit-shell-file-name' is set.
777
778---
779** SQL Mode enhancements.
780
781*** `sql-dialect' is an alias for `sql-product'.
782
783*** New variable `sql-port' specifies the port number for connecting
784to a MySQL or Postgres server.
785
786*** The command `sql-product-interactive' now takes a prefix argument,
787which causes it to prompt for an SQL product instead of the current
788value of `sql-product'.
789
790*** Product-specific SQL interactive commands now take prefix args.
791These commands (`sql-sqlite', `sql-postgres', `sql-mysql', etc.),
792given a prefix argument, prompt for a name for the SQL interactive
793buffer. This reduces the need for calling `sql-rename-buffer'.
794
795*** SQL interactive modes suppress command continuation prompts, and
796replace tabs with spaces. The first change impacts multiple line SQL
797statements entered with C-j between each line, statements yanked into
798the buffer and statements sent with `sql-send-*' functions. The
799second change prevents the MySQL and Postgres interpreters from
800listing object name completions when sent text via `sql-send-*'
801functions.
802
803*** New custom variables control prompting for login parameters.
804Each supported product has a custom variable `sql-*-login-params',
805which is a list of the parameters to be prompted for before a
806connection is established.
807
808*** New variable `sql-connection-alist' for login parameter values.
809This can be used to store different username, database and server
810values. Connections defined in this variable appear in the submenu
811SQL->Start... for making new SQLi sessions.
812
813*** New command `sql-connect' starts a predefined SQLi session,
814using the login parameters from `sql-connection-alist'.
815
816*** New "Save Connection" menu item in SQLi buffers.
817This gathers the login params specified for the SQLi session, if it
818was not started by a connection, and saves them as a new connection.
819
820*** Commands for listing database objects and details.
821In an SQLi session, you can get a list of objects in the database.
822The contents of these lists are product specific.
823
824**** `C-c C-l a' or the "SQL->List all objects" menu item
825lists all the objects in the database. With a prefix argument, it
826displays additional details or extend the listing to include other
827schemas objects.
828
829**** `C-c C-l t' or the "SQL->List Table details" menu item
830prompts for the name of a database table or view and displays the list
831of columns in the relation. With a prefix argument, it displays
832additional details about each column.
833
834*** New options `sql-send-terminator' and `sql-oracle-scan-on'.
835
836*** An API for manipulating SQL product definitions has been added.
837
838** TeX modes
839
840*** latex-electric-env-pair-mode keeps \begin..\end matched on the fly.
841
842** Tramp
843---
844*** There exists a new inline access method "ksu" (kerberized su).
845---
846*** The following access methods are discontinued: "ssh1_old",
847"ssh2_old", "scp1_old", "scp2_old", "imap", "imaps" and "fish".
848---
849*** The option `ange-ftp-binary-file-name-regexp' has changed its
850default value to "".
851
852** `url-queue-retrieve' downloads web pages asynchronously, but allow
853controlling the degree of parallelism.
854
855** VC and related modes
856
857+++
858*** Support for pulling on distributed version control systems.
859`C-x v +' (`vc-pull') runs a "pull" operation, if it is supported, to
860update the current branch and working tree. A prefix argument means
861to prompt the user for specifics, e.g. a pull location.
862
863**** `vc-update' is now an alias for `vc-pull'.
864
865**** Currently supported by Bzr, Git, and Mercurial.
866
867+++
868*** Support for merging on distributed version control systems.
869The vc-merge command now runs a "merge" operation, if it is supported,
870to merge changes from another branch into the current one. It prompts
871for specifics, e.g. a merge source.
872
873**** Currently supported for Bzr, Git, and Mercurial.
874
875+++
876*** New option `vc-revert-show-diff' controls whether `vc-revert'
877shows a diff while querying the user. It defaults to t.
878
879+++
880*** Log entries in some Log View buffers can be toggled to display a
881longer description by typing RET (log-view-toggle-entry-display).
882In the Log View buffers made by `C-x v L' (vc-print-root-log), you can
883use this to display the full log entry for the revision at point.
884
885**** Currently supported for Bzr, Git, and Mercurial.
886
887**** Packages using Log View mode can enable this functionality by
888binding `log-view-expanded-log-entry-function' to a suitable function.
889
890+++
891*** New command `vc-ediff' allows visual comparison of two revisions
892of a file similar to `vc-diff', but using ediff backend.
893
894+++
895*** The option `vc-initial-comment' was removed in Emacs 23.2, but
896this was not advertised at the time.
897
898+++
899*** `vc-toggle-read-only' is an obsolete alias for `toggle-read-only'.
900Since Emacs 23, it has done the same thing as `toggle-read-only', but
901this was not advertised at the time.
902
903** FIXME: xdg-open for browse-url and reportbug, 2010/08.
904
905** Obsolete modes
906
907*** partial-completion-mode is obsolete.
908You can get a comparable behavior with:
909(setq completion-styles '(partial-completion initials))
910(setq completion-pcm-complete-word-inserts-delimiters t)
911
912*** pc-mode.el is obsolete.
913
914*** sregex.el is obsolete, since rx.el is a strict superset.
915
916*** s-region.el and pc-select are obsolete.
917They are superseded by shift-select-mode enabled by default in 23.1.
918
919** Miscellaneous
920
921+++
922*** The Landmark game is now invoked with `landmark', not `lm'.
923
924---
925*** In `ido-file-completion-map', C-v is no longer bound to ido-toggle-vc.
926(This interfered with cua-mode.)
927
928+++
929*** f90.el has some support for Fortran 2008 syntax.
930
931---
932*** `copyright-fix-years' can optionally convert consecutive years to ranges.
933
934+++
935*** New command `nato-region' converts text to NATO phonetic alphabet.
936
937\f
938* New Modes and Packages in Emacs 24.1
939
940+++
941** Occur Edit mode applies edits made in *Occur* buffers to the
942original buffers. It is bound to "e" in Occur mode.
943
944** New global minor modes electric-pair-mode, electric-indent-mode,
945and electric-layout-mode.
946
947** tabulated-list.el provides a generic major mode for tabulated data,
948from which other modes can be derived.
949
950** pcase.el provides the ML-style pattern matching macro `pcase'.
951
952** secrets.el is an implementation of the Secret Service API, an
953interface to password managers like GNOME Keyring or KDE Wallet. The
954Secret Service API requires D-Bus for communication. The command
955`secrets-show-secrets' offers a buffer with a visualization of the
956secrets.
957
958** notifications.el provides an implementation of the Desktop
959Notifications API. It requires D-Bus for communication.
960
961** soap-client.el supports access to SOAP web services from Emacs.
962soap-inspect.el is an interactive inspector for SOAP WSDL structures.
963
964** xmodmap-generic-mode for xmodmap files.
965
966** New emacs-lock.el package.
967(The pre-existing one has been renamed to old-emacs-lock.el and moved
968to obsolete/.) Now, Emacs Lock is a proper minor mode
969`emacs-lock-mode'. Protection against exiting Emacs and killing the
970buffer can be set separately. The mechanism for auto turning off
971protection for buffers with inferior processes has been generalized.
972
973\f
974* Incompatible Lisp Changes in Emacs 24.1
975
976---
977** `char-direction-table' and the associated function `char-direction'
978were deleted. They were buggy and inferior to the new support of
979bidirectional editing introduced in Emacs 24. If you need the
980bidirectional properties of a character, use `get-char-code-property'
981with the last argument `bidi-class'.
982
983+++
984** `copy-directory' now copies the source directory as a subdirectory
985of the target directory, if the latter is an existing directory. The
986new optional arg COPY-CONTENTS, if non-nil, makes the function copy
987the contents directly into a pre-existing target directory.
988
989** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and
990passes it to the mail user agent function. This argument specifies an
991action for returning to the caller after finishing with the mail.
992This is currently used by Rmail to delete a mail window.
993
994** For mouse click input events in the text area, the Y pixel
995coordinate in the POSITION list now counts from the top of the text
996area, excluding any header line. Previously, it counted from the top
997of the header line.
998
999---
1000** Support for "old-style" backquotes, which have been obsolete for
1001more than 10 years, has been further reduced. Now a backquote not
1002followed by a space is always treated as a "new-style" backquote.
1003Please consider completely removing all "old-style" backquotes from
1004your code as a matter of some urgency. If your code uses backquotes
1005as documented in the Elisp manual, and compiles without warning, then
1006you have nothing to do in this regard. Code not following the
1007appropriate conventions may fail to compile. The most common cause of
1008trouble seems to be an old-style backquote followed by a newline.
1009
1010---
1011** view-buffer now treats special mode-class in the same way that
1012view-file has since Emacs 22 (ie, it won't enable View mode if the
1013major-mode is special).
1014
1015** Passing a nil argument to a minor mode defined by define-minor-mode
1016now turns the mode ON unconditionally. This is so that you can write, e.g.
1017 (add-hook 'text-mode-hook 'foo-minor-mode)
1018to enable foo-minor-mode in Text mode buffers, thus removing the need
1019for `turn-on-foo-minor-mode' style functions.
1020
1021+++
1022** During startup, Emacs no longer adds entries for `menu-bar-lines'
1023and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'.
1024With these alist entries omitted, `make-frame' checks the value of the
1025variable `menu-bar-mode'/`tool-bar-mode' to determine whether to create
1026a menu-bar or tool-bar, respectively. If the alist entries are added,
1027they override the value of `menu-bar-mode'/`tool-bar-mode'.
1028
1029+++
1030** Regions created by mouse dragging are now normal active regions,
1031similar to the ones created by shift-selection. In previous Emacs
1032versions, these regions were delineated by `mouse-drag-overlay', which
1033has now been removed.
1034
1035+++
1036** The fourth argument of filter-buffer-substring, which says to remove
1037text properties from the final result, has been removed.
1038Eg simply pass the result through substring-no-properties if you need this.
1039
1040---
1041** cl.el no longer provides `cl-19'.
1042
1043** The menu bar bindings's caches are not used any more.
1044Use (where-is-internal <def> nil t) instead.
1045
1046+++
1047** The following obsolete (mostly since at least 21.1) functions and aliases
1048have been removed (the appropriate new function is given in parentheses):
1049comint-kill-output (comint-delete-output),
1050decompose-composite-char (char-to-string),
1051outline-visible (outline-invisible-p),
1052internal-find-face (facep), internal-get-face (facep and check-face),
1053frame-update-faces (not needed),
1054frame-update-face-colors (frame-set-background-mode),
1055x-frob-font-weight and x-frob-font-slant (appropriate make-face-* function),
1056x-make-font-bold and x-make-font-demibold (make-face-bold),
1057x-make-font-italic and x-make-font-oblique (make-face-italic),
1058x-make-font-bold-italic (make-face-bold-italic),
1059x-make-font-unbold (make-face-unbold),
1060x-make-font-unitalic (make-face-unitalic),
1061mldrag-drag-mode-line (mouse-drag-mode-line),
1062mldrag-drag-vertical-line (mouse-drag-vertical-line),
1063iswitchb-default-keybindings (iswitchb-mode), char-bytes (== 1),
1064isearch-return-char (isearch-printing-char), make-local-hook (not needed)
1065
1066+++
1067** The following obsolete (mostly since at least 21.1) variables and varaliases
1068have been removed (the appropriate new variable is given in parentheses):
1069checkdoc-minor-keymap (checkdoc-minor-mode-map),
1070vc-header-alist (vc-BACKEND-header), directory-sep-char (== ?/)
1071font-lock-defaults-alist (font-lock-defaults), and e (float-e).
1072
1073---
1074** The following obsolete files were removed:
1075sc.el, x-menu.el, rnews.el, rnewspost.el
1076
1077** FIXME finder-inf.el changes.
1078
1079\f
1080* Lisp changes in Emacs 24.1
1081
1082+++
1083** Code can now use lexical scoping by default instead of dynamic scoping.
1084The `lexical-binding' variable lets code use lexical scoping for local
1085variables. It is typically set via a file-local variable in the first
1086line of the file, in which case it applies to all the code in that file.
1087+++
1088*** `eval' takes a new optional argument `lexical' to choose the new lexical
1089binding instead of the old dynamic binding mode.
1090+++
1091*** Lexically scoped interpreted functions are represented with a new form
1092of function value which looks like (closure ENV ARGS &rest BODY).
1093
1094*** New macro `letrec' to define recursive local functions.
1095+++
1096*** New function `special-variable-p' to check whether a variable is
1097declared as dynamically bound.
1098
1099+++
1100** An Emacs Lisp testing tool is now included.
1101Emacs Lisp developers can use this tool to write automated tests for
1102their code. See the ERT info manual for details.
1103
1104** Changes for bidirectional display and editing
1105
1106+++
1107*** New function `current-bidi-paragraph-direction'.
1108This returns the actual value of base direction of the paragraph at
1109point.
1110
1111+++
1112*** New function `bidi-string-mark-left-to-right'.
1113Given a string containing characters from right-to-left (RTL) scripts,
1114this function returns another string which can be safely inserted into
1115a buffer, such that any following text will be always displayed to the
1116right of that string. (This works by appending the Unicode
1117"LEFT-TO-RIGHT MARK" character when the argument string might need that.)
1118
1119This is useful when the buffer has overall left-to-right (LTR)
1120paragraph direction and you need to insert a string whose contents and
1121directionality are not known in advance, without disrupting the layout
1122of the line.
1123
1124** Window changes
1125+++
1126*** Window tree functions are accessible in Elisp.
1127Functions are provided to return the parent, siblings or child windows
1128of any window including internal windows (windows not associated with a
1129buffer) in the window tree.
1130+++
1131**** New function `window-valid-p' gives non-nil for live and internal
1132windows.
1133+++
1134**** Window manipulation can deal with internal windows.
1135Many window handling functions like `split-window', `delete-window', or
1136`delete-other-windows' as well as the window resizing functions can now
1137act on any window including internal ones.
1138+++
1139*** window-total-height/-width vs window-body-height/-width.
1140The function `window-height' has been renamed to `window-total-height'
1141and `window-width' has been renamed to `window-body-width'. The old
1142names are provided as aliases. Two new functions `window-total-width'
1143and `window-body-height' are provided.
1144+++
1145*** Window parameters specific to window handling functions.
1146For each window you can specify a parameter to override the default
1147behavior of a number of functions like `split-window', `delete-window'
1148and `delete-other-windows'. The variable `ignore-window-parameters'
1149allows to ignore processing such parameters.
1150+++
1151*** New semantics of third argument of `split-window'.
1152The third argument of `split-window' has been renamed to SIDE and can be
1153set to any of the values 'below, 'right, 'above, or 'left to make the
1154new window appear on the corresponding side of the window that shall be
1155split. Any other value of SIDE will cause `split-window' to split the
1156window into two side-by-side windows as before.
1157+++
1158*** Window resizing functions.
1159A new standard function for resizing windows called `window-resize' has
1160been introduced. This and all other functions for resizing windows no
1161longer delete any windows when they become too small.
1162+++
1163*** Deleting the selected window now selects the most recently selected
1164live window on that frame instead.
1165+++
1166*** `adjust-window-trailing-edge' adjustments.
1167`adjust-window-trailing-edge' can now deal with fixed-size windows and
1168is able to resize other windows if a window adjacent to the trailing
1169edge cannot be shrunk any more. This makes its behavior more similar to
1170that of Emacs 21 without compromising, however, its inability to delete
1171windows which was introduced in Emacs 22.
1172+++
1173*** Window-local buffer lists.
1174Windows now have local buffer lists. This means that removing a buffer
1175from display in a window will preferably show the buffer previously
1176shown in that window with its previous window-start and window-point
1177positions. This also means that the same buffer may be automatically
1178shown twice even if it already appears in another window.
1179+++
1180*** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW,
1181which if non-nil requires the buffer to be displayed in the currently
1182selected window, signaling an error otherwise. If nil, another window
1183can be used, e.g. if the selected one is strongly dedicated.
1184+++
1185*** `split-window-vertically' and `split-window-horizontally' renamed
1186to `split-window-below' and `split-window-right' respectively.
1187The old names are kept as aliases.
1188+++
1189*** Display actions
1190
1191**** The second arg to `display-buffer' and `pop-to-buffer' is now
1192named ACTION, and takes a display action of the same form as
1193`display-buffer-base-action' (see Changes, above). A non-nil,
1194non-list value is treated specially, as the old meaning.
1195
1196**** New variable `display-buffer-overriding-action'.
1197
1198**** The procedure of `display-buffer' etc. to choose a window is
1199determined by combining `display-buffer-overriding-action',
1200`display-buffer-alist', the ACTION arg, `display-buffer-base-action',
1201and `display-buffer-fallback-action'. The second and fourth of these
1202are user-customizable variables.
1203
1204See the docstring of `display-buffer' for details.
1205
1206+++
1207*** New behavior of `quit-window'.
1208The behavior of `quit-window' has been changed in order to restore the
1209state before the last buffer display operation in that window.
1210
1211+++
1212*** The new option `frame-auto-hide-function' lets you choose between
1213iconifying or deleting a frame when burying a buffer shown in a dedicated
1214frame or quitting a window showing a buffer in a frame of its own.
1215
1216+++
1217*** New functions `window-state-get' and `window-state-put'.
1218These functions allow to save and restore the state of an arbitrary
1219frame or window as an Elisp object.
1220
1221** Completion
1222
1223*** New variable completion-extra-properties used to specify extra properties
1224of the current completion:
1225- :annotate-function, same as the old completion-annotate-function.
1226- :exit-function, function to call after completion took place.
1227
1228*** Functions on completion-at-point-functions can return any of the properties
1229valid for completion-extra-properties.
1230
1231*** completion-annotate-function is obsolete.
1232
1233*** New `metadata' method for completion tables. The metadata thus returned
1234can specify various details of the data returned by `all-completions':
1235- `category' is the kind of objects returned (e.g., `buffer', `file', ...),
1236 used to select a style in completion-category-overrides.
1237- `annotation-function' to add annotations in *Completions*.
1238- `display-sort-function' to specify how to sort entries in *Completions*.
1239- `cycle-sort-function' to specify how to sort entries when cycling.
1240
1241*** minibuffer-local-filename-must-match-map is not used any more.
1242Instead, the bindings in minibuffer-local-filename-completion-map are
1243combined with minibuffer-local-must-match-map.
1244
1245*** New variable `completing-read-function' allows overriding the
1246behavior of `completing-read'.
1247
1248+++
1249** `glyphless-char-display' can now distinguish between graphical and
1250text terminal display, via a char-table entry that is a cons cell.
1251
1252** `open-network-stream' can now be used to open an encrypted stream.
1253It now accepts an optional `:type' parameter for initiating a TLS
1254connection, directly or via STARTTLS. To do STARTTLS, additional
1255parameters (`:end-of-command', `:success', `:capabilities-command')
1256must also be supplied.
1257
1258+++
1259** pre/post-command-hook are not reset to nil upon error.
1260Instead, the offending function is removed.
1261
1262** New hook types
1263
1264+++
1265*** New function `run-hook-wrapped' for running an abnormal hook by
1266passing the hook functions as arguments to a "wrapping" function.
1267Like `run-hook-with-args-until-success', it stops at the first
1268non-nil return value.
1269
1270+++
1271*** New macro `with-wrapper-hook' for running an abnormal hook as a
1272set of "wrapping" filters, similar to around advice.
1273(A version of this macro was actually added in Emacs 23.2 but was not
1274advertised at the time.)
1275
1276+++
1277** The macros `condition-case-no-debug' and `with-demoted-errors' were
1278added in Emacs 23.1, but not advertised.
1279
1280+++
1281** The new function `server-eval-at' allows evaluation of Lisp forms on
1282named Emacs server instances, using TCP sockets.
1283
1284+++
1285** `call-process' and `call-process-region' allow a `(:file "file")' spec
1286to redirect STDOUT to a file.
1287
1288---
1289** Variable `stack-trace-on-error' removed.
1290Also the debugger can now "continue" from an error, which means it will jump
1291to the error handler as if the debugger had not been invoked instead of
1292jumping all the way to the top-level.
1293
1294+++
1295** The function format-time-string now supports the %N directive, for
1296higher-resolution time stamps.
1297
1298+++
1299** New function `read-char-choice' reads a restricted set of characters,
1300discarding any inputs not inside the set.
1301
1302+++
1303** `image-library-alist' is renamed to `dynamic-library-alist'.
1304The variable is now used to load all kind of supported dynamic libraries,
1305not just image libraries. The previous name is still available as an
1306obsolete alias.
1307
1308** New variable `syntax-propertize-function'.
1309This replaces `font-lock-syntactic-keywords' which is now obsolete.
1310This allows syntax-table properties to be set independently from font-lock:
1311just call syntax-propertize to make sure the text is propertized.
1312Together with this new variable come a new hook
1313syntax-propertize-extend-region-functions, as well as two helper functions:
1314syntax-propertize-via-font-lock to reuse old font-lock-syntactic-keywords
1315as-is; and syntax-propertize-rules which provides a new way to specify
1316syntactic rules.
1317
1318+++
1319** New hook post-self-insert-hook run at the end of self-insert-command.
1320
1321+++
1322** Syntax tables support a new "comment style c" additionally to style b.
1323
1324---
1325** frame-local variables cannot be let-bound any more.
1326
1327** Major and minor mode changes
1328+++
1329*** `prog-mode' is a new major mode from which programming modes
1330should be derived.
1331
1332+++
1333**** `prog-mode-hook' can be used to enable features for programming
1334modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable
1335on-the-fly spell checking for comments and strings.
1336
1337+++
1338*** New hook `change-major-mode-after-body-hook', run by
1339`run-mode-hooks' just before any other mode hooks.
1340
1341+++
1342*** Enabled globalized minor modes can be disabled in specific major modes.
1343If the global mode is global-FOO-mode, then run (FOO-mode -1) in the
1344major mode's hook, where FOO-mode toggles the mode on a per-buffer basis.
1345
1346+++
1347*** `define-minor-mode' accepts a new keyword :variable.
1348
1349+++
1350** `delete-file' and `delete-directory' now accept optional arg TRASH.
1351Trashing is performed if TRASH and `delete-by-moving-to-trash' are
1352both non-nil. Interactively, TRASH defaults to t, unless a prefix
1353argument is supplied (see Trash changes, above).
1354
1355---
1356** `facemenu-read-color' is now an alias for `read-color'.
1357
1358+++
1359** The command `read-color' now requires a match for a color name
1360or RGB triplet, instead of signaling an error if the user provides
1361invalid input.
1362
1363+++
1364** Tool-bars can display separators.
1365Tool-bar separators are handled like menu separators in menu-bar maps,
1366i.e. via menu entries of the form `(menu-item "--")'.
1367
1368** Image API
1369
1370+++
1371*** Animated images support (currently animated gifs only).
1372
1373+++
1374**** `image-animated-p' returns non-nil if an image can be animated.
1375
1376+++
1377**** `image-animate' animates a supplied image spec.
1378
1379+++
1380**** `image-animate-timer' returns the timer object for an image that
1381is being animated.
1382
1383---
1384*** `image-extension-data' has been renamed to `image-metadata'.
1385The old name is an obsolete alias to the new one.
1386
1387+++
1388*** Emacs can be compiled with ImageMagick support.
1389This feature is not available for the Nextstep or MS ports.
1390Then the function `imagemagick-types' returns a list of image file
1391extensions that your installation of ImageMagick supports. The
1392function `imagemagick-register-types' enables ImageMagick support for
1393these image types, minus those listed in `imagemagick-types-inhibit'.
1394Visiting one of these file types will then use Image mode.
1395
1396** XML and HTML parsing
1397If Emacs is compiled with libxml2 support, there are two new functions:
1398`libxml-parse-html-region' (which parses "real world" HTML) and
1399`libxml-parse-xml-region' (which parses XML). Both return an Emacs
1400Lisp parse tree.
1401
1402FIXME: These should be front-ended by xml.el.
1403
1404** GnuTLS
1405
1406*** New library `gnutls.el'.
1407This requires Emacs to have been built with GnuTLS support.
1408The main functions are `open-gnutls-stream' and `gnutls-negotiate'.
1409It's easiest to use these functions through `open-network-stream'
1410because it can upgrade connections through STARTTLS opportunistically
1411or use plain SSL, depending on your needs. For debugging, set
1412`gnutls-log-level' greater than 0.
1413
1414** Isearch
1415
1416---
1417*** New hook `isearch-update-post-hook' that runs in `isearch-update'.
1418
1419+++
1420** Progress reporters can now "spin".
1421The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can
1422now be nil, or omitted. This makes a "non-numeric" reporter. Each
1423time you call `progress-reporter-update' on that progress reporter,
1424with a nil or omitted VALUE argument, the reporter message is
1425displayed with a "spinning bar".
1426
1427+++
1428** New variable `revert-buffer-in-progress-p' is true while a buffer is
1429being reverted, even if the buffer has a local `revert-buffer-function'.
1430
1431** New variables `delayed-warnings-list' and `delayed-warnings-hook' allow
1432deferring warnings until the main command loop is executed.
1433
1434+++
1435** `set-auto-mode' now respects mode: local variables at the end of files,
1436as well as those in the -*- line.
1437
1438---
1439** rx.el has a new `group-n' construct for explicitly numbered groups.
1440
1441+++
1442** New function `make-composed-keymap' that constructs a new keymap
1443from multiple input maps. You can use this to make a keymap that
1444inherits from multiple maps, eg:
1445 (set-keymap-parent newmap (make-composed-keymap othermap parent))
1446
1447+++
1448** Set `debug-on-event' to make Emacs enter the debugger e.g. on receipt
1449of SIGUSR1. This can be useful when `inhibit-quit' is set.
1450
1451+++
1452** New reader macro ## that stands for the empty symbol.
1453This means that the empty symbol can now be read back. Also, #: by itself
1454(when not immediately followed by a possible symbol character) stands for
1455an empty uninterned symbol.
1456
1457+++
1458** New math functions `isnan', `copysign', `frexp', `ldexp'.
1459
1460** Obsolete functions and variables
1461
1462---
1463*** `tooltip-use-echo-area' is obsolete.
1464Rather than setting this to t, disable Tooltip mode instead.
1465
1466+++
1467*** buffer-substring-filters is obsolete.
1468Use `filter-buffer-substring-functions' instead.
1469
1470---
1471*** `byte-compile-disable-print-circle' is obsolete.
1472
1473---
1474*** `deferred-action-list' and `deferred-action-function' are obsolete.
1475Use `post-command-hook' instead.
1476
1477+++
1478*** `font-lock-maximum-size' is obsolete.
1479
1480\f
1481* Changes in Emacs 24.1 on non-free operating systems
1482
1483---
1484** On MS Windows, Emacs warns when using the obsolete init file _emacs,
1485and also when HOME is set to C:\ by default.
1486
1487** New configure.bat options
1488
1489+++
1490*** --enable-checking builds Emacs with extra runtime checks.
1491
1492+++
1493*** --distfiles specifies files to be included in binary distribution.
1494
1495+++
1496*** --without-gnutls disables automatic GnuTLS detection.
1497
1498+++
1499*** --lib for general library linkage, works with the USER_LIBS build variable.
1500
1501+++
1502** New make target `dist' to create binary distribution for MS Windows.
1503
1504---
1505** The Lisp function `w32-default-color-map' is now obsolete.
1506(It is only used internally in the Emacs C code.)
1507
1508+++
1509** Customize ns-auto-hide-menu-bar to have the menu-bar hidden, but
1510reappear on mouse-over. (Requires OS X 10.6 or later.)
1511
1512\f
1513----------------------------------------------------------------------
1514This file is part of GNU Emacs.
1515
1516GNU Emacs is free software: you can redistribute it and/or modify
1517it under the terms of the GNU General Public License as published by
1518the Free Software Foundation, either version 3 of the License, or
1519(at your option) any later version.
1520
1521GNU Emacs is distributed in the hope that it will be useful,
1522but WITHOUT ANY WARRANTY; without even the implied warranty of
1523MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1524GNU General Public License for more details.
1525
1526You should have received a copy of the GNU General Public License
1527along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
1528
1529\f
1530Local variables:
1531mode: outline
1532paragraph-separate: "[ \f]*$"
1533end: