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