Autoload more carefully from Lisp. Follow aliases for function properties.
[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
17Temporary note:
18+++ indicates that the appropriate manual has already been updated.
19--- means no change in the manuals is called for.
20When you add a new item, please add it without either +++ or ---
21so we will look at it and add it to the manual.
22
23\f
24* Installation Changes in Emacs 24.2
25
26** New configure option '--enable-gcc-warnings', intended for developers.
27If building with GCC, this enables compile-time checks that warn about
28possibly-questionable C code. On a recent GNU system there should be
29no warnings; on older and on non-GNU systems the generated warnings
30may be useful.
31
32** The configure option '--disable-maintainer-mode' has been removed,
33as it was confusingly-named and rarely useful.
34
35---
36** Emacs uses libtinfo in preference to libncurses, if available.
37
38---
39** On FreeBSD and NetBSD, configure no longer adds /usr/local/lib and
40/usr/pkg/lib to the linker search path. You must add them yourself if
41you want them.
42
43---
44** On Mac OS X, configure no longer automatically adds the Fink /sw
45directories to the search path. You must add them yourself if you want them.
46
47---
48** The standalone scripts rcs-checkin and vcdiff have been removed
49(from the bin and libexec directories, respectively). The former is
50no longer relevant, the latter is replaced by lisp (in vc-sccs.el).
51
52** The configuration option '--enable-use-lisp-union-type' has been
53renamed to '--enable-check-lisp-object-type', as the resulting
54Lisp_Object type no longer uses a union to implement the compile time
55check that this option enables.
56
57\f
58* Startup Changes in Emacs 24.2
59
60** Emacs no longer searches for `leim-list.el' files beneath the standard
61lisp/ directory. There should not be any there anyway. If you have
62been adding them there, put them somewhere else, eg site-lisp.
63
64---
65** The `--no-site-lisp' command line option now works for Nextstep builds.
66
67\f
68* Changes in Emacs 24.2
69
70** Help changes
71
72*** `C-h f' (describe-function) can now perform autoloading.
73When this command is called for an autoloaded function whose docstring
74contains a key substitution construct, that function's library is
75automatically loaded, so that the documentation can be shown
76correctly. To disable this, set `help-enable-auto-load' to nil.
77
78*** `C-h f' now reports previously-autoloaded functions as "autoloaded",
79even after their associated libraries have been loaded (and the
80autoloads have been redefined as functions).
81
82** The function `current-time' now returns extended-format time stamps
83(HIGH LOW USEC PSEC) that use picosecond resolution; the PSEC
84component is new. PSEC is typically a multiple of 1000 on current
85machines. Other functions that use this format, such as
86file-attributes and format-time-string, have been changed accordingly.
87Old-format time stamps are still accepted.
88
89** New functions `system-users', `system-groups' return lists of the user
90name, group names known to the system (where possible).
91
92** If your Emacs was built from a bzr checkout, the new variable
93`emacs-bzr-version' contains information about which bzr revision was used.
94
95** ImageMagick support, if available, is automatically enabled.
96It is no longer necessary to call `imagemagick-register-types'
97explicitly to install ImageMagick image types; that function is called
98automatically at startup, or when customizing a relevant imagemagick-
99option.
100
101*** Setting `imagemagick-types-inhibit' to t now disables the use of
102ImageMagick to view images. You must call imagemagick-register-types
103afterwards if you do not use customize to change this.
104
105*** The new variable `imagemagick-enabled-types' also affects which
106ImageMagick types are treated as images. The function
107`imagemagick-filter-types' returns the list of types that will be
108treated as images.
109
110*** Images displayed via ImageMagick now support transparency and the
111:background image spec property.
112
113** Face underlining can now use a wave.
114See the "Face Attributes" section of the Elisp manual.
115
116** New fringe bitmap exclamation-mark.
117
118** String values for `initial-buffer-choice' also apply to emacsclient
119frames, if emacsclient is only told to open a new frame without
120specifying any file to visit or expression to evaluate.
121
122+++
123** You can prevent the creation of lock files by setting `create-lockfiles'
124to nil. Use with caution, and only if you really need to.
125
126+++
127** Using "unibyte: t" in Lisp source files is obsolete.
128Use "coding: raw-text" instead.
129
130** Mode line changes
131
132*** New option `mode-line-default-help-echo' specifies the help text
133(shown in a tooltip or in the echo area) for any part of the mode line
134that does not have its own specialized help text.
135
136*** You can now click mouse-3 in the coding system indicator to
137invokes `set-buffer-file-coding-system'.
138
139+++
140** Setting `enable-remote-dir-locals' to non-nil allows directory
141local variables on remote hosts.
142
143+++
144** `insert-char' is now a command, and `ucs-insert' an obsolete alias
145for it.
146
147\f
148* Editing Changes in Emacs 24.2
149
150** Search changes
151
152*** Global `M-s _' starts a symbol (identifier) incremental search,
153and `M-s _' in Isearch toggles symbol search mode.
154`M-s c' in Isearch toggles search case-sensitivity.
155
156** M-x move-to-column, if called interactively with no prefix arg, now
157prompts for a column number.
158
159** `mouse-avoidance-banish-position' can now be used to customize
160`mouse-avoidance-mode' further.
161
162** `M-=' is now bound to `count-words', not `count-words-region'.
163
164** `C-M-f' and `C-M-b' will now move to the path name separator
165character when doing minibuffer filename prompts.
166
167** `goto-char' is now bound to `M-g c'.
168
169** New command `C-x r M-w' (copy-rectangle-as-kill).
170It copies the region-rectangle as the last rectangle kill.
171
172** New input method `vietnamese-vni'.
173
174\f
175* Changes in Specialized Modes and Packages in Emacs 24.2
176
177** Term changes
178
179The variables `term-default-fg-color' and `term-default-bg-color' are
180now deprecated in favor of the `term-face' face, that you can
181customize. Also, it is now possible to customize how are displayed the
182ANSI terminal colors and styles by customizing the corresponding
183`term-color-<COLOR>', `term-color-underline' and `term-color-bold'
184faces.
185
186** CL's main entry is now (require 'cl-lib).
187`cl-lib' is like the old `cl' except that it uses the namespace cleanly,
188i.e. all its definitions have the "cl-" prefix.
189
190If `cl' provided a feature under the name `foo', then `cl-lib' provides it
191under the name `cl-foo' instead, with the exceptions of the few definitions
192that had to use `foo*' to avoid conflicts with pre-existing Elisp entities,
193which have not been renamed to `cl-foo*' but just `cl-foo'.
194
195The old `cl' is now deprecated and is nothing more than a bunch of aliases that
196provide the old non-prefixed names.
197
198** Desktop
199
200*** `desktop-path' no longer includes the "." directory. Desktop
201files are now located in ~/.emacs.d by default.
202
203** Python mode
204
205A new version of python.el, which provides several new features, including:
206per-buffer shells, better indentation, Python 3 support, and improved
207shell-interaction compatible with iPython (and virtually any other
208text based shell).
209
210*** Some user options have been replaced/renamed:
211Old defcustom: | New defcustom:
212python-indent | python-indent-offset
213python-guess-indent | python-indent-guess-indent-offset
214python-pdbtrack-do-tracking-p | python-pdbtrack-activate
215python-use-skeletons | python-skeleton-autoinsert
216
217*** Some user options have been removed:
218
219**** `python-indent-string-contents': Strings are never indented.
220
221**** `python-honour-comment-indentation':
222Comments are never considered as indentation markers themselves.
223
224**** `python-continuation-offset': Indentation is automatically
225calculated in a pep8 compliant way depending on the context.
226
227**** `python-shell-prompt-alist', `python-shell-continuation-prompt-alist':
228Have no direct mapping as the shell interaction is completely different.
229
230**** `python-python-command', `python-jython-command':
231Replaced by `python-shell-interpreter'.
232
233**** `inferior-python-filter-regexp', `python-remove-cwd-from-path',
234`python-pdbtrack-minor-mode-string', `python-source-modes':
235No longer relevant.
236
237*** Some commands have been replaced:
238Old command | New command
239python-insert-class | python-skeleton-class
240python-insert-def | python-skeleton-def
241python-insert-for | python-skeleton-for
242python-insert-if | python-skeleton-if
243python-insert-try/except | python-skeleton-try
244python-insert-try/finally | python-skeleton-try
245python-insert-while | python-skeleton-while
246python-find-function | python-nav-jump-to-defun
247python-next-statement | python-nav-forward-sentence
248python-previous-statement | python-nav-backward-sentence
249python-send-buffer | python-shell-send-buffer
250python-send-defun | python-shell-send-defun
251python-send-region | python-shell-send-region
252python-send-region-and-go | Emulate with python-shell-send-region and
253 python-shell-switch-to-shell
254python-send-string | python-shell-send-string
255python-switch-to-python | python-shell-switch-to-shell
256python-describe-symbol | python-eldoc-at-point
257
258** VHDL mode
259
260*** The free software compiler GHDL is supported (and now the default).
261
262*** Support for the VHDL-AMS packages has been added/updated.
263
264*** Updated to the 2002 revision of the VHDL standard.
265
266*** Accepts \r and \f as whitespace.
267
268** Diff mode
269
270Faces for changes now use the same diff color scheme as in modern VCSes
271where deletions are displayed in red (new faces `diff-refine-removed'
272and `smerge-refined-removed' and new definition of `diff-removed'),
273insertions in green (new faces `diff-refine-added' and
274`smerge-refined-added' and new definition of `diff-added').
275The variable `diff-use-changed-face' defines whether to use
276the face `diff-changed', or `diff-removed' and `diff-added'
277to highlight changes in context diffs.
278
279** Ediff now uses the same color scheme as Diff mode
280on high color displays.
281
282** Flymake uses fringe bitmaps to indicate errors and warnings.
283See flymake-fringe-indicator-position, flymake-error-bitmap and
284flymake-warning-bitmap.
285
286** `sh-script'
287*** Pairing of parens/quotes uses electric-pair-mode instead of skeleton-pair.
288*** `sh-electric-here-document-mode' now controls auto-insertion of here-docs.
289*** `sh-use-smie' lets you choose a new indentation and navigation code.
290
291** reStructuredText mode
292
293*** Rebind nearly all keys making room for more keys and complying
294better to usage in other modes. Describe bindings with C-c C-h.
295
296*** Major revision of indentation working very similar to other
297modes. TAB is your friend.
298
299*** Major revision of filling working fine with most of
300reStructuredText syntax. Support auto-filling.
301
302*** Major revision of comment handling.
303
304*** Major revision of fontification working with `jit-lock-mode'.
305
306*** Cover reStructuredText syntax more closely. Improve
307the experience for Sphinx users.
308
309*** `rst-insert-list' inserts new list or continues existing lists.
310
311*** Extend correct and improve customization.
312
313*** Negative prefix argument always works for `rst-adjust'.
314
315*** Reset window configuration after displaying TOC.
316
317*** Package version in `rst-version'.
318
319** New `derived-mode' filter for Ibuffer, bound to `/ M'.
320`/ m' is now bound to filter by used-mode, which used to be bound to `/ M'.
321
322** Apropos
323
324*** The faces used by Apropos are now directly customizable.
325These faces are named `apropos-symbol', `apropos-keybinding', and so on;
326see the `apropos' Custom group for details.
327
328**** The old options whose values specified faces to use were removed
329(i.e. `apropos-symbol-face', `apropos-keybinding-face', etc.).
330
331** Buffer Menu
332This package has been rewritten to use Tabulated List mode.
333
334*** Option `Buffer-menu-buffer+size-width' is now obsolete.
335Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead.
336
337** Calendar
338
339*** The calendars produced by cal-html include holidays.
340Customize cal-html-holidays to change this.
341
342** Customize
343
344*** `custom-reset-button-menu' now defaults to t.
345
346*** Non-option variables are never matched in `customize-apropos' and
347`customize-apropos-options' (i.e. the prefix argument does nothing for
348these commands now).
349
350** erc will look up server/channel names via auth-source and use the
351channel keys found, if any.
352
353** Dired
354
355*** `dired-do-async-shell-command' executes each file sequentially
356if the command ends in `;' (when operating on multiple files).
357Otherwise, it executes the command on each file in parallel.
358
359** FFAP
360
361*** The option `ffap-url-unwrap-remote' can now be a list of strings,
362specifying URL types which should be converted to remote file names at
363the FFAP prompt. The default is now '("ftp").
364
365** Follow mode
366
367*** The obsolete variable `follow-mode-off-hook' has been removed.
368
369*** Follow mode no longer works by using advice.
370The option `follow-intercept-processes' has been removed.
371
372** The `server-auth-key' variable can be used to set a permanent
373shared key for Emacs Server.
374
375** In Perl mode, new option `perl-indent-parens-as-block' causes non-block
376closing brackets to be aligned with the line of the opening bracket.
377
378** FIXME something happened to ses.el, 2012-04-17.
379
380** which-function-mode now applies to all applicable major modes by default.
381
382** Tramp
383
384+++
385*** The syntax has been extended in order to allow ad-hoc proxy
386definitions. See the manual for details.
387
388+++
389*** Remote processes are now supported also on remote Windows host.
390
391** D-Bus
392
393+++
394*** New variables `dbus-compiled-version' and `dbus-runtime-version'.
395
396+++
397*** The D-Bus object manager interface is implemented.
398
399+++
400*** Variables of type :(u)int32 and :(u)int64 accept floating points,
401if their value does not fit into Emacs's integer range.
402
403+++
404*** The function `dbus-call-method' works non-blocking now, it can be
405interrupted by C-g. `dbus-call-method-non-blocking' is obsolete.
406
407+++
408*** Signals can be sent also as unicast message.
409
410+++
411*** The argument list of `dbus-register-signal' has been extended,
412according to the new match rule types of D-Bus. See the manual for
413details.
414
415+++
416*** `dbus-init-bus' supports private connections.
417
418+++
419*** There is a new function `dbus-setenv'.
420
421+++
422** notifications.el supports now version 1.2 of the Notifications API.
423The function `notifications-get-capabilities' returns the supported
424server properties.
425
426** Package Menu
427
428*** Newly-available packages are listed in the Package Menu as "new",
429and sorted above the other "available" packages by default.
430
431** Tabulated List and packages derived from it
432
433*** New command `tabulated-list-sort', bound to `S', sorts the column
434at point, or the Nth column if a numeric prefix argument is given.
435
436** URL
437
438*** Structs made by `url-generic-parse-url' have nil `attributes' slot.
439Previously, this slot stored semicolon-separated attribute-value pairs
440appended to some imap URLs, but this is not compatible with RFC 3986.
441So now the `filename' slot stores the entire path and query components
442and the `attributes' slot is always nil.
443
444*** New function `url-encode-url' for encoding a URI string.
445The `url-retrieve' function now uses this to encode its URL argument,
446in case that is not properly encoded.
447
448** Obsolete packages:
449
450*** assoc.el
451In most cases, assoc+member+push+delq work just as well.
452And in any case it's just a terrible package: ugly semantics, terrible
453inefficiency, and not namespace-clean.
454
455*** bruce.el
456
457*** ledit.el
458
459*** mailpost.el
460
461*** mouse-sel.el
462
463*** patcomp.el
464
465*** cust-print.el
466
467\f
468* New Modes and Packages in Emacs 24.2
469\f
470* Incompatible Lisp Changes in Emacs 24.2
471
472+++
473** Docstrings starting with `*' no longer indicate user options.
474Only variables defined using `defcustom' are considered user options.
475The function `user-variable-p' is now an obsolete alias for
476`custom-variable-p'.
477
478+++
479** The return values of `defalias', `defun' and `defmacro' have changed,
480and are now undefined. For backwards compatibility, defun and
481defmacro currently return the name of the newly defined function/macro
482but this should not be relied upon.
483
484** `face-spec-set' no longer sets frame-specific attributes when the
485third argument is a frame (that usage was obsolete since Emacs 22.2).
486
487+++
488** The arguments of `dbus-register-signal' are no longer just strings,
489but keywords or keyword-string pairs. The old argument list will
490still be supported for Emacs 24.x.
491
492** The following obsolete variables and varaliases have been removed:
493
494*** `facemenu-unlisted-faces'
495*** `rmail-decode-mime-charset'
496*** `last-input-char' and `last-command-char'
497
498\f
499* Lisp changes in Emacs 24.2
500
501** New functions `autoloadp' and `autoload-do-load'.
502
503** `function-get' fetches the property of a function, following aliases.
504
505** `toggle-read-only' accepts a second argument specifying whether to
506print a message, if called from Lisp.
507
508** CL-style generalized variables are now in core Elisp.
509`setf' is autoloaded and `push' and `pop' accept generalized variables.
510
511** `defun' also accepts a (declare DECLS) form, like `defmacro'.
512The interpretation of the DECLS is determined by `defun-declarations-alist'.
513
514** `macro-declaration-function' is obsolete, use `macro-declarations-alist'.
515
516** New function `set-temporary-overlay-map'.
517
518** New macros `setq-local' and `defvar-local'.
519
520** New error type and new function `user-error'. Doesn't trigger the debugger.
521
522** The functions get-lru-window, get-mru-window and get-largest-window
523now accept a third argument to avoid choosing the selected window.
524
525** Completion
526
527*** New function `completion-table-with-quoting' to handle completion
528in the presence of quoting, such as file completion in shell buffers.
529
530*** New function `completion-table-subvert' to use an existing completion
531table, but with a different prefix.
532
533** Time
534
535*** `current-time-string' no longer requires that its argument's year
536must be in the range 1000..9999. It now works with any year supported
537by the underlying C implementation.
538
539** New function file-name-base.
540
541** New function `tty-top-frame' returns the topmost frame of a text terminal.
542
543** `automount-dir-prefix' is obsolete.
544** `buffer-has-markers-at' is obsolete.
545\f
546* Changes in Emacs 24.2 on non-free operating systems
547
548** New configure.bat options on MS-Windows:
549
550*** --without-libxml2 omits support for libxml2, even if its presence
551is detected.
552
553** When invoked with the -nw switch to run on the Windows text-mode terminal,
554Emacs now supports mouse highlight, help-echo (in the echo area), and
555mouse-autoselect-window.
556
557\f
558* Installation Changes in Emacs 24.1
559
560** Emacs can be compiled with Gtk+ 3.0 if you pass --with-x-toolkit=gtk3
561to configure. Note that other libraries used by Emacs, RSVG and GConf,
562also depend on Gtk+. You can disable them with --without-rsvg and
563--without-gconf.
564
565** Emacs can be compiled with GnuTLS support.
566This happens by default if a suitably recent version of the library is
567found at build time. To prevent this, use the configure option
568`--without-gnutls'. See below for GnuTLS features.
569
570** Emacs can be compiled with SELinux support.
571This happens by default if a suitably recent version of the library is
572found at build time. To prevent this, use the configure option
573`--without-selinux'. See below for SELinux features.
574
575** Emacs can be compiled with ImageMagick support.
576This happens by default if a suitably recent version of the library is
577found at build time. To prevent this, use the configure option
578`--without-imagemagick'. See below for ImageMagick features.
579This feature is not available for the Nextstep or MS ports.
580
581** Emacs can be compiled with libxml2 support.
582This happens by default if a suitably recent version of the library is
583found at build time. To prevent this, use the configure option
584`--without-xml2'. See below for libxml2 features.
585
586** By default, the installed Info and man pages are compressed.
587You can disable this by configuring --without-compress-info.
588
589** New configure option --with-wide-int.
590With it, Emacs integers typically have 62 bits, even on 32-bit machines.
591On 32-bit hosts, this raises the limit on buffer sizes from about 512 MiB
592to about 2 GiB.
593
594** New configure options: --with-mmdf, --with-mail-unlink, --with-mailhost.
595These provide no new functionality, they just remove the need to edit
596lib-src/Makefile by hand in order to use the associated features.
597
598** New configure option --enable-use-lisp-union-type.
599This is only useful for Emacs developers to debug certain types of bugs.
600This is not a new feature; only the configure flag is new.
601
602** The standalone programs digest-doc and sorted-doc are removed.
603Emacs now uses Lisp commands `doc-file-to-man' and `doc-file-to-info'.
604
605** The standalone program `fakemail' is removed.
606If you need it, feedmail.el provides a superset of the functionality.
607
608\f
609* Startup Changes in Emacs 24.1
610
611** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte
612command line arguments, and the EMACS_UNIBYTE environment variable, no
613longer have any effect. (They were declared obsolete in Emacs 23.)
614
615** New command line option `--no-site-lisp' removes site-lisp directories
616from load-path. -Q now implies this. This option does not affect the
617EMACSLOADPATH environment variable (and hence has no effect for
618Nextstep builds).
619
620\f
621* Changes in Emacs 24.1
622
623** Completion
624
625*** Many packages now use the `completion-at-point' command,
626rather than implementing separate completion commands.
627
628*** `completion-at-point' now handles tags and semantic completion.
629
630*** Completion in a non-minibuffer now tries to detect the end of completion
631and pops down the *Completions* buffer accordingly.
632
633*** New option `completion-cycle-threshold' allows completion cycling.
634
635*** New option `completion-category-overrides' for overriding the
636default completion style in certain circumstances.
637
638*** New completion style `substring'.
639
640*** Completion of buffer names uses `substring' completion by default.
641
642*** The option `widget-complete-field' has been removed.
643
644** Mail changes
645
646*** The first time you try sending mail, Emacs asks for a mail method.
647This is implemented by a new default for `send-mail-function', which
648is `sendmail-query-once'. This offers to use the smtpmail package, or
649to use the old defaults relying on external mail facilities
650(`sendmail-send-it' on GNU/Linux and other Unix-like systems, and
651`mailclient-send-it' on Windows).
652
653*** Typing C-c m in the buffer made by M-x report-emacs-bug transfers
654the report to your desktop's preferred mail client, if there is one.
655This uses either the "xdg-email" utility, or Mac OS's "open" command.
656
657*** See Changes in Specialized Modes and Packages for SMTPmail changes
658and Mail mode changes
659
660** Emacs server and client changes
661
662*** New option `server-port' specifies the port for TCP Emacs servers.
663
664*** New emacsclient argument -q/--quiet suppresses some status messages.
665
666*** New emacsclient argument --frame-parameters specifies the frame
667parameters of any newly-created graphical frame.
668
669*** If emacsclient shuts down due to Emacs signaling an error,
670its exit status is 1.
671
672*** New emacsclient argument --parent-id ID.
673This opens a client frame in parent X window ID, via XEmbed, similar
674to the --parent-id argument to Emacs.
675
676** Internationalization changes
677
678*** Emacs now supports display and editing of bidirectional text.
679Right-to-left (RTL) scripts, such as Arabic, Farsi, and Hebrew, are
680displayed in the correct visual order as expected by users of those
681scripts. The display reordering is a "full bidirectionality" class
682implementation of the Unicode Bidirectional Algorithm (UBA). Buffers
683with no RTL text should look exactly the same as before.
684
685**** New buffer-local variable `bidi-display-reordering'.
686To disable display reordering in a buffer, change this to nil.
687
688**** New buffer-local variable `bidi-paragraph-direction'.
689If nil (the default), Emacs determines the base direction of each
690paragraph from its text, as specified by the UBA. Setting the value
691to `right-to-left' or `left-to-right' forces a base direction on each
692paragraph.
693
694Paragraphs with right-to-left base direction are displayed starting at
695the right window edge.
696
697*** Enhanced support for characters with no glyphs in available fonts,
698or, on text terminals, characters that cannot be encoded by the
699terminal coding system. The new option `glyphless-char-display-control'
700specifies how to display them: as a hexadecimal code in a box, a thin
7011-pixel space, an empty box, etc.
702
703*** New input methods for Farsi and Bulgarian
704(farsi-isiri-9147, farsi-transliterate-banan, bulgarian-alt-phonetic).
705
706*** `nobreak-char-display' now also highlights Unicode hyphen chars
707(U+2010 and U+2011).
708
709*** New Hebrew translation of the Emacs Tutorial.
710Type `C-u C-h t' to choose it in case your language setup doesn't
711automatically select it.
712
713** An Emacs Lisp package manager is now included.
714This is a convenient way to download and install additional packages,
715from a package repository at http://elpa.gnu.org.
716
717*** M-x list-packages shows a list of packages, which can be
718selected for installation.
719
720*** New command `describe-package', bound to `C-h P'.
721
722*** By default, all installed packages are loaded automatically when
723Emacs starts up. To disable this, set `package-enable-at-startup' to
724nil. To specify the packages to load, customize `package-load-list'.
725
726** Custom theme changes
727
728*** New command `M-x customize-themes', which provides a convenient
729interface for enabling and disabling Custom themes.
730
731*** New option `custom-theme-load-path' is the load path for themes.
732Emacs no longer looks for Custom themes in `load-path'. The default
733value of `custom-theme-load-path' says to look for themes in
734`custom-theme-directory', followed by a subdirectory of
735`data-directory' named "themes/", which contains a small selection of
736built-in Custom themes.
737
738*** New option `custom-safe-themes' records known-safe theme files.
739If a theme is not in this list, Emacs queries before loading it, and
740offers to save the theme to `custom-safe-themes' automatically. By
741default, all themes included in Emacs are treated as safe.
742
743** Improved GTK integration
744
745*** GTK scroll-bars are now placed on the right by default.
746The function `set-scroll-bar-mode' can change this.
747
748*** GTK tool bars can have just text, just images or images and text.
749Customize `tool-bar-style' to choose the style. On a Gnome desktop,
750the default is taken from desktop settings.
751
752*** GTK tool bars can be placed on any edge of the frame.
753The frame-parameter tool-bar-position controls this. It takes the
754values top, left, right or bottom. The Options => Show/Hide menu has
755entries for this.
756
757*** The default colors for selected text (the `region' face) are taken
758from the GTK theme when Emacs is built with GTK.
759
760*** Emacs uses GTK tooltips by default if built with GTK.
761You can disable this by changing `x-gtk-use-system-tooltips' to nil.
762
763** Graphical interface changes
764
765*** On graphical displays, the mode-line no longer ends in dashes.
766Also, the first dash (which does not indicate anything) is just
767displayed as a space.
768
769*** `menu-bar-select-buffer-function' lets you choose another operation
770instead of `switch-to-buffer' when selecting an item in the Buffers menu.
771
772*** Lucid menus and dialogs can display antialiased fonts if Emacs is
773built with Xft. These fonts can be set via X resources, for example:
774Emacs.pane.menubar.font: Courier-12
775
776** Exiting changes
777
778*** Emacs now calls `kill-emacs' if it receives SIGTERM or SIGHUP,
779or if it receives a SIGINT signal in batch mode.
780
781*** `kill-emacs-hook' is now also run in batch mode.
782Third-party code which adds to `kill-emacs-hook' should check if they
783do the right thing in batch mode.
784
785** Scrolling changes
786
787*** New scrolling commands `scroll-up-command' and `scroll-down-command'
788(bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom
789of buffer at first key-press (instead they move to top/bottom of buffer)
790when `scroll-error-top-bottom' is non-nil.
791
792*** New option `scroll-error-top-bottom' (see above).
793
794*** New scrolling commands `scroll-up-line' and `scroll-down-line'
795scroll a line instead of full screen.
796
797*** New property `scroll-command' should be set on a command's symbol to
798define it as a scroll command affected by `scroll-preserve-screen-position'.
799
800*** If you customize `scroll-conservatively' to a value greater than 100,
801Emacs will never recenter point in the window when it scrolls due to
802cursor motion commands or commands that move point (e.f., `M-g M-g').
803Previously, you needed to use `most-positive-fixnum' as the value of
804`scroll-conservatively' to achieve the same effect.
805
806*** "Aggressive" scrolling now honors the scroll margins.
807If you customize `scroll-up-aggressively' or
808`scroll-down-aggressively' and move point off the window, Emacs now
809scrolls the window so as to avoid positioning point inside the scroll
810margin.
811
812** Basic SELinux support has been added.
813This requires Emacs to be linked with libselinux at build time.
814
815*** Emacs preserves the SELinux file context when backing up.
816Also, the function `copy-file' has an extra optional argument for
817preserving SELinux context, and the return value of `backup-buffer'
818now includes the SELinux context.
819
820*** New functions `file-selinux-context' and `set-file-selinux-context'
821get and set the SELinux context of a file.
822
823** Trash changes
824
825*** `delete-by-moving-to-trash' now only affects commands that specify
826trashing. This avoids inadvertently trashing temporary files.
827
828*** Calling `delete-file' or `delete-directory' with a prefix argument
829now forces true deletion, regardless of `delete-by-moving-to-trash'.
830
831** File- and directory-local variable changes
832
833*** You can stop directory local vars from applying to subdirectories.
834Add an element (subdirs . nil) to the alist portion of any variables
835settings to indicate that the section should not apply to
836subdirectories.
837
838*** Directory local variables can apply to some file-less buffers.
839Affected modes include dired, vc-dir, and log-edit. For example,
840adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will
841turn on `whitespace-mode' for *vc-diff* buffers. Modes should call
842`hack-dir-local-variables-non-file-buffer' to support this.
843
844*** Using "mode: MINOR-MODE" to enable a minor mode is deprecated.
845Instead, use "eval: (minor-mode 1)".
846
847*** The variable `inhibit-first-line-modes-regexps' has been renamed
848to `inhibit-local-variables-regexps'. As the name suggests, it now
849applies to ALL file local variables, not just -*- lines. The
850associated `inhibit-first-line-modes-suffixes' has been renamed in the
851corresponding way.
852
853** Window changes
854
855*** The `quit-window' command now restores the last buffer displayed
856in the quitted window.
857
858*** Resizing an Emacs frame now preserves proportional window sizes,
859modulo restrictions like window minimum sizes and fixed-size windows.
860
861*** The behavior of `display-buffer' is now customizable in detail.
862
863**** New option `display-buffer-base-action' specifies a list of
864user-determined display "actions" (functions and optional arguments
865for choosing the displaying window).
866
867This takes precedence over the default display action, which is
868specified by `display-buffer-fallback-action'.
869
870**** New option `display-buffer-alist' maps buffer name regexps to
871display actions, taking precedence over `display-buffer-base-action'.
872
873*** New option `window-combination-limit'.
874The new option `window-combination-limit' allows to return the space
875obtained for resizing or creating a window more reliably to the window
876from which such space was obtained.
877
878*** New option `window-combination-resize'.
879The new option `window-combination-resize' allows to split a window that
880otherwise cannot be split because it's too small by stealing space from
881other windows in the same combination. Subsequent resizing or deletion
882of the window will resize all windows in the same combination as well.
883
884*** New option `frame-auto-hide-function' lets you choose between
885iconifying or deleting a frame when burying a buffer in a dedicated
886frame, or quitting a window showing a buffer in a frame of its own.
887
888*** New commands `maximize-window' and `minimize-window'.
889These maximize and minimize the size of a window within its frame.
890
891*** New commands `switch-to-prev-buffer' and `switch-to-next-buffer'.
892These functions allow to navigate through the live buffers that have
893been shown in a specific window.
894
895** Minibuffer changes
896
897*** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'.
898This is handy for minibuffer-only frames, and is also used for the feature
899where mouse-1 pops up *Messages*"', which can now easily be changed.
900
901*** Minibuffers set `truncate-lines' to nil.
902If you want to change the value to something else, you could use
903for example `minibuffer-setup-hook'.
904
905** `auto-mode-case-fold' is now enabled by default.
906
907** `backup-by-copying-when-mismatch' now defaults to t.
908
909** New basic faces `error', `warning', `success'.
910These are used to highlight text indicating failure, caution or
911successful operation.
912
913** New option `list-colors-sort' defines the color sort order
914for `list-colors-display'.
915
916** The variable `focus-follows-mouse' now always defaults to nil.
917
918\f
919* Editing Changes in Emacs 24.1
920
921** Search changes
922
923*** C-y in Isearch is now bound to `isearch-yank-kill', instead of
924`isearch-yank-line'.
925
926*** M-y in Isearch is now bound to `isearch-yank-pop', instead of
927`isearch-yank-kill'.
928
929*** M-s C-e in Isearch is now bound to `isearch-yank-line'.
930
931** New commands `count-words-region' and `count-words'.
932
933*** M-= is bound to `count-words-region', not `count-lines-region'.
934The `count-words-region' command, when called interactively, reports
935the number of lines, words, and characters in the region. It is a
936superset of the old `count-lines-region', which is now an obsolete
937alias for it.
938
939** The command `just-one-space' (M-SPC), if given a negative argument,
940also deletes newlines around point.
941
942** Deletion changes
943
944*** New option `delete-active-region'.
945If non-nil, [delete] and DEL delete the region if it is active and no
946prefix argument is given. If set to `kill', those commands kill
947instead.
948
949*** New command `delete-forward-char', bound to [delete].
950This is meant for interactive use, and obeys `delete-active-region'.
951The command `delete-char' does not obey `delete-active-region'.
952
953*** `delete-backward-char' is now a Lisp function.
954Apart from obeying `delete-active-region', its behavior is unchanged.
955However, the byte compiler now warns if it is called from Lisp; Lisp
956callers should use delete-char with a negative argument instead.
957
958*** The option `mouse-region-delete-keys' has been deleted.
959
960** Selection changes.
961
962The default handling of clipboard and primary selections has been
963changed to conform with modern X applications. In short, most
964commands for killing and yanking text now use the clipboard, while
965mouse commands use the primary selection.
966
967In the following, we provide a list of these changes, followed by a
968list of steps to get the old behavior back if you prefer that.
969
970*** `select-active-regions' now defaults to t.
971Merely selecting text (e.g. with drag-mouse-1) no longer puts it in
972the kill ring. The selected text is put in the primary selection, if
973the system possesses a separate primary selection facility (e.g. X).
974
975**** `select-active-regions' also accepts a new value, `only'.
976This means to only set the primary selection for temporarily active
977regions (usually made by mouse-dragging or shift-selection);
978"ordinary" active regions, such as those made with C-SPC followed by
979point motion, do not alter the primary selection.
980
981**** `mouse-drag-copy-region' now defaults to nil.
982
983*** mouse-2 is now bound to `mouse-yank-primary'.
984This pastes from the primary selection, ignoring the kill-ring.
985Previously, mouse-2 was bound to `mouse-yank-at-click'.
986
987*** `x-select-enable-clipboard' now defaults to t on all platforms.
988
989*** `x-select-enable-primary' now defaults to nil.
990Thus, commands that kill text or copy it to the kill-ring (such as
991M-w, C-w, and C-k) also use the clipboard---not the primary selection.
992
993**** The "Copy", "Cut", and "Paste" items in the "Edit" menu are now
994exactly equivalent to M-w, C-w, and C-y respectively.
995
996**** Note that on MS-Windows, `x-select-enable-clipboard' was already
997non-nil by default, as Windows does not support the primary selection
998between applications.
999
1000*** To return to the previous behavior, do the following:
1001
1002**** Change `select-active-regions' to nil.
1003**** Change `mouse-drag-copy-region' to t.
1004**** Change `x-select-enable-primary' to t (on X only).
1005**** Change `x-select-enable-clipboard' to nil.
1006**** Bind `mouse-yank-at-click' to mouse-2.
1007
1008*** Support for X cut buffers has been removed.
1009
1010*** X clipboard managers are now supported.
1011To inhibit this, change `x-select-enable-clipboard-manager' to nil.
1012
1013** New command `C-x r N' (`rectangle-number-lines') numbers the lines
1014in the current rectangle. With a prefix argument, this prompts for a
1015number to count from and for a format string.
1016
1017** `redisplay-dont-pause' now defaults to t.
1018This makes Emacs feel more responsive to editing commands that arrive
1019at high rate, e.g. if you lean on some key, because stopping redisplay
1020in the middle (when this variable is nil) forces more expensive
1021updates later on, and Emacs appears to be unable to keep up.
1022
1023** The behavior of <TAB> for active regions in Text mode has changed.
1024In Text and related modes, typing <TAB> (`indent-for-tab-command')
1025when the region is active causes Emacs to indent all the lines in the
1026region, aligning them with the line previous to the first line in the
1027region (or with the left margin if there is no previous line).
1028
1029** When `occur' is called with a prefix argument, matching strings are
1030collected into the `*Occur*' buffer without line numbers. If there
1031are parenthesized subexpressions in the specified regexp, `occur'
1032reads replacement text that may contain \\& and \\N whose convention
1033follows `replace-match'.
1034
1035\f
1036* Changes in Specialized Modes and Packages in Emacs 24.1
1037
1038** Archive Mode has basic support for browsing and updating 7z archives.
1039
1040** BibTeX mode
1041
1042*** BibTeX mode now supports biblatex.
1043Use the variable `bibtex-dialect' to select different BibTeX dialects.
1044`bibtex-entry-field-alist' is now an obsolete alias for
1045`bibtex-BibTeX-entry-alist'.
1046
1047*** New command `bibtex-search-entries', bound to C-c C-a.
1048
1049*** New `bibtex-entry-format' option `sort-fields', disabled by default.
1050
1051*** New variable `bibtex-search-entry-globally'.
1052
1053** Browse-url
1054
1055*** New option `browse-url-mailto-function' specifies how to handle "mailto:"s.
1056
1057*** The default browser used by the package is now the "xdg-open" program,
1058on platforms that support it. This calls your desktop's preferred browser.
1059
1060** Calendar, Diary, and Appt
1061
1062*** Diary entries can contain non-printing "comments".
1063See the variable `diary-comment-start'.
1064
1065*** Appointments can specify their individual warning times.
1066See the variable `appt-warning-time-regexp'.
1067
1068*** The function specified by `appt-disp-window-function' may be passed
1069lists of arguments if multiple appointments are due at similar times.
1070If you are using a custom function for this, you should update it.
1071
1072*** New function `diary-hebrew-birthday'.
1073
1074*** Elements of `calendar-day-abbrev-array' and `calendar-month-abbrev-array'
1075may no longer be nil, but must all be strings.
1076
1077*** The obsolete (since Emacs 22.1) method of enabling the appt
1078package by adding `appt-make-list' to `diary-hook' has been removed.
1079Use `appt-activate' instead.
1080
1081*** Some appt variables (obsolete since Emacs 22.1) have been removed:
1082appt-issue-message (use the function appt-activate)
1083appt-visible/appt-msg-window (use the variable appt-display-format)
1084
1085*** Some diary function aliases (obsolete since Emacs 22.1) have been removed:
1086view-diary-entries, list-diary-entries, show-all-diary-entries
1087
1088** CC Mode
1089
1090*** New feature to "guess" the style in an existing buffer.
1091The main entry point is M-x c-guess.
1092
1093*** Java Mode now supports Java 5.0 (Tiger) and 6 (Mustang).
1094
1095*** `c-beginning-of-defun' and `c-end-of-defun' now respect nested scopes.
1096Thus C-M-a will, by default, go to the beginning of the immediate function,
1097not the top level.
1098
1099*** "Macros with semicolons" can be registered for correct indentation.
1100Where such a macro ends a line (no semicolon) the next statement is no longer
1101parsed as a statement continuation.
1102
1103** Comint and modes derived from it use the standard completion code.
1104
1105** Compilation mode
1106
1107*** Compilation mode can be used without Font Lock mode.
1108`compilation-parse-errors-function' is now obsolete.
1109
1110*** New variable `compilation-filter-start', which is bound while
1111`compilation-filter-hook' runs. It records the start position of the
1112text inserted by `compilation-filter'.
1113
1114*** `compilation-error-screen-columns' and `compilation-first-column'
1115are obeyed in the editing buffer. So programming language modes can
1116set them, whereas previously only the value in the *Compilation*
1117buffer was used.
1118
1119** Customize
1120
1121*** Customize buffers now contain a search field.
1122The search is performed using `customize-apropos'.
1123To turn off the search field, set `custom-search-field' to nil.
1124
1125*** Custom options now start out hidden if at their default values.
1126Use the arrow to the left of the option name to toggle visibility.
1127
1128*** custom-buffer-sort-alphabetically now defaults to t.
1129
1130*** The color widget now has a "Choose" button, which allows you to
1131choose a color via `list-colors-display'.
1132
1133** D-Bus
1134
1135*** It is now possible to access buses other than the default system
1136or session bus.
1137
1138*** The `dbus-register-method' and `dbus-register-property' functions
1139optionally do not register names.
1140
1141*** The new function `dbus-register-service' registers a known service
1142name on a D-Bus without also registering a property or a method.
1143
1144** Dired-x
1145
1146*** C-x C-j (`dired-jump') and C-x 4 C-j (`dired-jump-other-window'),
1147if called with a prefix argument, read a file name from the minibuffer
1148instead of using the current buffer.
1149
1150*** The "dired local variables" feature of Dired-x is obsolete.
1151The standard directory local variables feature replaces it.
1152
1153** ERC changes
1154
1155*** New options `erc-autojoin-timing' and `erc-autojoin-delay',
1156controlling attempts to autojoin a channel.
1157
1158*** New variable `erc-coding-system-precedence': If we use `undecided'
1159as the server coding system, this variable will then be consulted.
1160The default is to decode strings that can be decoded as utf-8 as
1161utf-8, and do the normal `undecided' decoding for the rest.
1162
1163** Eshell changes
1164
1165*** The default value of `eshell-directory-name' has changed
1166to be an "eshell" directory in `user-emacs-directory'.
1167The old "~/.eshell/" directory is still used if it exists, though.
1168
1169** gdb-mi
1170
1171*** The M-x gdb command now uses the GDB Machine Interface protocol.
1172It now supports multithread non-stop debugging and simultaneous
1173debugging of several threads.
1174
1175** Image mode
1176
1177*** RET (`image-toggle-animation') toggles animation, if applicable.
1178Animation plays once, unless the option `image-animate-loop' is non-nil.
1179
1180** Info
1181
1182*** New command M-x info-display-manual displays a named Info manual.
1183If that manual is already visited in some Info buffer, it displays
1184that buffer. (This is handy if you have many manuals in many *info*
1185buffers, and don't remember the name of the buffer visiting the manual
1186you want to consult.) Otherwise, it loads and displays the manual.
1187
1188*** `e' is now bound to `end-of-buffer' rather than to `Info-edit'.
1189This is for compatibility with the stand-alone Info reader program,
1190and also because `Info-edit' is a rarely used command that is disabled
1191by default.
1192
1193** Mail mode changes (not Message mode)
1194
1195*** New command M-x mail-add-attachment for adding MIME attachments
1196
1197*** The command M-x mail-attach-file was renamed to M-x mail-insert-file.
1198(Its name is misleading, since it has nothing to do with MIME
1199attachments.) The old name is now an obsolete alias to the new name.
1200
1201** MH-E has been updated to MH-E version 8.3.1.
1202See MH-E-NEWS for details.
1203
1204** Modula-2 mode provides auto-indentation.
1205
1206** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags.
1207
1208** nXML mode no longer binds C-RET to `nxml-complete'.
1209Completion is now performed via `completion-at-point', bound to C-M-i
1210or M-TAB. If `nxml-bind-meta-tab-to-complete-flag' is non-nil (the
1211default), this performs tag completion.
1212
1213** Org mode has been updated to version 7.8.09.
1214See ORG-NEWS for details.
1215
1216** Prolog mode has been completely revamped, with lots of additional
1217functionality such as more intelligent indentation, electricity,
1218support for more variants, including Mercury, and a lot more.
1219
1220** Rmail
1221
1222*** The command `rmail-epa-decrypt' decrypts OpenPGP data
1223in the Rmail incoming message.
1224
1225*** The variable `rmail-message-filter' no longer has any effect.
1226This change was made in Emacs 23.1 but was not advertised at the time.
1227Try using `rmail-show-message-hook' instead.
1228
1229** Shell mode
1230
1231*** M-x shell prompts for the shell path name if the default directory
1232is a remote file name and neither the environment variable $ESHELL nor
1233the variable `explicit-shell-file-name' is set.
1234
1235*** TAB is now bound to the standard `completion-at-point' command,
1236which now implements the pcomplete rules for shell command completion.
1237
1238** SMTPmail
1239
1240*** SMTPmail now uses encrypted connections (via STARTTLS) by default
1241if the mail server supports them. This uses either built-in GnuTLS
1242support, or the starttls.el library. Customize `smtpmail-stream-type'
1243to change this.
1244
1245*** The variable `smtpmail-auth-credentials' has been removed.
1246By default, the information is now stored in the file ~/.authinfo.
1247This was the default value of smtpmail-auth-credentials. If you had
1248customized smtpmail-auth-credentials to a list of user names and
1249passwords, those settings are not used. During your first connection
1250to the smtp server, Emacs will prompt for the user name and password,
1251and offer to save them to ~/.authinfo. Or you can manually copy the
1252credentials to ~/.authinfo. For example, if you had
1253
1254 (setq smtpmail-auth-credentials
1255 '(("mail.example.org" 25 "jim" "s!cret")))
1256
1257then the equivalent line in ~/.authinfo would be
1258
1259 machine mail.example.org port 25 login jim password s!cret
1260
1261See the auth-source manual for more information, e.g. on encrypting
1262the credentials file.
1263
1264*** The variable `smtpmail-starttls-credentials' has been removed.
1265If you had that set, you need to put
1266
1267 machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert"
1268
1269in your ~/.authinfo file instead.
1270
1271** SQL mode
1272
1273*** New options `sql-port', `sql-connection-alist', `sql-send-terminator',
1274and `sql-oracle-scan-on'.
1275
1276*** New options controlling prompting for login parameters.
1277Each supported product has a custom variable `sql-*-login-params',
1278which is a list of the parameters to be prompted for before a
1279connection is established.
1280
1281*** The command `sql-product-interactive' now takes a prefix argument,
1282which causes it to prompt for an SQL product.
1283
1284*** Product-specific SQL interactive commands now take prefix arguments.
1285These commands (`sql-sqlite', `sql-postgres', `sql-mysql', etc.),
1286given a prefix argument, prompt for a name for the SQL interactive
1287buffer. This reduces the need for calling `sql-rename-buffer'.
1288
1289*** SQL interactive modes suppress command continuation prompts, and
1290replace tabs with spaces. The first change impacts multiple line SQL
1291statements entered with C-j between each line, statements yanked into
1292the buffer and statements sent with `sql-send-*' functions. The
1293second prevents the MySQL and Postgres interpreters from listing
1294object name completions when sent text via `sql-send-*' functions.
1295
1296*** New command `sql-connect' starts a predefined SQLi session,
1297using the login parameters from `sql-connection-alist'.
1298
1299*** New "Save Connection" menu item in SQLi buffers.
1300This gathers the login params specified for the SQLi session, if it
1301was not started by a connection, and saves them as a new connection.
1302
1303*** New commands for listing database objects and details:
1304sql-list-all and sql-list-table.
1305
1306*** An API for manipulating SQL product definitions has been added.
1307
1308** TeX modes
1309
1310*** latex-electric-env-pair-mode keeps \begin..\end matched on the fly.
1311
1312** Tramp
1313
1314*** New inline access method "ksu" (kerberized su).
1315
1316*** The following access methods are discontinued: "ssh1_old",
1317"ssh2_old", "scp1_old", "scp2_old", "imap", "imaps" and "fish".
1318
1319*** The user option `remote-file-name-inhibit-cache' controls whether
1320remote file attributes are cached for better performance.
1321
1322*** The option `ange-ftp-binary-file-name-regexp' has changed its
1323default value to "".
1324
1325*** Handlers for `file-selinux-context' and `set-file-selinux-context'
1326for remote machines which support SELinux.
1327
1328** New function `url-queue-retrieve', which behaves like url-retrieve,
1329but with limits (`url-queue-parallel-processes', `url-queue-timeout') on
1330the degree of parallelism.
1331
1332** VC and related modes
1333
1334*** Support for pulling on distributed version control systems.
1335The command C-x v + (`vc-pull') runs a "pull" operation, if it is
1336supported (currently with Bzr, Git, and Mercurial), to update the
1337current branch and working tree. A prefix argument means to prompt
1338the user for specifics, e.g. a pull location.
1339
1340*** `vc-update' is now an alias for `vc-pull'.
1341
1342*** Support for merging on distributed version control systems.
1343The command C-x v m (`vc-merge') now runs a "merge" operation, if it
1344is supported (currently with Bzr, Git, and Mercurial), to merge
1345changes from another branch into the current one. It prompts for
1346specifics, e.g. a merge source.
1347
1348*** New option `vc-revert-show-diff' controls whether `vc-revert'
1349shows a diff while querying the user. It defaults to t.
1350
1351*** Log entries in some Log View buffers can be toggled to display a
1352longer description by typing RET (log-view-toggle-entry-display).
1353This is currently supported for Bzr, Git, and Mercurial (to support
1354another backend, define a `log-view-expanded-log-entry-function').
1355In the Log View buffers made by C-x v L (`vc-print-root-log'), you can
1356use this to display the full log entry for the revision at point.
1357
1358*** New command `vc-ediff' allows visual comparison of two revisions
1359of a file similar to `vc-diff', but using ediff backend.
1360
1361*** The option `vc-initial-comment' was removed in Emacs 23.2, but
1362this was not advertised at the time.
1363
1364*** `vc-toggle-read-only' is an obsolete alias for `toggle-read-only'.
1365Since Emacs 23, it has done the same thing as `toggle-read-only', but
1366this was not advertised at the time.
1367
1368** Obsolete modes
1369
1370*** abbrevlist.el
1371
1372*** erc-hecomplete.el (use erc-pcomplete.el instead)
1373
1374*** partial-completion-mode (complete.el) is obsolete.
1375You can get a comparable behavior with:
1376(setq completion-styles '(partial-completion initials))
1377(setq completion-pcm-complete-word-inserts-delimiters t)
1378
1379*** pc-mode.el is obsolete (CUA mode is much more comprehensive).
1380
1381*** pgg is obsolete (use EasyPG instead).
1382
1383*** sregex.el is obsolete, since rx.el is a strict superset.
1384
1385*** s-region.el and pc-select.el are obsolete.
1386They are superseded by shift-select-mode, enabled by default since 23.1.
1387
1388*** vc-mcvs.el is obsolete (for lack of a maintainer).
1389
1390** Miscellaneous
1391
1392*** The Landmark game is now invoked with `landmark', not `lm'.
1393Its functions and variables have been similarly renamed.
1394
1395*** In `ido-file-completion-map', C-v is no longer bound to `ido-toggle-vc'.
1396(This interfered with cua-mode.)
1397
1398*** f90.el has some support for Fortran 2008 syntax.
1399
1400*** `copyright-fix-years' can optionally convert consecutive years to ranges.
1401
1402*** New command `nato-region' converts text to NATO phonetic alphabet.
1403
1404\f
1405* New Modes and Packages in Emacs 24.1
1406
1407** Occur Edit mode applies edits made in *Occur* buffers to the
1408original buffers. It is bound to "e" in Occur mode.
1409
1410** New global minor mode electric-pair-mode.
1411When enabled, typing an open parenthesis automatically inserts the
1412matching closing one.
1413
1414** New global minor mode electric-indent-mode.
1415When enabled, typing certain characters triggers reindentation.
1416Major modes wishing to use this can set electric-indent-chars or
1417electric-indent-functions.
1418
1419** New global minor mode electric-layout-mode.
1420When enabled, typing certain characters automatically inserts newlines.
1421Major modes wishing to use this can set electric-layout-rules.
1422
1423** tabulated-list.el provides a generic major mode for tabulated data,
1424from which other modes can be derived.
1425
1426** pcase.el provides the ML-style pattern matching macro `pcase'.
1427
1428** secrets.el is an implementation of the Secret Service API, an
1429interface to password managers like GNOME Keyring or KDE Wallet. The
1430Secret Service API requires D-Bus for communication. The command
1431`secrets-show-secrets' offers a buffer with a visualization of the
1432secrets.
1433
1434** notifications.el provides an implementation of the Desktop
1435Notifications API. It requires D-Bus for communication.
1436
1437** soap-client.el supports access to SOAP web services from Emacs.
1438soap-inspect.el is an interactive inspector for SOAP WSDL structures.
1439
1440** New generic mode, xmodmap-generic-mode, for xmodmap files.
1441
1442** New emacs-lock.el package.
1443The previous version has been moved to obsolete/old-emacs-lock.el.
1444Now, there is a proper minor mode `emacs-lock-mode'. Protection
1445against exiting Emacs and killing the buffer can be set separately.
1446The mechanism for automatically turning off protection for buffers
1447with dead inferior processes has been generalized.
1448
1449\f
1450* Incompatible Lisp Changes in Emacs 24.1
1451
1452** Passing a nil argument to a minor mode function call now ENABLES
1453the minor mode unconditionally. This is so that you can write e.g.
1454
1455 (add-hook 'text-mode-hook 'foo-mode)
1456
1457to enable foo-mode in Text mode buffers, removing the need for
1458`turn-on-foo-mode' style functions. This affects all mode commands
1459defined by `define-minor-mode'. If called interactively, the mode
1460command still toggles the minor mode.
1461
1462** The return value of `backup-buffer' has changed.
1463It is now a list of three elements, where the second element is a list
1464describing the original file's SELinux context. If Emacs or the
1465system lacks SELinux support, the context list is (nil nil nil nil).
1466See "Basic SELinux support" above, under "Changes in Emacs 24.1".
1467
1468** `char-direction-table' and the `char-direction' function were deleted.
1469They were buggy and inferior to the new support of bidirectional
1470editing introduced in Emacs 24. If you need the bidirectional
1471properties of a character, use `get-char-code-property' with the last
1472argument `bidi-class'.
1473
1474** `copy-directory' now copies the source directory as a subdirectory
1475of the target directory, if the latter is an existing directory. The
1476new optional arg COPY-CONTENTS, if non-nil, makes the function copy
1477the contents directly into a pre-existing target directory.
1478
1479** For mouse click input events in the text area, the Y pixel
1480coordinate in the POSITION list now counts from the top of the text
1481area, excluding any header line. Previously, it counted from the top
1482of the header line.
1483
1484** Support for "old-style" backquotes, obsolete for 10+ years, has
1485been further reduced. Now a backquote not followed by a space is
1486always treated as a "new-style" backquote. Please remove all
1487"old-style" backquotes from your code. If your code uses backquotes
1488as documented in the Elisp manual, and compiles without warning, then
1489you have nothing to do in this regard. Code not following the
1490appropriate conventions may fail to compile.
1491
1492The most common cause of trouble seems to be an old-style backquote
1493followed by a newline. Another cause of trouble is vector notation
1494for key sequence notation: instead of [(control ,)] and [(control ')],
1495you should write [(control ?,)] and [(control ?')], which will work in
1496older Emacsen too.
1497
1498** The macro `eval-at-startup' was removed in Emacs 23.2, but this
1499was not advertised at the time. The function `custom-initialize-delay'
1500replaced all known uses.
1501
1502** `view-buffer' now treats special mode-class in the same way that
1503`view-file' has since Emacs 22 (i.e. it won't enable View mode if the
1504major mode is special).
1505
1506** Menu and tool bar changes
1507
1508*** During startup, Emacs no longer adds entries for `menu-bar-lines'
1509and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'.
1510With these alist entries omitted, `make-frame' checks the value of the
1511variable `menu-bar-mode'/`tool-bar-mode' to determine whether to create
1512a menu-bar or tool-bar, respectively. If the alist entries are added,
1513they override the value of `menu-bar-mode'/`tool-bar-mode'.
1514
1515*** The menu bar bindings's caches are not used any more.
1516Use (where-is-internal <def> nil t) instead.
1517
1518** Regions created by mouse dragging are now normal active regions,
1519similar to those created by shift-selection (see Selection changes
1520above). In previous Emacs versions, these regions were delineated by
1521`mouse-drag-overlay'; that variable has been removed.
1522
1523** The fourth argument of `filter-buffer-substring' has been removed.
1524If you want to remove text properties from the final result, simply
1525pass the result through substring-no-properties.
1526
1527** cl.el no longer provides `cl-19'.
1528
1529** The following obsolete functions and aliases have been removed
1530(the appropriate new function is given in parentheses; "not needed"
1531means you can just remove all calls to the function in question):
1532
1533*** `comint-kill-output' (`comint-delete-output')
1534*** `decompose-composite-char' (`char-to-string')
1535*** `outline-visible' (`outline-invisible-p')
1536*** `internal-find-face' (`facep')
1537*** `internal-get-face' (`facep and check-face')
1538*** `frame-update-faces' (not needed)
1539*** `frame-update-face-colors' (`frame-set-background-mode')
1540*** `x-frob-font-weight' and `x-frob-font-slant' (`make-face-*' functions)
1541*** `x-make-font-bold and x-make-font-demibold (`make-face-bold')
1542*** `x-make-font-italic' and `x-make-font-oblique' (`make-face-italic')
1543*** `x-make-font-bold-italic' (`make-face-bold-italic')
1544*** `x-make-font-unbold' (`make-face-unbold')
1545*** `x-make-font-unitalic' (`make-face-unitalic')
1546*** `mldrag-drag-mode-line' (`mouse-drag-mode-line')
1547*** `mldrag-drag-vertical-line' (`mouse-drag-vertical-line')
1548*** `iswitchb-default-keybindings' (`iswitchb-mode')
1549*** `char-bytes' (== 1)
1550*** `isearch-return-char' (`isearch-printing-char')
1551*** `make-local-hook' (not needed)
1552*** `set-screen-height' (`set-frame-height')
1553*** `set-screen-width' (`set-frame-width')
1554
1555** The following obsolete variables and varaliases have been removed
1556(the appropriate new variable is given in parentheses):
1557
1558*** `checkdoc-minor-keymap' (`checkdoc-minor-mode-map')
1559*** `vc-header-alist' (`vc-BACKEND-header')
1560*** `directory-sep-char' (== ?/)
1561*** `font-lock-defaults-alist' (`font-lock-defaults')
1562*** `e' (`float-e').
1563
1564** The following obsolete files were removed:
1565sc.el, x-menu.el, rnews.el, rnewspost.el
1566
1567** The format of the finder-inf.el file has changed, since the Finder
1568mechanism is now based on the package system. The variable
1569`finder-package-info' is replaced by `package--builtins' and
1570`finder-keywords-hash'.
1571
1572** When generating autoloads, `update-directory-autoloads' no longer
1573assumes every inspected file is in your `load-path'. It instead
1574generates relative names according to the current `load-path'.
1575
1576\f
1577* Lisp changes in Emacs 24.1
1578
1579** Code can now use lexical scoping by default instead of dynamic scoping.
1580The `lexical-binding' variable enables lexical scoping for local
1581variables. It is typically set via a file-local variable in the first
1582line of the file, in which case it applies to all the code in that
1583file.
1584
1585*** `eval' takes a new optional argument `lexical' to choose the new lexical
1586binding instead of the old dynamic binding mode.
1587
1588*** Lexically scoped interpreted functions are represented with a new form
1589of function value which looks like (closure ENV ARGS &rest BODY).
1590
1591*** New macro `letrec' to define recursive local functions.
1592
1593*** `defvar' and `defconst' now mark the variable as special (dynamic).
1594So do `defcustom' and other forms that call `defvar' as a subroutine.
1595
1596*** New function `special-variable-p' to check whether a variable is
1597declared as dynamically bound.
1598
1599*** The form ((lambda ...) ...) is deprecated.
1600
1601** An Emacs Lisp testing tool is now included.
1602Emacs Lisp developers can use this tool to write automated tests for
1603their code. See the ERT info manual for details.
1604
1605** Changes for bidirectional display and editing
1606
1607*** New function `current-bidi-paragraph-direction'.
1608This returns the base direction of the paragraph at point.
1609
1610*** New function `bidi-string-mark-left-to-right'.
1611Given a string containing characters from right-to-left scripts, this
1612function returns another string which can be safely inserted into a
1613buffer, such that any following text will be always displayed to the
1614right of that string. (This works by appending an invisible Unicode
1615"LEFT-TO-RIGHT MARK" character if the argument string might need it.)
1616
1617This is useful when the buffer has overall left-to-right paragraph
1618direction and you need to insert a string whose contents are not known
1619in advance, without disrupting the layout of the line.
1620
1621** Window changes
1622
1623*** Window tree functions are accessible in Elisp.
1624Functions are provided to return the parent, siblings or child windows
1625of any window including internal windows (windows not associated with a
1626buffer) in the window tree.
1627
1628**** New function `window-valid-p' gives non-nil for live and internal
1629windows.
1630
1631**** Window manipulation can deal with internal windows.
1632Many window handling functions like `split-window', `delete-window', or
1633`delete-other-windows' as well as the window resizing functions can now
1634act on any window including internal ones.
1635
1636*** window-total-height/-width vs window-body-height/-width.
1637The function `window-height' has been renamed to `window-total-height'
1638and `window-width' has been renamed to `window-body-width'. The old
1639names are provided as aliases. Two new functions `window-total-width'
1640and `window-body-height' are provided.
1641
1642*** Window parameters specific to window handling functions.
1643For each window you can specify a parameter to override the default
1644behavior of a number of functions like `split-window', `delete-window'
1645and `delete-other-windows'. The variable `ignore-window-parameters'
1646allows to ignore processing such parameters.
1647
1648*** New semantics of third argument of `split-window'.
1649The third argument of `split-window' has been renamed to SIDE and can be
1650set to any of the values 'below, 'right, 'above, or 'left to make the
1651new window appear on the corresponding side of the window that shall be
1652split. Any other value of SIDE will cause `split-window' to split the
1653window into two side-by-side windows as before.
1654
1655*** Window resizing functions.
1656A new standard function for resizing windows called `window-resize' has
1657been introduced. This and all other functions for resizing windows no
1658longer delete any windows when they become too small.
1659
1660*** Deleting the selected window now selects the most recently selected
1661live window on that frame instead.
1662
1663*** `adjust-window-trailing-edge' adjustments.
1664`adjust-window-trailing-edge' can now deal with fixed-size windows and
1665is able to resize other windows if a window adjacent to the trailing
1666edge cannot be shrunk any more. This makes its behavior more similar to
1667that of Emacs 21 without compromising, however, its inability to delete
1668windows which was introduced in Emacs 22.
1669
1670*** Window-local buffer lists.
1671Windows now have local buffer lists. This means that removing a buffer
1672from display in a window will preferably show the buffer previously
1673shown in that window with its previous window-start and window-point
1674positions. This also means that the same buffer may be automatically
1675shown twice even if it already appears in another window.
1676
1677*** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW,
1678which if non-nil requires the buffer to be displayed in the currently
1679selected window, signaling an error otherwise. If nil, another window
1680can be used, e.g. if the selected one is strongly dedicated.
1681
1682*** `split-window-vertically' and `split-window-horizontally' renamed
1683to `split-window-below' and `split-window-right' respectively.
1684The old names are kept as aliases.
1685
1686*** Display actions
1687
1688**** The second arg to `display-buffer' and `pop-to-buffer' is now
1689named ACTION, and takes a display action of the same form as
1690`display-buffer-base-action' (see Changes, above). A non-nil,
1691non-list value is treated specially, as the old meaning.
1692
1693**** New variable `display-buffer-overriding-action'.
1694
1695**** The procedure of `display-buffer' etc. to choose a window is
1696determined by combining `display-buffer-overriding-action',
1697`display-buffer-alist', the ACTION arg, `display-buffer-base-action',
1698and `display-buffer-fallback-action'. The second and fourth of these
1699are user-customizable variables.
1700
1701See the docstring of `display-buffer' for details.
1702
1703*** New functions `window-state-get' and `window-state-put'.
1704These functions allow to save and restore the state of an arbitrary
1705frame or window as an Elisp object.
1706
1707** Completion
1708
1709*** New variable `completion-extra-properties' used to specify extra
1710properties of the current completion:
1711- :annotate-function, same as the old completion-annotate-function.
1712- :exit-function, function to call after completion took place.
1713
1714*** Functions on `completion-at-point-functions' can return any of the
1715properties valid for `completion-extra-properties'.
1716
1717*** `completion-annotate-function' is obsolete.
1718
1719*** New `metadata' method for completion tables. The metadata thus returned
1720can specify various details of the data returned by `all-completions':
1721- `category' is the kind of objects returned (e.g., `buffer', `file', ...),
1722 used to select a style in completion-category-overrides.
1723- `annotation-function' to add annotations in *Completions*.
1724- `display-sort-function' to specify how to sort entries in *Completions*.
1725- `cycle-sort-function' to specify how to sort entries when cycling.
1726
1727*** `minibuffer-local-filename-must-match-map' is not used any more.
1728Instead, the bindings in `minibuffer-local-filename-completion-map'
1729are combined with `minibuffer-local-must-match-map'.
1730
1731*** New variable `completing-read-function' allows overriding the
1732behavior of `completing-read'.
1733
1734** `glyphless-char-display' can now distinguish between graphical and
1735text terminal display, via a char-table entry that is a cons cell.
1736
1737** `pre-command-hook'/`post-command-hook' are not reset to nil on error.
1738Instead, the offending function is removed.
1739
1740** New hook types
1741
1742*** New function `run-hook-wrapped' for running an abnormal hook by
1743passing the hook functions as arguments to a "wrapping" function.
1744Like `run-hook-with-args-until-success', it stops at the first
1745non-nil return value.
1746
1747*** New macro `with-wrapper-hook' for running an abnormal hook as a
1748set of "wrapping" filters, similar to around advice.
1749(A version of this macro was actually added in Emacs 23.2 but was not
1750advertised at the time.)
1751
1752** Debugger changes
1753
1754*** New macro `condition-case-unless-debug' (this was actually added in
1755Emacs 23.1 as condition-case-no-debug, but not advertised)
1756
1757*** The macro `with-demoted-errors' was added in Emacs 23.1, but not advertised.
1758
1759*** Variable `stack-trace-on-error' removed.
1760
1761*** The debugger can now "continue" from an error, which means it will
1762jump to the error handler as if the debugger had not been invoked
1763instead of jumping all the way to the top-level.
1764
1765*** Set `debug-on-event' to enter the debugger on events like SIGUSR1.
1766This can be useful when `inhibit-quit' is set.
1767
1768** The new function `server-eval-at' allows evaluation of Lisp forms on
1769named Emacs server instances.
1770
1771** `call-process' and `call-process-region' allow a `(:file "file")' spec
1772to redirect STDOUT to a file.
1773
1774** The function `format-time-string' now supports the %N directive,
1775for higher-resolution time stamps.
1776
1777** New input reading functions
1778
1779*** New function `read-char-choice' reads a restricted set of
1780characters, discarding any inputs not inside the set.
1781
1782*** The command `read-color' now requires a match for a color name
1783or RGB triplet, instead of signaling an error if the user provides
1784invalid input.
1785
1786**** `facemenu-read-color' is now an alias for `read-color'.
1787
1788** `image-library-alist' is renamed to `dynamic-library-alist'.
1789The variable is now used to load all kind of supported dynamic libraries,
1790not just image libraries. The previous name is still available as an
1791obsolete alias.
1792
1793** Syntax parsing changes
1794
1795*** New variable `syntax-propertize-function'.
1796This replaces `font-lock-syntactic-keywords' which is now obsolete.
1797This allows syntax-table properties to be set independently from font-lock:
1798just call syntax-propertize to make sure the text is propertized.
1799Together with this new variable come a new hook
1800syntax-propertize-extend-region-functions, as well as two helper functions:
1801syntax-propertize-via-font-lock to reuse old font-lock-syntactic-keywords
1802as-is; and syntax-propertize-rules which provides a new way to specify
1803syntactic rules.
1804
1805*** Syntax tables support a new "comment style c" additionally to style b.
1806
1807** New hook `post-self-insert-hook', run after `self-insert-command'.
1808
1809** frame-local variables cannot be let-bound any more.
1810
1811** Major and minor mode changes
1812
1813*** `set-auto-mode' now respects mode: local variables at the end of files,
1814as well as those in the -*- line.
1815
1816*** `prog-mode' is a new major mode from which programming modes
1817should be derived.
1818
1819**** `prog-mode-hook' can be used to enable features for programming
1820modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable
1821on-the-fly spell checking for comments and strings.
1822
1823*** New hook `change-major-mode-after-body-hook', run by
1824`run-mode-hooks' just before any other mode hooks.
1825
1826*** Enabled globalized minor modes can be disabled in specific major modes.
1827If the global mode is global-FOO-mode, then run (FOO-mode -1) in the
1828major mode's hook, where FOO-mode toggles the mode on a per-buffer basis.
1829
1830*** `define-minor-mode' accepts new keywords :variable, :after-hook.
1831
1832** File-handling changes
1833
1834*** `delete-file' and `delete-directory' now accept optional arg TRASH.
1835Trashing is performed if TRASH and `delete-by-moving-to-trash' are
1836both non-nil. Interactively, TRASH defaults to t, unless a prefix
1837argument is supplied (see Trash changes, above).
1838
1839*** New file predicates: `file-equal-p', `file-in-directory-p'.
1840
1841** Tool-bars can display separators.
1842Tool-bar separators are handled like menu separators in menu-bar maps,
1843i.e. via menu entries of the form `(menu-item "--")'.
1844
1845** Image API
1846
1847*** Animated images support (currently animated gifs only).
1848
1849**** `image-animated-p' returns non-nil if an image can be animated.
1850
1851**** `image-animate' animates a supplied image spec.
1852
1853**** `image-animate-timer' returns the timer object for an image that
1854is being animated.
1855
1856*** `image-extension-data' has been renamed to `image-metadata'.
1857The old name is an obsolete alias to the new one.
1858
1859*** Image mode can view any image type that ImageMagick supports.
1860This requires Emacs to be built with ImageMagick support.
1861
1862**** New function `imagemagick-types', defined if ImageMagick support
1863is enabled, returns a list of image file extensions that your
1864ImageMagick installation supports.
1865
1866**** New function `imagemagick-register-types' enables ImageMagick
1867image types in Image mode and in `create-image' and other helper
1868functions.
1869
1870**** New option `imagemagick-types-inhibit' excludes certain
1871ImageMagick image types from `imagemagick-register-types'.
1872
1873**** With ImageMagick support, there are extra Image mode commands to
1874resize and rotate images: `image-transform-fit-to-height',
1875`image-transform-fit-to-width', `image-transform-set-rotation', and
1876`image-transform-set-scale'.
1877
1878** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and
1879passes it to the mail user agent function. This argument specifies an
1880action for returning to the caller after finishing with the mail. For
1881example, this is used by Rmail to optionally delete a mail window.
1882
1883** XML and HTML parsing
1884If Emacs is compiled with libxml2 support, there are two new
1885functions: `libxml-parse-html-region' (which parses "real world" HTML)
1886and `libxml-parse-xml-region' (which parses XML). Both return an
1887Emacs Lisp parse tree.
1888
1889** Networking and encryption changes
1890
1891*** `open-network-stream' can now be used to open an encrypted stream.
1892It now accepts an optional `:type' parameter for initiating a TLS
1893connection, directly or via STARTTLS. To do STARTTLS, additional
1894parameters (`:end-of-command', `:success', `:capabilities-command')
1895must also be supplied.
1896
1897*** New library gnutls.el.
1898The new function `gnutls-available-p' returns non-nil if Emacs is
1899built with GnuTLS support. The main entry points are
1900`open-gnutls-stream' and `gnutls-negotiate'. It's easiest to use
1901these functions through `open-network-stream', because that can
1902upgrade connections through STARTTLS opportunistically or use plain
1903SSL, depending on your needs. For debugging, set `gnutls-log-level'
1904greater than 0.
1905
1906*** New primitive `secure-hash' that supports many secure hash algorithms:
1907md5, sha1, sha2, sha224, sha256, sha384, and sha512. The lisp library
1908sha1.el has been removed. The `sha1' feature is provided by default.
1909
1910** Isearch
1911
1912*** New hook `isearch-update-post-hook' that runs in `isearch-update'.
1913
1914** Progress reporters can now "spin".
1915The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can
1916now be nil, or omitted. This makes a "non-numeric" reporter. Each
1917time you call `progress-reporter-update' on that progress reporter,
1918with a nil or omitted VALUE argument, the reporter message is
1919displayed with a "spinning bar".
1920
1921** New variable `revert-buffer-in-progress-p' is true while a buffer is
1922being reverted, even if the buffer has a local `revert-buffer-function'.
1923
1924** New variables `delayed-warnings-list' and `delayed-warnings-hook'.
1925If delayed-warnings-list is non-nil, the command loop calls
1926`delayed-warnings-hook' after `post-command-hook'. At present, this
1927is only used by Emacs on some platforms to display warnings during
1928startup, which might otherwise not be noticed. This uses the
1929functions `display-delayed-warnings' and `collapse-delayed-warnings'.
1930
1931** rx.el has a new `group-n' construct for explicitly numbered groups.
1932
1933** New function `make-composed-keymap' that constructs a new keymap
1934from multiple input maps. You can use this to make a keymap that
1935inherits from multiple maps, eg:
1936 (set-keymap-parent newmap (make-composed-keymap othermap parent))
1937
1938** New function `string-prefix-p'.
1939(This was actually added in Emacs 23.2 but was not advertised at the time.)
1940
1941** New reader macro ## that stands for the empty symbol.
1942This means that the empty symbol can now be read back. Also, #: by itself
1943(when not immediately followed by a possible symbol character) stands for
1944an empty uninterned symbol.
1945
1946** New math functions `isnan', `copysign', `frexp', `ldexp'.
1947
1948** The following functions and variables are obsolete:
1949
1950*** `tooltip-use-echo-area' is obsolete.
1951Rather than setting this to t, disable Tooltip mode instead.
1952
1953*** buffer-substring-filters is obsolete.
1954Use `filter-buffer-substring-functions' instead.
1955
1956*** `byte-compile-disable-print-circle' is obsolete.
1957
1958*** `deferred-action-list' and `deferred-action-function' are obsolete.
1959Use `post-command-hook' instead.
1960
1961*** `font-lock-maximum-size' is obsolete.
1962
1963\f
1964* Changes in Emacs 24.1 on non-free operating systems
1965
1966** On MS Windows, Emacs warns when using the obsolete init file _emacs,
1967and also when HOME is set to C:\ by default.
1968
1969** New configure.bat options
1970
1971*** --enable-checking builds Emacs with extra runtime checks.
1972
1973*** --distfiles specifies files to be included in binary distribution.
1974
1975*** --without-gnutls disables automatic GnuTLS detection.
1976
1977*** --lib for general library linkage, works with the USER_LIBS build variable.
1978
1979** New make target `dist' to create binary distribution for MS Windows.
1980
1981** The Lisp function `w32-default-color-map' is now obsolete.
1982(It is only used internally in the Emacs C code.)
1983
1984** Customize ns-auto-hide-menu-bar to have the menu-bar hidden, but
1985reappear on mouse-over. (Requires OS X 10.6 or later.)
1986
1987** On Mac OS X, dragging a file into Emacs visits the file, like on
1988other platforms, rather than inserting its contents into the buffer.
1989
1990\f
1991----------------------------------------------------------------------
1992This file is part of GNU Emacs.
1993
1994GNU Emacs is free software: you can redistribute it and/or modify
1995it under the terms of the GNU General Public License as published by
1996the Free Software Foundation, either version 3 of the License, or
1997(at your option) any later version.
1998
1999GNU Emacs is distributed in the hope that it will be useful,
2000but WITHOUT ANY WARRANTY; without even the implied warranty of
2001MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2002GNU General Public License for more details.
2003
2004You should have received a copy of the GNU General Public License
2005along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
2006
2007\f
2008Local variables:
2009mode: outline
2010paragraph-separate: "[ \f]*$"
2011end: