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