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