Fix lisp/ChangeLog entry for last commit.
[bpt/emacs.git] / etc / NEWS
CommitLineData
29b7722a 1GNU Emacs NEWS -- history of user-visible changes.
5b87ad55 2
ab422c4d 3Copyright (C) 2010-2013 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 17Temporary note:
219afb88
GM
18+++ indicates that all necessary updates to the manuals in doc/ are complete.
19--- means no change in the manuals is needed.
20When you add a new item, use the appropriate mark if you know it applies,
21otherwise leave it unmarked.
a1ed8b05
GM
22
23\f
95a32efb 24* Installation Changes in Emacs 24.4
7c3d167f 25
ffdc270a 26** Emacs can be compiled with ACL support.
7c3d167f
RF
27This happens by default if a suitable support library is found at
28build time, like libacl on GNU/Linux. To prevent this, use the
ffdc270a 29configure option `--disable-acl'.
7c3d167f 30
2f23b3ab
MA
31** Emacs can be compiled with file notification support.
32The configure option `--with-file-notification=LIB' enables file
02f473a4 33notification support in Emacs. This option's value should be `yes',
2f23b3ab
MA
34`no', `gfile', `inotify' or `w32'. `yes' is a synonym for `w32' on
35MS-Windows, and for `gfile' otherwise. The default value is `yes'.
36
aec32f66 37** The configure option --with-crt-dir has been removed.
f1e496a5
EZ
38It is no longer needed, as the crt*.o files are no longer linked
39specially.
40
41** Emacs for MS-Windows can now be built by running the configure script
42using the MSYS environment and MinGW development tools.
43This is from now on the preferred method of building Emacs on
44MS-Windows. The Windows-specific configure.bat and makefile.w32-in
45files are deprecated. See the file nt/INSTALL.MSYS for detailed
46instructions.
aec32f66 47
5c20c8b7
EZ
48Using the Posix configure script and Makefile's also means a change in
49the directory structure of the Emacs installation on Windows. It is
50now the same as on GNU and Unix systems. In particular, the auxiliary
51programs, such as cmdproxy.exe and hexl.exe, are in
52libexec/emacs/VERSION/i686-pc-mingw32 (where VERSION is the Emacs
53version), version-independent site-lisp is in share/emacs/site-lisp,
54version-specific Lisp files are in share/emacs/VERSION/lisp and in
55share/emacs/VERSION/site-lisp, Info docs are in share/info, and data
56files are in share/emacs/VERSION/etc. (Emacs knows about all these
57directories and will find the files in there automatically; there's no
58need to set any variables due to this change.)
59
ae7bfbf5
JB
60** Directories passed to configure option `--enable-locallisppath' are
61no longer created during installation.
62
c57b2d76 63\f
95a32efb 64* Startup Changes in Emacs 24.4
c57b2d76
GM
65
66\f
95a32efb 67* Changes in Emacs 24.4
c6c08d3f 68
29f47822
LL
69** Key ? also describes prefix bindings like C-h.
70
61a5bb85
BG
71+++
72** `apropos-variable' is now `apropos-user-option'
73`apropos-user-option' shows all user options while `apropos-variable'
74shows all variables. When called with a universal prefix argument,
75the two commands swap their behaviors. When `apropos-do-all' is
76non-nil, they output the same results.
77
c6c08d3f
GM
78+++
79** `eval-defun' on an already defined defcustom calls the :set function,
80if there is one.
81
97a1cd9d
GM
82** If the new variable `enable-dir-local-variables' is nil,
83directory local variables are ignored. May be useful for some modes
84that want to ignore directory-locals while still respecting file-locals.
85
5dea55d2
CY
86** The option `set-mark-default-inactive' has been deleted.
87This unfinished feature was introduced by accident in Emacs 23.1;
88simply disabling Transient Mark mode does the same thing.
89
dc646358
CK
90** `initial-buffer-choice' can now specify a function to set up the
91initial buffer.
92
ef099a94
MN
93** `remember-notes' creates a buffer whose content is saved on kill-emacs.
94You may think of it as a *scratch* buffer whose content is preserved.
95In fact, it was designed as a replacement for *scratch* buffer and can
96be used that way by setting `initial-buffer-choice' to `remember-notes'
97and `remember-notes-buffer-name' to "*scratch*". Without the second
98change, *scratch* buffer will still be there for notes that do not
99need to be preserved.
100
cbee2131
PE
101** `write-region-inhibit-fsync' now defaults to t in batch mode.
102
7c3d167f
RF
103** ACL support has been added.
104+++
105*** Emacs preserves the ACL entries of files when backing up.
106+++
107*** New functions `file-acl' and `set-file-acl' get and set the ACL
66447e07
EZ
108entries of a file. On GNU/Linux, the POSIX ACL interface is used via
109libacl. On MS-Windows, the NT Security APIs are used to emulate the
110POSIX ACL interfaces.
7c3d167f 111
99548339 112** New option `scroll-bar-adjust-thumb-portion'.
a219080b
EZ
113Available only on X, this option allows to control over-scrolling
114using the scroll bar (i.e. dragging the thumb down even when the end
115of the buffer is visible).
99548339 116
708e05f6
LMI
117** New function `add-face-text-property' has been added, which can be
118used to conveniently prepend/append new face attributes to text.
119
a6d63d97
GM
120** In compiled Lisp files, the header no longer includes a timestamp.
121
4e3f9230
YM
122** Multi-monitor support has been added.
123
124*** New functions `display-monitor-attributes-list' and
125`frame-monitor-attributes' can be used to obtain information about
126each physical monitor on multi-monitor setups.
127
cf13177e
YM
128*** The functions `display-pixel-width' and `display-pixel-height' now
129behave consistently among the platforms: they return the pixel width
130or height for all physical monitors associated with the given display
131as just they were on X11. To get information for each physical
132monitor, use the new functions above. Similar notes also apply to
133`x-display-pixel-width', `x-display-pixel-height', `display-mm-width',
134`display-mm-height', `x-display-mm-width', and `x-display-mm-height'.
135
61e56e2c
JB
136** New macro `alternatives-define' can be used to define generic commands.
137Generic commands are interactive functions whose implementation can be
138selected among several alternatives, as a matter of user preference.
139
c57b2d76 140\f
95a32efb 141* Editing Changes in Emacs 24.4
4f0552c2 142
0aa3616e
SB
143** `split-window' is no longer a command, just a non-interactive function.
144As a command it was a special case of `split-window-below', and as such
145superfluous. After being reimplemented in Lisp, its interactive form
146was mistakenly retained.
147
a45b7647
JL
148** New commands `toggle-frame-fullscreen' and `toggle-frame-maximized',
149bound to <f11> and M-<f10>, respectively.
37f38bca 150
958614cf
GM
151** In keymaps where SPC scrolls, S-SPC now scrolls in the reverse direction.
152Eg View mode, etc.
153
4c672a0f
EZ
154+++
155** New option `visual-order-cursor-movement'.
156If this is non-nil, cursor motion with arrow keys will follow the
157visual order of characters on the screen: <left> always moves to the
158left, <right> always moves to the right, disregarding the surrounding
159bidirectional context.
160
0b1619da
LL
161** New command `kmacro-to-register' to store keyboard macros in registers.
162
ac2f8659
MY
163** Shell Script mode
164
165*** `sh-mode' now has the mode own `add-log-current-defun-function'.
166You can pick the name of the function and the variables with `C-x 4 a'.
167
4f0552c2 168\f
95a32efb 169* Changes in Specialized Modes and Packages in Emacs 24.4
4f0552c2 170
26b3353a
TH
171** `eshell' now supports visual subcommands and options
172Eshell has been able to handle "visual" commands (interactive,
173non-line oriented commands such as top that require display
174capabilities not provided by eshell) by running them in an Emacs
175terminal emulator. See `eshell-visual-commands'.
176
177This feature has been extended to subcommands and options that make a
178usually line-oriented command a visual command. Typical examples are
179"git log" and "git <command> --help" which display their output in a
180pager by default. See `eshell-visual-subcommands' and
181`eshell-visual-options'.
182
3179b276
LMI
183** If your Emacs is compiled with libxml2 support, you can use the new
184built-in web browser `eww'.
185
c034abda
BG
186** `remember' can now store notes in separates files
187You can use the new function `remember-store-in-files' within the
188`remember-handler-functions' option.
189
190See `remember-data-directory' and `remember-directory-file-name-format'
191for new options related to this function.
632556e4
SM
192** `ido-decorations' has been slightly extended to give a bit more control.
193
940e5099
SM
194** More packages look for ~/.emacs.d/<foo> additionally to ~/.<foo>.
195Affected files:
196~/.emacs.d/timelog replaces ~/.timelog
940e5099
SM
197~/.emacs.d/vip replaces ~/.vip
198~/.emacs.d/viper replaces ~/.viper
199~/.emacs.d/ido.last replaces ~/.ido.last
200~/.emacs.d/kkcrc replaces ~/.kkcrc
201~/.emacs.d/quickurls replaces ~/.quickurls
202~/.emacs.d/idlwave replaces ~/.idlwave
203~/.emacs.d/bdfcache.el replaces ~/.bdfcache.el
204~/.emacs.d/places replaces ~/.emacs-places
205~/.emacs.d/shadows replaces ~/.shadows
206~/.emacs.d/shadow_todo replaces ~/.shadow_todo
207~/.emacs.d/strokes replaces ~/.strokes
208~/.emacs.d/notes replaces ~/.notes
209~/.emacs.d/type-break replaces ~/.type-break
d29bf51c
SB
210Also the following files used by the now obsolete otodo-mode.el:
211~/.emacs.d/todo-do replaces ~/.todo-do
212~/.emacs.d/todo-done replaces ~/.todo-done
213~/.emacs.d/todo-top replaces ~/.todo-top
214
e56221d5 215
c4f268a1
SM
216** Delphi mode is now called OPascal mode.
217*** All delphi-* variables and functions have been renamed to opascal-*.
02f473a4
JB
218*** `delphi-newline-always-indents' is not supported any more.
219Use `electric-indent-mode' instead.
c4f268a1
SM
220*** `delphi-tab' is gone, replaced by `indent-for-tab-command'.
221
0b1619da
LL
222** Eldoc Mode works properly in the minibuffer.
223
e5b5a34d
SM
224** jit-lock-debug-mode lets you use the debuggers on code run via jit-lock.
225
b14abca9
RW
226** completing-read-multiple's separator can now be a regexp.
227The default separator is changed to allow surrounding spaces around the comma.
228
19b748ad
TM
229** Battery
230
231*** Battery information via the BSD `apm' utility is now supported.
232
96673afe
JL
233** Buffer Menu
234
235*** `M-s a C-o' shows lines matching a regexp in marked buffers using Occur.
236
fd3a9a6b
GM
237** Calendar and Diary
238
239+++
f8780a05 240*** New variable `diary-from-outlook-function', used by the command
fd3a9a6b
GM
241`diary-from-outlook'.
242
ba30c70f
GM
243** cl-lib
244
245*** New macro cl-tagbody.
246
247+++
248*** letf is now just an alias for cl-letf.
249
0e70ce93
PE
250** Calc
251
252*** Calc by default now uses the Gregorian calendar for all dates, and
253uses January 1, 1 AD as its day number 1. Previously Calc used the
254Julian calendar for dates before September 14, 1752, and it used
255December 31, 1 BC as its day number 1; the new scheme is more
256consistent with Calendar's calendrical system and day numbering.
257
258*** The new variable `calc-gregorian-switch' lets you configure the
259date when Calc switches from the Julian to the Gregorian calendar.
260Nil, the default value, means to always use the Gregorian calendar.
261The value (YEAR MONTH DAY) means to start using the Gregorian calendar
262on the given date.
263
86e100a6
GM
264*** Support for ISO 8601 dates.
265
5db9dace
JL
266** Desktop
267
268*** `desktop-auto-save-timeout' defines the number of seconds between
269auto-saves of the desktop.
270
88c45e34 271*** `desktop-restore-frames' enables saving and restoring the window/frame
39c0e36f
JB
272configuration.
273
a2a538b1
CS
274** Dired
275
276*** New minor mode `dired-hide-details-mode' hides details.
277
21859ebc
EH
278** ERC
279
280*** New option `erc-accidental-paste-threshold-seconds'.
281If set to a number, this can be used to avoid accidentally paste large
282amounts of data into the ERC input.
283
7cc8ae06
GM
284---
285** New F90 mode option `f90-smart-end-names'.
286
02f473a4 287** Icomplete is a bit more like Ido.
21859ebc
EH
288*** key bindings to navigate through and select the completions.
289*** The icomplete-separator is customizable, and its default has changed.
290*** Removed icomplete-show-key-bindings.
291
2a43515a 292** Image mode
20de6ab6
CW
293
294*** New commands `n' (`image-next-file') and `p' (`image-previous-file')
295visit the next image file and the previous image file in the same
296directory, respectively.
297
c0211c4e
GM
298*** New commands to show specific frames of multi-frame images.
299`f' (`image-next-frame') and `b' (`image-previous-frame') visit the
300next or previous frame. `F' (`image-goto-frame') shows a specific frame.
301
2a43515a
CY
302---
303*** The command `image-mode-fit-frame' deletes other windows.
304When toggling, it restores the frame's previous window configuration.
305It also has an optional frame argument, which can be used by Lisp
306callers to fit the image to a frame other than the selected frame.
307
e38e6780
JL
308** Info
309
310*** New face `info-index-match' is used to highlight matches in index
311entries displayed by `Info-index-next', `Info-virtual-index' and
312`info-apropos'.
313
e5e4a942
JL
314** Hi-Lock
315
316*** New option `hi-lock-auto-select-face'. When non-nil, hi-lock commands
317will cycle through faces in `hi-lock-face-defaults' without prompting.
318
319+++
320*** New global command `M-s h .' (`highlight-symbol-at-point')
321highlights the symbol found near point without prompting,
322using the next face automatically.
323
d289938a 324** Search and Replace
279f9b06 325
e5e4a942
JL
326*** New global command `M-s .' (`isearch-forward-symbol-at-point')
327starts a symbol (identifier) incremental search forward with the
328symbol found near point added to the search string initially.
329
279f9b06
JL
330*** `C-x 8 RET' in Isearch mode reads a character by its Unicode name
331and adds it to the search string.
332
2db59b1d
XF
333*** `M-s i' in Isearch mode toggles the variable `isearch-invisible'
334between nil and the value of the option `search-invisible' (or `open'
335when it's nil).
01dea85f 336
d289938a
JL
337*** `query-replace' skips invisible text when `search-invisible' is nil,
338and opens overlays with hidden text when `search-invisible' is `open'.
339
80fa505f
AM
340+++
341*** By default, prefix arguments do not now terminate Isearch mode.
342Set `isearch-allow-prefix' to nil to restore old behavior.
343
6e8cfc81
JL
344*** More Isearch commands accept prefix arguments, namely
345`isearch-printing-char', `isearch-quote-char', `isearch-yank-word',
346`isearch-yank-line'.
347
a22289f7
JL
348*** Word search now matches whitespace at the beginning/end
349of the search string if it contains leading/trailing whitespace.
350In an incremental word search or when using a non-nil LAX argument
351of `word-search-regexp', the lax matching can also match part of
352the first word (in addition to the lax matching of the last word).
353The same rules are now applied to the symbol search with the difference
354that it matches symbols, and non-symbol characters between symbols.
355
5a3cbc03 356** MH-E has been updated to MH-E version 8.5.
6827cac1
BW
357See MH-E-NEWS for details.
358
13a40633
GM
359---
360** The unrmail command converts from BABYL to mboxrd rather than mboxo.
361Customize `unrmail-mbox-format' to change this.
362
363---
364** Similarly, customize `rmail-mbox-format' to influence some minor aspects
365of how Rmail displays non-MIME messages.
366
4f0552c2
GM
367+++
368** New function `ses-rename-cell' to give SES cells arbitrary names.
369
8b62d742
SM
370** trace-function was largely rewritten.
371New features include:
372- no prompting for the destination buffer, unless a prefix-arg was used.
373- additionally to prompting for a destination buffer, when a prefix-arg is
374 used, the user can enter a "context", i.e. Lisp expression whose value at the
375 time the function is entered/exited will be printed along with the function
376 name and arguments. Useful to trace the value of (current-buffer) or
377 (point) when the function is invoked.
378
9631677d
SS
379** New command `delete-duplicate-lines' has new types of operation:
380When its arg ADJACENT is non-nil (when called interactively with C-u C-u)
c38a186c
JL
381it works like the utility `uniq'. Otherwise by default it deletes
382duplicate lines everywhere in the region without regard to adjacency.
02f473a4
JB
383When its arg KEEP-BLANKS is non-nil (when called interactively with
384C-u C-u C-u), duplicate blank lines are preserved.
c38a186c 385
ad4de702
MN
386** New `cycle-spacing' command allows cycling between having just one
387space, no spaces, or reverting to the original spacing. Like
388`just-one-space' command it can handle or ignore newlines and
389leave different number of spaces.
390
d29bf51c
SB
391** Todo mode has been rewritten and enhanced.
392New features include:
393- support for multiple todo files and archive files of done items;
394- renaming, reordering, moving, merging, and deleting categories;
395- sortable tabular summaries of categories and the types of items they contain;
adc5dbce 396- cross-category lists of items filtered by specific criteria;
d29bf51c
SB
397- more fine-grained interaction with the Emacs diary, by being able to decide
398 for each todo item whether it appears in the Fancy Diary display;
399- highly flexible new item insertion and item editing;
400- moving items between categories, storing done items in their category or in
401 archive files, undoing or unarchiving done items;
402- reprioritizing items by inputting a numerical priority;
403- extensive customizability of operation and display, including numerous faces.
404To support some of these features, a new file format is used, which is
405incompatible with the old format; however, you can convert old todo and done
406item files to the new format on initializing the first new todo file, or at any
407later time with the provided conversion command. The old version of
408todo-mode.el has been made obsolete and renamed otodo-mode.el.
409
aefa2ead 410** Tramp
26280467 411
aefa2ead
MA
412+++
413*** New connection method "adb", which allows to access Android
19dc8b9e
MA
414devices by the Android Debug Bridge. The variable `tramp-adb-program'
415can be used to adapt the path of the "adb" program, if needed.
26280467 416
19dc8b9e
MA
417*** The connection methods "plink1", "ssh1", "ssh2", "scp1", "scp2",
418"scpc" and "rsyncc" are discontinued. The ssh option
419"ControlMaster=auto" is set automatically in all ssh-based methods,
420when possible.
26280467 421
ed7367b1
MA
422+++
423*** Handlers for `file-acl' and `set-file-acl' for remote machines
424which support POSIX ACLs.
aefa2ead 425
f1c7dee9
MA
426+++
427*** Handlers for `file-notify-add-watch' and `file-notify-rm-watch'
428for remote machines which support filesystem notifications.
429
238cebef
GM
430** VHDL mode
431
432*** New options: `vhdl-actual-generic-name', `vhdl-beautify-options'.
433
434*** New commands: `vhdl-fix-statement-region', `vhdl-fix-statement-buffer'.
435
433212bf
CY
436** Woman
437
438*** The commands `woman-default-faces' and `woman-monochrome-faces'
88c45e34 439are obsolete. Customize the `woman-*' faces instead.
433212bf 440
aa534cb7
AG
441** Eshell
442
f1c7dee9 443*** Added Eshell-Tramp module
aa534cb7 444External su and sudo commands are now the default; the internal,
f1c7dee9 445Tramp-using variants can still be used by enabling the eshell-tramp
aa534cb7
AG
446module.
447
bb102690
GM
448** New term.el option `term-suppress-hard-newline'.
449
770de7cf
CY
450** Obsolete packages:
451
452*** longlines.el is obsolete; use visual-line-mode instead.
453
27c8b6eb
GM
454+++
455*** sup-mouse.el.
456
ce3e7725
CY
457*** terminal.el is obsolete; use term.el instead.
458
d29bf51c
SB
459*** The previous version of todo-mode.el is obsolete and renamed otodo-mode.el.
460
30bce3f0
MA
461*** xesam.el.
462
4e16ddf4
GM
463+++
464*** yow.el is obsolete; use fortune.el or cookie1.el instead.
465
5313bbc7
GM
466---
467*** The Info-edit command is obsolete. Editing Info nodes by hand
468has not been relevant for some time.
469
4f0552c2 470\f
95a32efb 471* New Modes and Packages in Emacs 24.4
02f473a4 472
002668e1
TZ
473** New `superword-mode' in subword.el
474`superword-mode' overrides the default word motion commands to treat
475symbol_words as a single word, similar to what `subword-mode' does and
476using the same internal functions.
477
231d8498
SM
478** New nadvice.el package offering lighter-weight advice facilities.
479It is layered as:
480- add-function/remove-function which can be used to add/remove code on any
481 function-carrying place, such as process-filters or `<foo>-function' hooks.
482- advice-add/advice-remove to add/remove a piece of advice on a named function,
483 much like `defadvice' does.
484
f1c7dee9
MA
485** The package file-notify.el provides an interface for file system
486notifications. It requires, that Emacs is compiled with one of the
487low-level libraries gfilenotify.c, inotify.c or w32notify.c.
488
c57b2d76 489\f
95a32efb 490* Incompatible Lisp Changes in Emacs 24.4
da03ef8a 491
db3b7db5
SM
492** The syntax of ?» and ?« is now punctuation instead of matched parens.
493Some languages match those as »...« and others as «...» so better stay neutral.
494
0b31660d
SM
495** The default file coding for Emacs Lisp files is now utf-8.
496(See file-coding-system-alist.) In most cases, this change is transparent, but
497files that contain unusual characters without specifying an explicit coding
498system may fail to load with obscure errors.
179fcac8 499You should either convert them to utf-8 or add an explicit `coding:' cookie.
0b31660d 500
bfa3acd6
SM
501** overriding-terminal-local-map does not replace the local keymaps any more.
502It used to disable the minor mode, major mode, and text-property keymaps,
503whereas now it simply has higher precedence.
504
a0eb10b3 505** Default process filters and sentinels are not nil any more.
1aa8d505
SM
506Instead they default to a function which does what the nil value used to do.
507
25c09217
SM
508** `read-event' does not return decoded chars in ttys any more.
509Just as was the case in Emacs-22 and before, decoding of tty input according to
510keyboard-coding-system is not performed in read-event any more. But contrary
511to that past, it is still done before input-decode-map/function-key-map/...
512
99d0d6dc
SM
513** Removed inhibit-local-menu-bar-menus.
514
e02230bf
SM
515** frame-local variables that affect redisplay do not work any more.
516More specifically, the redisplay does not bother to check for a frame-local
517value when looking up variables.
518
eadf1faa
SM
519** nil and "unbound" are indistinguishable in symbol-function.
520`symbol-function' never signals `void-function' any more.
521`fboundp' returns non-nil if the symbol was `fset' to nil.
522
3c442f8b
SM
523** `defadvice' does not honor the `freeze' flag and cannot advise
524special-forms any more.
7db1bda8 525
da03ef8a
SM
526** `dolist' in lexical-binding mode does not bind VAR in RESULT any more.
527VAR was bound to nil which was not tremendously useful and just lead to
528spurious warnings about an unused var.
529
7c3d167f
RF
530** The return value of `backup-buffer' has changed.
531The second argument is no longer an SELinux context, instead it is an
532alist of extended attributes as returned by the new function
533`file-extended-attributes'. The attributes can be applied to another
534file using `set-file-extended-attributes'.
535
c57b2d76 536\f
97a1cd9d 537* Lisp Changes in Emacs 24.4
57618ecf 538
de0503df
SM
539+++
540** New macro with-eval-after-load. Like eval-after-load, but better behaved.
541
dd8791e9 542** Obsoleted functions:
89561f72 543*** `log10'
dd8791e9
SM
544*** `dont-compile'
545*** `lisp-complete-symbol'
546*** `field-complete'
547*** `minibuffer-completion-contents'
66fc57e3
JL
548*** `isearch-nonincremental-exit-minibuffer'
549*** `isearch-filter-visible'
e3eb1bb7 550*** `generic-make-keywords-list'
d3e9f3a8 551
d36ed1c8
SM
552** `with-wrapper-hook' is obsoleted by `add-function'.
553The few hooks that used with-wrapper-hook are replaced as follows:
554*** `abbrev-expand-function' obsoletes `abbrev-expand-functions'.
555*** `completion-in-region-function' obsoletes `completion-in-region-functions'.
556*** `filter-buffer-substring-function' obsoletes `filter-buffer-substring-functions'.
557
558
f557c1b1
SM
559** `get-upcase-table' is obsoleted by the new `case-table-get-table'.
560
81606b10
RS
561** Support for filesystem notifications.
562Emacs now supports notifications of filesystem changes, such as
563creation, modification, and deletion of files. This requires the
2f23b3ab
MA
564`glib' API, or the 'inotify' API (on GNU/Linux systems only). On
565MS-Windows systems, this is supported for Windows XP and newer
566versions.
81606b10 567
add89f61
MA
568** Changes in autorevert.el
569
570---
571*** If Emacs is compiled with file notification support, notifications
572are used instead of checking the time stamp of the files. You can
573disable this by setting the user option `auto-revert-use-notify' to
574nil. Alternatively, a regular expression of directories to be
575excluded from file notifications can be specified by
576`auto-revert-notify-exclude-dir-regexp'.
577
578---
579*** The new user option `auto-revert-remote-files' enables reversion
580of remote files when set to non-nil.
581
1c4f115d
CY
582** Face changes
583
02f473a4 584*** The function `face-spec-set' is now analogous to `setq' for face specs.
1c4f115d
CY
585Its third arg now accepts values specifying exactly which face spec to
586set (defface, custom, or user spec), and it directly sets the relevant
587property using the supplied face spec.
588
589*** Face specs set via Custom themes now replace the `defface' spec
590rather than inheriting from it (as do face specs set via Customize).
591
073ca75b
JL
592*** New face characteristic (supports :underline (:style wave))
593specifies whether or not the terminal can display a wavy line.
594
f0c954fa
GM
595** Image API
596
597+++
598*** `image-animated-p' is now `image-multi-frame-p'.
599It returns non-nil for any image that contains multiple frames,
600whether or not it specifies a frame delay.
601
602+++
603*** When animating images that do not specify a frame delay,
604Emacs uses `image-default-frame-delay'.
605
606+++
607*** New functions `image-current-frame' and `image-show-frame' for getting
608and setting the current frame of a multi-frame image.
609
855b17af 610** time-to-seconds is not obsolete any more.
231d8498 611** New function special-form-p.
57618ecf
SM
612** Docstrings can be made dynamic by adding a `dynamic-docstring-function'
613text-property on the first char.
614
32e5c58c
SM
615** The `defalias-fset-function' property lets you catch calls to defalias
616and redirect them to your own function instead of `fset'.
617
70743157 618** The lock for 'DIR/FILE' is now 'DIR/.#FILE' and may be a regular file.
b5029e23
PE
619When you edit DIR/FILE, Emacs normally creates a symbolic link
620DIR/.#FILE as a lock that warns other instances of Emacs that DIR/FILE
621is being edited. Formerly, if there was already a non-symlink file
622named DIR/.#FILE, Emacs fell back on the lock names DIR/.#FILE.0
623through DIR/.#FILE.9. These fallbacks have been removed, so that
624Emacs now no longer locks DIR/FILE in that case.
625
70743157
PE
626On file systems that do not support symbolic links, the lock is now a
627regular file with contents being what would have been in the symlink.
b5029e23 628
97976f9f
PE
629** The 9th element returned by `file-attributes' is now unspecified.
630Formerly, it was t if the file's gid would change if file were deleted
631and recreated. This value has been inaccurate for years on many
632platforms, and nobody seems to have noticed or cared.
633
634** The function `file-ownership-preserved-p' now has an optional
635argument GROUP which causes it check for file group too. This can be
636used in place of the 9th element of `file-attributes'.
637
638** New functions `group-gid' and `group-real-gid'.
639
7c3d167f
RF
640** The 6th argument to `copy-file' has been renamed to
641`preserve-extended-attributes' as it now handles both SELinux context
642and ACL entries.
643
8fa2654e
CS
644** Changes to the Emacs Lisp Coding Conventions in Emacs 24.4
645
646*** The package descriptor and name of global variables, constants,
0a2da075 647and functions should be separated by two hyphens if the symbol is not
8fa2654e
CS
648meant to be used by other packages.
649
c57b2d76 650\f
97a1cd9d 651* Changes in Emacs 24.4 on Non-Free Operating Systems
95a32efb 652
5248293f
GM
653+++
654** The "generate a backtrace on fatal error" feature now works on MS Windows.
655The backtrace is written to the 'emacs_backtrace.txt' file in the
656directory where Emacs was running.
657
8549f9e8
EZ
658+++
659** The variable `buffer-file-type' is no longer supported.
660Setting it has no effect, and %t in the mode-line format is ignored.
661Likewise, `file-name-buffer-file-type-alist' is now obsolete, and
662modifying it has no effect.
663
343a2aef
EZ
664---
665** Lock files now work on MS-Windows.
666This allows to avoid losing your edits if the same file is being
667edited in another Emacs session or by another user. See the node
668"Interlocking" in the Emacs User Manual for the details. To disable
669file locking, customize `create-lockfiles' to nil.
670
c57b2d76
GM
671** Improved fullscreen support on Mac OS X.
672Both native (>= OSX 10.7) and "old style" fullscreen are supported.
673Customize `ns-use-native-fullscreen' to change style. For >= 10.7
674native is the default.
675
95a32efb 676\f
2a1e2476 677* Installation Changes in Emacs 24.3
b8df54ff 678
6bc66c10 679** The default X toolkit is now Gtk+ version 3.
823b2fb6
GM
680If you don't pass `--with-x-toolkit' to configure, or if you use
681`--with-x-toolkit=gtk' or `--with-x-toolkit=yes', configure will try
682to build with Gtk+ version 3, and if that fails, try Gtk+ version 2.
d71a6517 683You can explicitly require a specific version by passing
823b2fb6 684`--with-x-toolkit=gtk2' or `--with-x-toolkit=gtk3' to configure.
da3d2105 685
6bc66c10 686** New configure option `--enable-link-time-optimization', to utilize
da3d2105
DA
687an appropriate feature provided by GCC since version 4.5.0.
688
33cb2043
GM
689** New configure option `--without-all' to disable most of the optional
690features (image support, etc.) that are normally enabled by default.
b8df54ff 691
33cb2043
GM
692** New configure option `--enable-gcc-warnings' (for developing/debugging
693Emacs). If building with GCC, this enables compile-time checks that
64420fcd
GM
694warn/give errors about possibly-questionable C code. On a recent GNU
695system there should be no warnings; on older and on non-GNU systems
696the results may be useful to developers.
b8df54ff 697
823b2fb6 698** The configure option `--enable-use-lisp-union-type' has been
6bc66c10 699renamed to `--enable-check-lisp-object-type', as the resulting
d71a6517
GM
700Lisp_Object type no longer uses a union to implement the compile time
701check that this option enables.
702
823b2fb6 703** The configure option `--disable-maintainer-mode' has been removed,
501390c5
PE
704as it was confusingly-named and rarely useful.
705
f14a4380
GM
706** The configure options `--program-prefix', `--program-suffix', and
707`--program-transform-name' apply to more than just the installed
708binaries. Now they also affect the man pages, icons, and the
709etc/emacs.desktop file; but not the info pages, since this would break
710links between the various manuals.
1a9c6830 711
823b2fb6
GM
712** You can use `NO_BIN_LINK=t make install' to prevent the installation
713overwriting "emacs" in the installation bin/ directory with a link
6bc66c10 714to "emacs-VERSION".
823b2fb6 715
a4a18b8b
GM
716** Emacs uses libtinfo in preference to libncurses, if available.
717
187e9b90
GM
718** On FreeBSD and NetBSD, configure no longer adds /usr/local/lib and
719/usr/pkg/lib to the linker search path. You must add them yourself if
720you want them.
721
6bc66c10 722** The standalone scripts `rcs-checkin' and `vcdiff' have been removed
276d5f5d
GM
723(from the bin and libexec directories, respectively). The former is
724no longer relevant, the latter is replaced by lisp (in vc-sccs.el).
725
a1ed8b05 726\f
2a1e2476 727* Startup Changes in Emacs 24.3
e5fcdb5e
GM
728
729** Emacs no longer searches for `leim-list.el' files beneath the standard
730lisp/ directory. There should not be any there anyway. If you have
823b2fb6 731been adding them there, put them somewhere else; e.g., site-lisp.
e5fcdb5e 732
4107c81e
GM
733** The `--no-site-lisp' command line option now works for Nextstep builds.
734
a1ed8b05 735\f
2a1e2476 736* Changes in Emacs 24.3
a1ed8b05 737
6bc66c10 738** Help
c89926a5 739
6bc66c10 740*** `C-h f' (`describe-function') can now perform autoloading.
c89926a5
CY
741When this command is called for an autoloaded function whose docstring
742contains a key substitution construct, that function's library is
743automatically loaded, so that the documentation can be shown
744correctly. To disable this, set `help-enable-auto-load' to nil.
745
746*** `C-h f' now reports previously-autoloaded functions as "autoloaded",
747even after their associated libraries have been loaded (and the
748autoloads have been redefined as functions).
749
6bc66c10 750** ImageMagick
cd996018 751
6bc66c10
GM
752*** Images displayed via ImageMagick now support transparency and the
753:background image specification property.
cd996018 754
6bc66c10 755*** When available, ImageMagick support is automatically enabled.
c505aaeb
CY
756It is no longer necessary to call `imagemagick-register-types'
757explicitly to install ImageMagick image types; that function is called
7d806bfe 758automatically at startup, or when customizing an imagemagick- option.
2f940384 759
c505aaeb 760*** Setting `imagemagick-types-inhibit' to t now disables the use of
823b2fb6
GM
761ImageMagick to view images. (You must call `imagemagick-register-types'
762afterwards if you do not use customize to change this.)
2f940384 763
7afbaca4 764*** The new variable `imagemagick-enabled-types' also affects which
60b5f187
GM
765ImageMagick types are treated as images. The function
766`imagemagick-filter-types' returns the list of types that will be
767treated as images.
c505aaeb 768
f3f9606c
LMI
769*** ImageMagick images now support the :max-width and :max-height
770keywords.
771
6bc66c10
GM
772** Minibuffer
773
774*** In minibuffer filename prompts, `C-M-f' and `C-M-b' now move to the
775next and previous path separator, respectively.
c505aaeb 776
6bc66c10
GM
777*** `minibuffer-electric-default-mode' can shorten "(default ...)" to "[...]"
778in minibuffer prompts. Just set `minibuffer-eldef-shorten-default'
779non-nil before enabling the mode.
780
781** Mode line
782
783*** New option `mode-line-default-help-echo' specifies the help text
784(shown in a tooltip or in the echo area) for any part of the mode line
785that does not have its own specialized help text.
786
787*** You can now click mouse-3 in the coding system indicator to invoke
788`set-buffer-file-coding-system'.
789
790** Server and client
2f940384 791
f938eda9
CY
792*** emacsclient now obeys string values for `initial-buffer-choice',
793if it is told to open a new frame without specifying any file to visit
794or expression to evaluate.
db80bdc8 795
f938eda9 796*** New option `server-auth-key' specifies a shared server key.
f938eda9
CY
797
798** Emacs now generates backtraces on fatal errors.
799On encountering a fatal error, Emacs now outputs a textual description
800of the fatal signal, and a short backtrace on platforms like glibc
5248293f 801that support backtraces.
2e2d2a13 802
6bc66c10
GM
803** `C-x C-q' is now bound to the new minor mode `read-only-mode'.
804This minor mode replaces `toggle-read-only', which is now obsolete.
805
806** Most `y-or-n' prompts now allow you to scroll the selected window.
807Typing `C-v' or `M-v' at a y-or-n prompt scrolls forward or backward
808respectively, without exiting from the prompt.
809
810** In the Package Menu, newly-available packages are listed as "new",
811and sorted above the other "available" packages by default.
812
f938eda9
CY
813** If your Emacs was built from a bzr checkout, the new variable
814`emacs-bzr-version' contains information about the bzr revision used.
de6ff46d 815
6bc66c10 816** New option `create-lockfiles' specifies usage of lockfiles.
f938eda9
CY
817It defaults to t. Changing it to nil inhibits the creation of lock
818files (use this with caution).
dc0f75c8 819
6bc66c10
GM
820** New option `enable-remote-dir-locals', if non-nil, allows directory-local
821variables on remote hosts.
21ffb35a 822
f85f636a
CY
823** The entry for PCL-CVS has been removed from the Tools menu.
824The PCL-CVS commands are still available via the keyboard.
825
6bc66c10
GM
826** Using "unibyte: t" in Lisp source files is obsolete.
827Use "coding: raw-text" instead.
828
e78e7e48
CY
829** In the buffer made by `M-x report-emacs-bug', the `C-c m' binding
830has been changed to `C-c M-i' (`report-emacs-bug-insert-to-mailer').
831The previous binding, introduced in Emacs 24.1, was a mistake, because
832`C-c LETTER' bindings are reserved for user customizations.
833
6bc66c10 834** Internationalization
2f940384 835
f938eda9 836*** New language environment: Persian.
2f940384 837
f938eda9
CY
838*** New input method `vietnamese-vni'.
839
6bc66c10 840** Nextstep (GNUstep / Mac OS X) port
2f940384 841
823b2fb6 842*** Support for fullscreen and the frame parameter fullscreen.
2f940384 843
1a9c6830
GM
844*** A file dialog is used for open/save operations initiated from the
845menu/toolbar.
846
a1ed8b05 847\f
2a1e2476 848* Editing Changes in Emacs 24.3
c25df26e 849
6bc66c10 850** Search and Replace
d39d3c8e 851
f938eda9
CY
852*** Non-regexp Isearch now performs "lax" space matching.
853Each sequence of spaces in the supplied search string may match any
854sequence of one or more whitespace characters, as specified by the
855variable `search-whitespace-regexp'. (This variable is also used by a
823b2fb6 856similar existing feature for regexp Isearch.)
2f940384 857
f938eda9
CY
858*** New Isearch command `M-s SPC' toggles lax space matching.
859This applies to both ordinary and regexp Isearch.
2f940384 860
f938eda9
CY
861*** New option `replace-lax-whitespace'.
862If non-nil, `query-replace' uses flexible whitespace matching too.
863The default is nil.
2f940384 864
b9cb2387
JL
865*** Global `M-s _' starts a symbol (identifier) incremental search,
866and `M-s _' in Isearch toggles symbol search mode.
867`M-s c' in Isearch toggles search case-sensitivity.
868
6bc66c10 869** Navigation commands
48de8b12 870
6bc66c10
GM
871*** New binding `M-g c' for `goto-char'.
872
873*** New binding `M-g TAB' for `move-to-column'.
874
875*** `M-g TAB' (`move-to-column') prompts for a column number if called
876interactively with no prefix arg. Previously, it moved to column 1.
877
878** New option `yank-handled-properties' allows processing of text
879properties on yanked text, in ways that are more general than just
880removing them (as is done by `yank-excluded-properties').
48de8b12 881
48de8b12
CY
882** New option `delete-trailing-lines' specifies whether
883M-x delete-trailing-whitespace should delete trailing lines at the end
884of the buffer. It defaults to t.
885
f938eda9 886** `C-u M-=' now counts lines/words/characters in the entire buffer.
826b3235 887
48de8b12
CY
888** `C-x 8 RET' is now bound to `insert-char', which is now a command.
889`ucs-insert' is now an obsolete alias for `insert-char'.
b2459884 890
48de8b12
CY
891** The `z' key no longer has a binding in most special modes.
892It used to be bound to `kill-this-buffer', but `z' is too easy to
893accidentally type.
f938eda9 894
6bc66c10
GM
895** New command `C-x r M-w' (`copy-rectangle-as-kill').
896It copies the region-rectangle as the last rectangle kill.
f938eda9 897
6bc66c10 898** Registers
f938eda9 899
823b2fb6 900*** `C-x r +' is now overloaded to invoke `append-to-register'.
f938eda9 901
f938eda9 902*** New option `register-separator' specifies the register containing
823b2fb6
GM
903the text to put between collected texts for use with
904M-x append-to-register and M-x prepend-to-register.
f1f4dba0 905
a1ed8b05 906\f
2a1e2476 907* Changes in Specialized Modes and Packages in Emacs 24.3
ae4969c2 908
6bc66c10 909** Common Lisp emulation (CL)
f938eda9 910
89660017 911*** CL's main entry is now (require 'cl-lib).
823b2fb6
GM
912`cl-lib' is like the old `cl' except that it uses the namespace cleanly;
913i.e., all its definitions have the "cl-" prefix (and internal definitions
914use the "cl--" prefix).
7c1898a7 915
823b2fb6
GM
916If `cl' provided a feature under the name `foo', then `cl-lib'
917provides it under the name `cl-foo' instead; with the exceptions of the
918few `cl' definitions that had to use `foo*' to avoid conflicts with
919pre-existing Elisp entities. These have been renamed to `cl-foo'
920rather than `cl-foo*'.
7c1898a7 921
92246540 922The old `cl' is now deprecated and is mainly just a bunch of aliases that
823b2fb6 923provide the old, non-prefixed names. Some exceptions are listed below:
7c1898a7 924
89660017
SM
925*** `cl-flet' is not like `flet' (which is deprecated).
926Instead it obeys the behavior of Common-Lisp's `flet'.
e8693c96
GM
927In particular, in cl-flet function definitions are lexically scoped,
928whereas in flet the scoping is dynamic.
89660017
SM
929
930*** `cl-labels' is slightly different from `labels'.
823b2fb6
GM
931The difference is that it relies on the `lexical-binding' machinery
932(as opposed to the `lexical-let' machinery used previously) to capture
933definitions in closures, so such closures will only work if `lexical-binding'
934is in use.
89660017 935
f94b04fc 936*** `cl-letf' is not exactly like `letf'.
4ddedf94
GM
937The only difference is in details that relate to some deprecated usage
938of `symbol-function' in place forms.
f94b04fc 939
89660017 940*** `progv' was rewritten to use the `let' machinery.
823b2fb6
GM
941A side effect is that variables without corresponding values are bound
942to nil rather than being made unbound.
89660017 943
9512f820
GM
944*** The following methods of extending `setf' are obsolete
945(use features from gv.el instead):
946`define-modify-macro' (use `gv-letplace')
031b2ea7
GM
947`defsetf' (use `gv-define-simple-setter' or `gv-define-setter')
948`define-setf-expander' (use `gv-define-setter' or `gv-define-expander')
2b4da3ff 949`get-setf-method' no longer exists (see "Incompatible Lisp Changes")
f94b04fc 950
6bc66c10 951** Diff mode
f938eda9 952
6bc66c10
GM
953*** Changes are now highlighted using the same color scheme as in
954modern VCSes. Deletions are displayed in red (new faces
955`diff-refine-removed' and `smerge-refined-removed', and new definition
956of `diff-removed'), insertions in green (new faces `diff-refine-added'
957and `smerge-refined-added', and new definition of `diff-added').
f938eda9 958
6bc66c10
GM
959*** The variable `diff-use-changed-face' defines whether to use the
960face `diff-changed', or `diff-removed' and `diff-added' to highlight
961changes in context diffs.
2f940384 962
6bc66c10
GM
963*** The new command `diff-delete-trailing-whitespace' removes trailing
964whitespace introduced by a diff.
f938eda9 965
6bc66c10
GM
966** Ediff now uses the same color scheme as Diff mode.
967
968** Python mode
969
970A new version of python.el, which provides several new features, including:
971per-buffer shells, better indentation, Python 3 support, and improved
972shell-interaction compatible with iPython (and virtually any other
973text based shell).
974
975*** Some user options have been replaced/renamed, including (old -> new):
976**** python-indent -> python-indent-offset
977**** python-guess-indent -> python-indent-guess-indent-offset
978**** python-pdbtrack-do-tracking-p -> python-pdbtrack-activate
979**** python-use-skeletons -> python-skeleton-autoinsert
980
981*** Some user options have been removed, including:
982
983**** `python-indent-string-contents': Strings are never indented.
984
985**** `python-honour-comment-indentation':
d5b1b1aa 986Comments are always considered as indentation markers.
6bc66c10
GM
987
988**** `python-continuation-offset': Indentation is automatically
989calculated in a pep8 compliant way depending on the context.
990
991**** `python-shell-prompt-alist', `python-shell-continuation-prompt-alist':
992Have no direct mapping as the shell interaction is completely different.
993
994**** `python-python-command', `python-jython-command':
995Replaced by `python-shell-interpreter'.
996
997**** `inferior-python-filter-regexp', `python-remove-cwd-from-path',
998`python-pdbtrack-minor-mode-string', `python-source-modes':
999No longer relevant.
1000
1001*** Some commands have been replaced (old -> new):
1002**** python-insert-class -> python-skeleton-class
1003**** python-insert-def -> python-skeleton-def
1004**** python-insert-for -> python-skeleton-for
1005**** python-insert-if -> python-skeleton-if
1006**** python-insert-try/except -> python-skeleton-try
1007**** python-insert-try/finally -> python-skeleton-try
1008**** python-insert-while -> python-skeleton-while
1009**** python-find-function -> python-nav-jump-to-defun
1010**** python-next-statement -> python-nav-forward-sentence
1011**** python-previous-statement -> python-nav-backward-sentence
1012**** python-beginning-of-defun-function -> python-nav-beginning-of-defun
1013**** python-end-of-defun-function -> python-nav-end-of-defun
1014**** python-send-buffer -> python-shell-send-buffer
1015**** python-send-defun -> python-shell-send-defun
1016**** python-send-region -> python-shell-send-region
1017**** python-send-region-and-go -> emulate with python-shell-send-region
1018and python-shell-switch-to-shell
1019**** python-send-string -> python-shell-send-string
1020**** python-switch-to-python -> python-shell-switch-to-shell
1021**** python-describe-symbol -> python-eldoc-at-point
e76f0800 1022
f938eda9
CY
1023** D-Bus
1024
f938eda9
CY
1025*** New variables `dbus-compiled-version' and `dbus-runtime-version'.
1026
f938eda9
CY
1027*** The D-Bus object manager interface is implemented.
1028
f938eda9
CY
1029*** Variables of type :(u)int32 and :(u)int64 accept floating points,
1030if their value does not fit into Emacs's integer range.
1031
823b2fb6
GM
1032*** The function `dbus-call-method' is now non-blocking.
1033It can be interrupted by `C-g'. `dbus-call-method-non-blocking' is obsolete.
f938eda9 1034
823b2fb6 1035*** Signals can also be sent as unicast messages.
f938eda9 1036
f938eda9 1037*** The argument list of `dbus-register-signal' has been extended,
6bc66c10 1038according to the new match rule types of D-Bus.
f938eda9 1039
f938eda9
CY
1040*** `dbus-init-bus' supports private connections.
1041
f938eda9
CY
1042*** There is a new function `dbus-setenv'.
1043
6bc66c10
GM
1044** `desktop-path' no longer includes the "." directory.
1045Desktop files are now located in ~/.emacs.d by default.
f938eda9
CY
1046
1047** Dired
2f940384 1048
f938eda9
CY
1049*** `dired-do-async-shell-command' executes each file sequentially
1050if the command ends in `;' (when operating on multiple files).
1051Otherwise, it executes the command on each file in parallel.
2f940384 1052
823b2fb6
GM
1053*** Typing `M-n' in the minibuffer of `dired-do-chmod', `dired-do-chgrp',
1054`dired-do-chown', and `dired-do-touch' yanks the attributes of the
f938eda9 1055file at point.
2f940384 1056
f938eda9 1057*** When the region is active, `m' (`dired-mark'), `u' (`dired-unmark'),
823b2fb6 1058`DEL' (`dired-unmark-backward'), and `d' (`dired-flag-file-deletion')
f938eda9 1059mark/unmark/flag all files in the active region.
2f940384 1060
88c45e34 1061*** The minibuffer default for `=' (`dired-diff') has changed.
f938eda9
CY
1062It is now the backup file for the file at point, if one exists.
1063In Transient Mark mode the default is the file at the active mark.
2f940384 1064
f938eda9
CY
1065*** `M-=' is no longer bound to `dired-backup-diff' in Dired buffers.
1066The global binding for `M-=', `count-words-region' is in effect.
1067
02969baf
GM
1068** ERC
1069
6e5e9b70
GM
1070*** New module "notifications", which can send a notification when you
1071receive a private message or your nickname is mentioned.
02969baf
GM
1072
1073*** ERC will look up server/channel names via auth-source and use any
1074channel keys found.
f938eda9 1075
274f5de6
GM
1076*** New option `erc-lurker-hide-list', similar to `erc-hide-list', but
1077only applies to messages sent by lurkers.
f925b109 1078
6bc66c10 1079** reStructuredText mode
f938eda9 1080
6bc66c10
GM
1081*** Keybindings (see `C-c C-h'), TAB indentation, filling and auto-filling,
1082fontification, comment handling, and customization have all been revised
1083and improved.
f938eda9 1084
6bc66c10 1085*** Support for `imenu' and `which-function-mode'.
f938eda9 1086
6bc66c10
GM
1087*** The reStructuredText syntax is more closely covered.
1088Sphinx support has been improved.
f938eda9 1089
6bc66c10 1090*** `rst-insert-list' inserts new list or continues existing lists.
f938eda9 1091
6bc66c10 1092*** A negative prefix argument always works for `rst-adjust'.
f938eda9 1093
6bc66c10 1094*** The window configuration is reset after displaying a TOC.
bc7be45d 1095
6bc66c10 1096*** The constant `rst-version' describes the rst.el package version.
358c19d9 1097
dba3cda3
GM
1098** Ruby mode
1099
1100*** Support for percent literals and recognition of regular expressions
1101in method calls without parentheses with more methods, including Cucumber
1102steps definitions.
1103
1104*** Improved syntax highlighting and indentation.
1105
1106*** New command `ruby-toggle-block', bound to `C-c {'.
1107
1108*** Some non-standard keybindings/commands have been removed:
1109
1110**** `ruby-electric-brace'; use `electric-indent-mode' instead.
1111
1112**** `ruby-mark-defun'; use `mark-defun'.
1113
1114**** `ruby-beginning-of-defun' and `ruby-end-of-defun' are replaced by
1115appropriate settings for the variables `beginning-of-defun-function'
1116and `end-of-defun-function'.
1117
1118**** Non-standard keybindings for `backward-kill-word', `comment-region',
1119`reindent-then-newline-and-indent' and `newline' have been removed.
1120
6bc66c10 1121** Shell Script mode
40d8bcb8 1122
6bc66c10 1123*** Pairing of parens/quotes uses `electric-pair-mode' instead of skeleton-pair.
40d8bcb8 1124
6bc66c10 1125*** `sh-electric-here-document-mode' now controls auto-insertion of here-docs.
40d8bcb8 1126
6bc66c10 1127*** `sh-use-smie' lets you choose a new indentation and navigation code.
40d8bcb8 1128
6bc66c10 1129** VHDL mode
40d8bcb8 1130
6bc66c10 1131*** The free software compiler GHDL is supported (and now the default).
40d8bcb8 1132
6bc66c10 1133*** Support for the VHDL-AMS packages has been added/updated.
40d8bcb8 1134
6bc66c10 1135*** Updated to the 2002 revision of the VHDL standard.
40d8bcb8 1136
6bc66c10 1137*** Accepts \r and \f as whitespace.
40d8bcb8 1138
6bc66c10 1139** Apropos
40d8bcb8 1140
6bc66c10
GM
1141*** The faces used by Apropos are now directly customizable.
1142These faces are named `apropos-symbol', `apropos-keybinding', and so on;
1143see the `apropos' Custom group for details.
d13c8be6 1144
6bc66c10
GM
1145*** The old options whose values specified faces to use have been removed
1146(i.e. `apropos-symbol-face', `apropos-keybinding-face', etc.).
d13c8be6 1147
6bc66c10 1148** Buffer Menu
d13c8be6 1149
6bc66c10 1150*** This package has been rewritten to use Tabulated List mode.
d13c8be6 1151
6bc66c10
GM
1152*** Option `Buffer-menu-buffer+size-width' is now obsolete.
1153Use `Buffer-menu-name-width' and `Buffer-menu-size-width' instead.
d13c8be6 1154
86e100a6
GM
1155** Calc
1156
1157*** Algebraic simplification mode is now the default.
1158To restrict to the limited simplifications given by the former
1159default simplification mode, use `m I'.
1160
6bc66c10 1161** Calendar
d13c8be6 1162
6bc66c10
GM
1163*** You can customize the header text that appears above each calendar month.
1164See the variable `calendar-month-header'.
d13c8be6 1165
6bc66c10 1166*** New LaTeX calendar style, produced by `cal-tex-cursor-week2-summary'.
ee97deee 1167
6bc66c10
GM
1168*** The calendars produced by cal-html include holidays.
1169Customize `cal-html-holidays' to change this.
8b0823d6 1170
0058cae2
GM
1171** CEDET
1172
1173*** The major modes from the parser generators "Bovine" and "Wisent"
1174are now properly integrated in Emacs. The file suffixes ".by" and ".wy"
1175are in `auto-mode-alist', and the corresponding manuals are included.
1176
1177*** EDE
1178
1179**** Menu support for the "Configuration" feature. This allows users to
1180choose the active configuration (such as debug or install) from the menu.
1181
1182**** New command `ede-set' to interactively set project-local variables.
1183
1184**** Support for compiling, debugging, and running in "generic" projects.
1185
1186**** Autoconf editing support for M4 macros with complex arguments.
1187
1188**** Compilation support for the "linux" project type.
1189
1190**** "simple" projects have been removed; use "generic" projects instead.
1191
1192*** Semantic
1193
1194**** Support for parsing #include statements inside a namespace in C/C++.
1195
1196**** Improved support for 'extern "C"' declarations in C/C++.
1197
1198**** The ability to ignore more common special C/C++ preprocessor symbols,
1199such as '__nonnull' and '__asm'. Add '__cplusplus' macro when parsing C++.
1200If available, include cdefs.h as an additional source of preprocessor symbols.
1201
1202**** Improved C/C++ function pointer parsing.
1203
1204**** In Python, support for converting imports to include file names.
1205
1206**** Ability to dynamically determine the Python load path.
1207
1208**** Support for the Python 'WITH' and 'AT' keywords.
1209
1210**** Improved tooltip completion.
1211
1212*** SRecode
1213
1214**** The SRecode manual is now included.
1215
1216**** Tag generation supports constructor/destructor settings and system
1217include differentiation.
1218
1219**** Addition of 'Framework' support: Frameworks are specified when a
1220particular kind of library (such as Android) is needed in a common language
1221mode (like Java).
1222
1223**** Support for nested templates and let variables override based on priority.
1224
1225**** Support for merging tables from multiple related modes, such as
1226default -> c++ -> arduino.
1227
6bc66c10 1228** Compile has a new option `compilation-always-kill'.
42917e79 1229
6bc66c10 1230** Customize
35d98877 1231
6bc66c10 1232*** `custom-reset-button-menu' now defaults to t.
35d98877 1233
6bc66c10
GM
1234*** Non-option variables are never matched in `customize-apropos' and
1235`customize-apropos-options' (i.e., the prefix argument does nothing for
1236these commands now).
782fbf2a 1237
f938eda9 1238** Term
782fbf2a 1239
823b2fb6
GM
1240*** The variables `term-default-fg-color' and `term-default-bg-color'
1241are now deprecated in favor of the customizable face `term'.
fc72b15c 1242
02969baf
GM
1243*** You can customize how to display ANSI terminal colors and styles
1244by customizing the corresponding `term-color-<COLOR>',
1245`term-color-underline' and `term-color-bold' faces.
cf20dee0 1246
05ecb497 1247** Tramp
2f940384 1248
02969baf 1249*** The syntax has been extended in order to allow ad-hoc proxy definitions.
05ecb497 1250
823b2fb6 1251*** Remote processes are now also supported on remote MS-Windows hosts.
05ecb497 1252
ce7b18ec 1253** URL
2f940384 1254
ce7b18ec
CY
1255*** Structs made by `url-generic-parse-url' have nil `attributes' slot.
1256Previously, this slot stored semicolon-separated attribute-value pairs
1257appended to some imap URLs, but this is not compatible with RFC 3986.
823b2fb6 1258So now the `filename' slot stores the entire path and query components,
ce7b18ec 1259and the `attributes' slot is always nil.
2f940384 1260
ce7b18ec
CY
1261*** New function `url-encode-url' for encoding a URI string.
1262The `url-retrieve' function now uses this to encode its URL argument,
1263in case that is not properly encoded.
1264
843571cb
LMI
1265*** New command `url-cookie-list' displays all the current cookies, and
1266allows deleting selected cookies.
1267
6bc66c10
GM
1268** notifications.el supports now version 1.2 of the Notifications API.
1269The function `notifications-get-capabilities' returns the supported
1270server properties.
f938eda9 1271
6bc66c10
GM
1272** Flymake uses fringe bitmaps to indicate errors and warnings.
1273See `flymake-fringe-indicator-position', `flymake-error-bitmap' and
1274`flymake-warning-bitmap'.
f938eda9 1275
6bc66c10
GM
1276** The FFAP option `ffap-url-unwrap-remote' can now be a list of strings,
1277specifying URL types that should be converted to remote file names at
1278the FFAP prompt. The default is now '("ftp").
f938eda9 1279
6bc66c10
GM
1280** New Ibuffer `derived-mode' filter, bound to `/ M'.
1281The old binding for `/ M' (filter by used-mode) is now bound to `/ m'.
f938eda9 1282
6bc66c10
GM
1283** New option `mouse-avoidance-banish-position' specifies where the
1284`banish' mouse avoidance setting moves the mouse.
ce7b18ec 1285
6bc66c10
GM
1286** In Perl mode, new option `perl-indent-parens-as-block' causes non-block
1287closing brackets to be aligned with the line of the opening bracket.
f938eda9 1288
6bc66c10 1289** In Proced mode, new command `proced-renice' renices marked processes.
f938eda9 1290
6bc66c10
GM
1291** New option `async-shell-command-buffer' specifies the buffer to use
1292for a new asynchronous `shell-command' when the default output buffer
1293`*Async Shell Command*' is already in use.
f938eda9 1294
6bc66c10
GM
1295** SQL mode has a new option `sql-db2-escape-newlines'.
1296If non-nil, newlines sent to the command interpreter will be escaped
1297by a backslash. The default does not escape the newlines and assumes
1298that the sql statement will be terminated by a semicolon.
f938eda9 1299
6bc66c10
GM
1300** New command `tabulated-list-sort', bound to `S' in Tabulated List mode
1301(and modes that derive from it), sorts the column at point, or the Nth
1302column if a numeric prefix argument is given.
f938eda9 1303
02969baf 1304** `which-func-modes' now defaults to t, so Which Function mode, when
05b621a6 1305enabled, applies to all applicable major modes.
f938eda9 1306
6bc66c10 1307** `winner-mode-hook' now runs when the mode is disabled, as well as when
823b2fb6 1308it is enabled.
f938eda9 1309
6bc66c10
GM
1310** Follow mode no longer works by using advice.
1311The option `follow-intercept-processes' has been removed.
1312
1313** `javascript-generic-mode' is now an obsolete alias for `js-mode'.
f938eda9 1314
d1069532
SM
1315** Hooks renamed to avoid obsolete "-hooks" suffix:
1316*** semantic-lex-reset-hooks -> semantic-lex-reset-functions
1317*** semantic-change-hooks -> semantic-change-functions
1318*** semantic-edits-new-change-hooks -> semantic-edits-new-change-functions
1319*** semantic-edits-delete-change-hooks -> semantic-edits-delete-change-functions
1320*** semantic-edits-reparse-change-hooks -> semantic-edits-reparse-change-functions
1321*** semanticdb-save-database-hooks -> semanticdb-save-database-functions
1322*** c-prepare-bug-report-hooks -> c-prepare-bug-report-hook
1323*** rcirc-sentinel-hooks -> rcirc-sentinel-functions
1324*** rcirc-receive-message-hooks -> rcirc-receive-message-functions
1325*** rcirc-activity-hooks -> rcirc-activity-functions
1326*** rcirc-print-hooks -> rcirc-print-functions
1327*** dbus-event-error-hooks -> dbus-event-error-functions
1328*** eieio-pre-method-execution-hooks -> eieio-pre-method-execution-functions
1329*** checkdoc-style-hooks -> checkdoc-style-functions
1330*** checkdoc-comment-style-hooks -> checkdoc-comment-style-functions
1331*** archive-extract-hooks -> archive-extract-hook
1332*** filesets-cache-fill-content-hooks -> filesets-cache-fill-content-hook
1333*** hfy-post-html-hooks -> hfy-post-html-hook
1334*** nndiary-request-create-group-hooks -> nndiary-request-create-group-functions
1335*** nndiary-request-update-info-hooks -> nndiary-request-update-info-functions
1336*** nndiary-request-accept-article-hooks -> nndiary-request-accept-article-functions
1337*** gnus-subscribe-newsgroup-hooks -> gnus-subscribe-newsgroup-functions
f938eda9 1338
6bc66c10 1339** Obsolete packages
2f940384 1340
797e6e88
SM
1341*** assoc.el
1342In most cases, assoc+member+push+delq work just as well.
1343And in any case it's just a terrible package: ugly semantics, terrible
1344inefficiency, and not namespace-clean.
3c74813a 1345*** bruce.el
b4617547 1346*** cust-print.el
daed4003 1347*** ledit.el
82f289a4 1348*** mailpost.el
d57de7fe 1349*** mouse-sel.el
3c74813a 1350*** patcomp.el
1a9c6830 1351
a1ed8b05 1352\f
2a1e2476 1353* Incompatible Lisp Changes in Emacs 24.3
b4d3bc10 1354
6bc66c10
GM
1355** Docstrings starting with `*' no longer indicate user options.
1356Only variables defined using `defcustom' are considered user options.
1357The function `user-variable-p' is now an obsolete alias for
1358`custom-variable-p'.
090cf9db 1359
6bc66c10
GM
1360** The return values of `defalias', `defun' and `defmacro' have changed,
1361and are now undefined. For backwards compatibility, `defun' and
1362`defmacro' currently return the name of the newly defined
1363function/macro, but this should not be relied upon.
090cf9db 1364
823b2fb6
GM
1365** `random' by default now returns a different random sequence in
1366every Emacs run. Use `(random S)', where S is a string, to set the
0e23ef9d
PE
1367random seed to a value based on S, in order to get a repeatable
1368sequence in later calls.
1369
d32e47af
LM
1370** If the NEWTEXT arg to `replace-match' contains a substring "\?",
1371that substring is inserted literally even if the LITERAL arg is
1372non-nil, instead of causing an error to be signaled.
1373
2cec368c
MR
1374** `select-window' now always makes the window's buffer current.
1375It does so even if the window was selected before.
1376
6bc66c10
GM
1377** The function `x-select-font' can return a font spec, instead of a
1378font name as a string. Whether it returns a font spec or a font name
1379depends on the graphical library.
bbf908bc 1380
eeddc531
CY
1381** `face-spec-set' no longer sets frame-specific attributes when the
1382third argument is a frame (that usage was obsolete since Emacs 22.2).
1383
6bc66c10 1384** `set-buffer-multibyte' now signals an error in narrowed buffers.
a59d531e 1385
ab7f1c43
GM
1386** The CL package's `get-setf-method' function no longer exists.
1387Generalized variables are now part of core Emacs Lisp, and implemented
1388differently to the way cl.el used to do it. It is not possible to
1389define a compatible replacement for `get-setf-method'. See the file
1390gv.el for internal details of the new implementation.
1391
6bc66c10
GM
1392** The arguments of `dbus-register-signal' are no longer just strings,
1393but keywords or keyword-string pairs. The old argument list will
1394still be supported for Emacs 24.x.
72b255c7 1395
6bc66c10 1396** Miscellaneous name changes
823b2fb6
GM
1397Some Lisp symbols have been renamed to correct their spelling,
1398or to be more consistent with standard Emacs terminology.
72b255c7 1399
72b255c7 1400*** Renamed functions
72b255c7
PE
1401**** hangul-input-method-inactivate -> hangul-input-method-deactivate
1402**** inactivate-input-method -> deactivate-input-method
1403**** quail-inactivate -> quail-deactivate
1404**** robin-inactivate -> robin-deactivate
1405**** viper-inactivate-input-method -> viper-deactivate-input-method
1406**** viper-inactivate-input-method-action ->
1407 viper-deactivate-input-method-action
1408**** ucs-input-inactivate -> ucs-input-deactivate
1409
1410*** Renamed hooks
1411The old hooks are still supported for backward compatibility, but they
1412are deprecated and will be removed eventually.
72b255c7
PE
1413**** input-method-inactivate-hook -> input-method-deactivate-hook
1414**** robin-inactivate-hook -> robin-deactivate-hook
1415**** quail-inactivate-hook -> quail-deactivate-hook
1416
6bc66c10 1417*** Renamed variables
72b255c7
PE
1418**** follow-deactive-menu -> follow-inactive-menu
1419**** inactivate-current-input-method-function ->
1420 deactivate-current-input-method-function
1421
02969baf
GM
1422** Some obsolete functions, variables, and faces have been removed:
1423*** `last-input-char', `last-command-char', `unread-command-char'
78f3273a
CY
1424*** `facemenu-unlisted-faces'
1425*** `rmail-decode-mime-charset'
a5f2b6ec
CY
1426*** `iswitchb-read-buffer'
1427*** `sc-version', `sc-submit-bug-report'
1428*** `set-char-table-default'
02969baf 1429*** `string-to-sequence' (use `string-to-list' or `string-to-vector')
a5f2b6ec 1430*** `compile-internal'
02969baf 1431*** `modeline'
59f7af81 1432*** `mode-line-inverse-video'
02969baf 1433*** `follow-mode-off-hook'
a5f2b6ec 1434*** `cvs-commit-buffer-require-final-newline'
63820c5c 1435(use `log-edit-require-final-newline' instead)
a5f2b6ec
CY
1436*** `cvs-changelog-full-paragraphs'
1437(use `log-edit-changelog-full-paragraphs' instead)
1438*** `cvs-diff-ignore-marks', `cvs-diff-buffer-name'
1439*** `vc-ignore-vc-files' (use `vc-handled-backends' instead)
1440*** `vc-master-templates' (use `vc-handled-backends' instead)
1441*** `vc-checkout-carefully'
78f3273a 1442
a1ed8b05 1443\f
93e0bed6 1444* Lisp Changes in Emacs 24.3
ef24141c 1445
2ee3d7f0 1446** CL-style generalized variables are now in core Elisp.
f938eda9 1447`setf' is autoloaded; `push' and `pop' accept generalized variables.
ebdbfb95
GM
1448You can define your own generalized variables using `gv-define-simple-setter',
1449`gv-define-setter', etc.
2ee3d7f0 1450
6bc66c10
GM
1451** Emacs tries to macroexpand interpreted (non-compiled) files during load.
1452This can significantly speed up execution of non-byte-compiled code,
1453but can also bump into previously unnoticed cyclic dependencies.
1454These are generally harmless: they will simply cause the macro calls
1455to be left for later expansion (as before), but will result in a
1456warning ("Eager macro-expansion skipped due to cycle") describing the cycle.
1457You may wish to restructure your code so this does not happen.
1458
1459** New sampling-based Elisp profiler.
1460Try M-x profiler-start, do some work, and then call M-x profiler-report.
1461When finished, use M-x profiler-stop. The sampling rate can be based on
1462CPU time or memory allocations.
1463
500fcedc
SM
1464** `defun' also accepts a (declare DECLS) form, like `defmacro'.
1465The interpretation of the DECLS is determined by `defun-declarations-alist'.
1466
6bc66c10
GM
1467** New macros `setq-local' and `defvar-local'.
1468
1469** Face underlining can now use a wave.
2f940384 1470
6bc66c10 1471** `read-regexp' has a new argument HISTORY; the first argument PROMPT
cd996018 1472of `read-regexp' accepts a string ending with a colon and space, and its
823b2fb6 1473second argument DEFAULTS can be a list of strings accessible via `M-n'
cd996018
CY
1474in the minibuffer ahead of other hard-coded useful regexp-related values.
1475More commands use `read-regexp' now to read their regexp arguments.
1476
f938eda9 1477** Completion
500fcedc 1478
f938eda9
CY
1479*** New function `completion-table-with-quoting' to handle completion
1480in the presence of quoting, such as file completion in shell buffers.
f95e9344 1481
f938eda9
CY
1482*** New function `completion-table-subvert' to use an existing completion
1483table, but with a different prefix.
1484
6bc66c10 1485** Debugger
f95e9344 1486
f938eda9
CY
1487*** New error type and new function `user-error'.
1488These do not trigger the debugger.
f95e9344 1489
57fc0fee
GM
1490*** New option `debugger-bury-or-kill', saying what to do with the
1491debugger buffer when exiting debug.
45b82ad0
SM
1492
1493*** Set `debug-on-message' to enter the debugger when a certain
1494message is displayed in the echo area. This can be useful when trying
1495to work out which code is doing something.
2f940384 1496
45b82ad0
SM
1497*** New var `inhibit-debugger', automatically set to prevent accidental
1498recursive invocations.
fa2bcf43 1499
6bc66c10 1500** Window handling
2f940384 1501
6bc66c10
GM
1502*** New command `fit-frame-to-buffer' adjusts the frame height to
1503fit the contents.
2f940384 1504
6bc66c10
GM
1505*** The command `fit-window-to-buffer' can adjust the frame height
1506if the new option `fit-frame-to-buffer' is non-nil.
8e17c9ba 1507
7fe37cfc
GM
1508*** New macro `with-temp-buffer-window', similar to
1509`with-output-to-temp-buffer'.
fa2bcf43 1510
8e17c9ba
MR
1511*** `temp-buffer-resize-mode' no longer resizes windows that have been
1512reused.
c5e28e39 1513
823b2fb6 1514*** New option `switch-to-buffer-preserve-window-point' to restore a
43bcfda6 1515window's point when switching buffers.
7c82753d 1516
6bc66c10
GM
1517*** New display action alist entries `window-height' and `window-width'
1518specify the size of new windows created by `display-buffer'.
1519
1520*** New display action alist entry `pop-up-frame-parameters', if
1521non-nil, specifies frame parameters to give any newly-created frame.
7c82753d 1522
fa2bcf43
MR
1523*** New display action alist entry `inhibit-switch-frame', if non-nil,
1524tells display action functions to avoid changing which frame is
1525selected.
2f940384 1526
fa2bcf43
MR
1527*** New display action alist entry `previous-window', if non-nil,
1528specifies window to reuse in `display-buffer-in-previous-window'.
2f940384 1529
6bc66c10
GM
1530*** New display action functions `display-buffer-below-selected',
1531and `display-buffer-in-previous-window'.
1532
1533*** The functions `get-lru-window', `get-mru-window' and `get-largest-window'
1534now accept a third argument to avoid choosing the selected window.
1535
1536*** Additional values recognized for option `window-combination-limit'.
5938d519 1537
77f1f99c
CY
1538*** The following variables are obsolete, as they can be replaced by
1539appropriate entries in the `display-buffer-alist' function introduced
1540in Emacs 24.1:
823b2fb6 1541**** `dired-shrink-to-fit'
77f1f99c 1542**** `display-buffer-reuse-frames'
823b2fb6 1543**** `display-buffer-function'
77f1f99c 1544**** `special-display-buffer-names'
823b2fb6 1545**** `special-display-frame-alist'
77f1f99c 1546**** `special-display-function'
823b2fb6 1547**** `special-display-regexps'
77f1f99c 1548
ab0fa4e4 1549** Time
2f940384 1550
ab0fa4e4
PE
1551*** `current-time-string' no longer requires that its argument's year
1552must be in the range 1000..9999. It now works with any year supported
1553by the underlying C implementation.
2f940384 1554
f938eda9
CY
1555*** `current-time' now returns extended-format time stamps
1556(HIGH LOW USEC PSEC), where the new PSEC slot specifies picoseconds.
1557PSEC is typically a multiple of 1000 on current machines. Other
823b2fb6
GM
1558functions that use this format, such as `file-attributes' and
1559`format-time-string', have been changed accordingly. Old-format time
f938eda9 1560stamps are still accepted.
2f940384 1561
823b2fb6 1562*** The format of timers in `timer-list' and `timer-idle-list' is now
f938eda9
CY
1563[TRIGGERED-P HI-SECS LO-SECS USECS REPEAT-DELAY FUNCTION ARGS IDLE-DELAY PSECS].
1564The PSECS slot is new, and uses picosecond resolution. It can be
823b2fb6 1565accessed via the new `timer--psecs' accessor.
2f940384 1566
c4132fd4
PE
1567*** Last-modified time stamps in undo lists now are of the form
1568(t HI-SECS LO-SECS USECS PSECS) instead of (t HI-SECS . LO-SECS).
1569
0058cae2
GM
1570** EIEIO
1571
1572*** Improved security when handling persistent objects:
1573
1574**** `eieio-persistent-read' now features optional arguments for specifying
1575the class to load, as well as a flag stating whether subclasses are allowed;
1576if provided, other classes will be rejected by the reader. For
1577compatibility with existing code, if the class is omitted only a
1578warning is issued.
1579
1580**** New specialized reader for pulling in classes and signaling errors
1581without evaluation of suspicious code.
1582
1583**** All slots that contain objects must have a :type. Slots with lists
1584of objects must use a new type predicate for a list of an object type.
1585
1586*** Support for `find-function' and similar utilities, through the addition
1587of filename support to generated symbols.
1588
f938eda9 1589** Floating point functions now always return special values like NaN,
823b2fb6 1590instead of signaling errors, if given invalid args; e.g., (log -1.0).
f938eda9
CY
1591Previously, they returned NaNs on some platforms but signaled errors
1592on others. The affected functions are acos, asin, tan, exp, expt,
1593log, log10, sqrt, and mod.
1594
6bc66c10 1595** New fringe bitmap `exclamation-mark'.
f938eda9 1596
6bc66c10
GM
1597** Miscellaneous changes to special forms and macros
1598
1599*** `defun' and `defmacro' are now macros rather than special forms.
1600
1601*** `kbd' is now a function rather than a macro.
1602
1603** Miscellaneous new functions
1604
1605*** `set-temporary-overlay-map' sets up a temporary keymap that
1606takes precedence over most other maps for a short while (normally one key).
f938eda9 1607
847a0561 1608*** `autoloadp' tests if its argument is an autoloaded object.
2f940384 1609
847a0561 1610*** `autoload-do-load' performs the autoloading operation.
2f940384 1611
f938eda9 1612*** `buffer-narrowed-p' tests if the buffer is narrowed.
2f940384 1613
f938eda9 1614*** `file-name-base' returns a file name sans directory and extension.
2f940384 1615
f938eda9 1616*** `function-get' fetches a function property, following aliases.
c990426a 1617
f938eda9 1618*** `posnp' tests if an object is a `posn'.
f938eda9 1619
f938eda9 1620*** `system-users' returns the user names on the system.
547d6865 1621
f938eda9 1622*** `system-groups' returns the group names on the system.
f938eda9 1623
f938eda9 1624*** `tty-top-frame' returns the topmost frame of a text terminal.
c990426a 1625
f938eda9 1626** The following functions and variables are obsolete:
847a0561 1627*** `automount-dir-prefix' (use `directory-abbrev-alist')
f938eda9 1628*** `buffer-has-markers-at'
1a9c6830 1629*** `macro-declaration-function' (use `macro-declarations-alist')
847a0561 1630*** `window-system-version' (provides no useful information)
93cacb6d 1631*** `dired-pop-to-buffer' (use `dired-mark-pop-up')
0e2ae83d 1632*** `query-replace-interactive'
49238e7f 1633*** `font-list-limit' (has had no effect since Emacs < 23)
86aa551c 1634
adce950d 1635\f
93e0bed6 1636* Changes in Emacs 24.3 on Non-Free Operating Systems
9078ead6 1637
4e98ad15 1638** Cygwin builds can use the native MS Windows user interface.
823b2fb6 1639Pass `--with-w32' to configure. The default remains the X11 interface.
53a63be6 1640
1a9c6830 1641** Two new functions are available in Cygwin builds:
6e9f7997
DC
1642`cygwin-convert-file-name-from-windows' and
1643`cygwin-convert-file-name-to-windows'. These functions allow Lisp
1644code to access the Cygwin file-name mapping machinery to convert
1645between Cygwin and Windows-native file and directory names.
de6e3a60 1646
4e98ad15 1647** When invoked with the -nw switch to run on the Windows text-mode terminal,
1ab0c851 1648Emacs now supports `mouse-highlight', help-echo (in the echo area), and
4e98ad15
GM
1649`mouse-autoselect-window'.
1650
1a9c6830 1651** On MS Windows Vista and later Emacs now supports symbolic links.
4e98ad15 1652
823b2fb6 1653** On MS Windows, you can pass `--without-libxml2' to configure.bat to omit
4e98ad15
GM
1654support for libxml2, even if its presence is detected.
1655
4e98ad15
GM
1656** On Mac OS X, the Nextstep port requires OS X 10.4 or later.
1657
823b2fb6 1658** On Mac OS X, configure no longer automatically adds the Fink "/sw"
4e98ad15
GM
1659directories to the search path. You must add them yourself if you want them.
1660
2a1e2476
GM
1661\f
1662* Changes in Emacs 24.2
1663
5190da91 1664** This is mainly a bug-fix release.
6dad7178 1665
9078ead6 1666\f
eb199145 1667* Installation Changes in Emacs 24.1
09e18d03 1668
31fd3586
GM
1669** Emacs can be compiled with Gtk+ 3.0 if you pass --with-x-toolkit=gtk3
1670to configure. Note that other libraries used by Emacs, RSVG and GConf,
1671also depend on Gtk+. You can disable them with --without-rsvg and
1672--without-gconf.
338648ad 1673
31fd3586
GM
1674** Emacs can be compiled with GnuTLS support.
1675This happens by default if a suitably recent version of the library is
1676found at build time. To prevent this, use the configure option
1677`--without-gnutls'. See below for GnuTLS features.
338648ad 1678
31fd3586
GM
1679** Emacs can be compiled with SELinux support.
1680This happens by default if a suitably recent version of the library is
1681found at build time. To prevent this, use the configure option
1682`--without-selinux'. See below for SELinux features.
aded53ff 1683
31fd3586
GM
1684** Emacs can be compiled with ImageMagick support.
1685This happens by default if a suitably recent version of the library is
1686found at build time. To prevent this, use the configure option
1687`--without-imagemagick'. See below for ImageMagick features.
c1f10868 1688This feature is not available for the Nextstep or MS ports.
d9170db5 1689
043efd56
GM
1690** Emacs can be compiled with libxml2 support.
1691This happens by default if a suitably recent version of the library is
1692found at build time. To prevent this, use the configure option
1693`--without-xml2'. See below for libxml2 features.
1694
7d301ae6
CY
1695** By default, the installed Info and man pages are compressed.
1696You can disable this by configuring --without-compress-info.
1697
7d301ae6 1698** New configure option --with-wide-int.
81eafe29 1699With it, Emacs integers typically have 62 bits, even on 32-bit machines.
0a768890
PE
1700On 32-bit hosts, this raises the limit on buffer sizes from about 512 MiB
1701to about 2 GiB.
81eafe29 1702
7d301ae6 1703** New configure options: --with-mmdf, --with-mail-unlink, --with-mailhost.
31fd3586
GM
1704These provide no new functionality, they just remove the need to edit
1705lib-src/Makefile by hand in order to use the associated features.
1706
7d301ae6 1707** New configure option --enable-use-lisp-union-type.
31fd3586
GM
1708This is only useful for Emacs developers to debug certain types of bugs.
1709This is not a new feature; only the configure flag is new.
041d709f
CY
1710
1711** The standalone programs digest-doc and sorted-doc are removed.
1712Emacs now uses Lisp commands `doc-file-to-man' and `doc-file-to-info'.
1713
041d709f
CY
1714** The standalone program `fakemail' is removed.
1715If you need it, feedmail.el provides a superset of the functionality.
1716
0bfd685e 1717\f
eb199145 1718* Startup Changes in Emacs 24.1
4a263588 1719
198a7a97 1720** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte
adbf62ff
GM
1721command line arguments, and the EMACS_UNIBYTE environment variable, no
1722longer have any effect. (They were declared obsolete in Emacs 23.)
198a7a97 1723
66b7b0fe 1724** New command line option `--no-site-lisp' removes site-lisp directories
1b5e5b0c
GM
1725from load-path. -Q now implies this. This option does not affect the
1726EMACSLOADPATH environment variable (and hence has no effect for
c8d59ba3 1727Nextstep builds).
66b7b0fe 1728
0bfd685e 1729\f
eb199145 1730* Changes in Emacs 24.1
7841339b 1731
a2a25d24 1732** Completion
fdeb32ec 1733
dfdb4cad
CY
1734*** Many packages now use the `completion-at-point' command,
1735rather than implementing separate completion commands.
1736
de0bde62 1737*** `completion-at-point' now handles tags and semantic completion.
dfdb4cad 1738
a2a25d24
SM
1739*** Completion in a non-minibuffer now tries to detect the end of completion
1740and pops down the *Completions* buffer accordingly.
dfdb4cad
CY
1741
1742*** New option `completion-cycle-threshold' allows completion cycling.
1743
1744*** New option `completion-category-overrides' for overriding the
2c719188 1745default completion style in certain circumstances.
dfdb4cad 1746
a2a25d24 1747*** New completion style `substring'.
dfdb4cad
CY
1748
1749*** Completion of buffer names uses `substring' completion by default.
1750
1751*** The option `widget-complete-field' has been removed.
620c53a6 1752
6870aaef 1753** Mail changes
dfdb4cad 1754
7d301ae6
CY
1755*** The first time you try sending mail, Emacs asks for a mail method.
1756This is implemented by a new default for `send-mail-function', which
1757is `sendmail-query-once'. This offers to use the smtpmail package, or
1758to use the old defaults relying on external mail facilities
1759(`sendmail-send-it' on GNU/Linux and other Unix-like systems, and
1760`mailclient-send-it' on Windows).
dfdb4cad 1761
e78e7e48
CY
1762*** Typing `C-c m' in the buffer made by `M-x report-emacs-bug'
1763transfers the report to your desktop's preferred mail client, if there
1764is one. This uses either the "xdg-email" utility, or Mac OS's "open"
1765command.
dfdb4cad 1766
7d301ae6
CY
1767*** See Changes in Specialized Modes and Packages for SMTPmail changes
1768and Mail mode changes
3f88cd72 1769
041d709f 1770** Emacs server and client changes
dfdb4cad 1771
7d301ae6 1772*** New option `server-port' specifies the port for TCP Emacs servers.
dfdb4cad 1773
041d709f 1774*** New emacsclient argument -q/--quiet suppresses some status messages.
dfdb4cad 1775
7d301ae6
CY
1776*** New emacsclient argument --frame-parameters specifies the frame
1777parameters of any newly-created graphical frame.
dfdb4cad
CY
1778
1779*** If emacsclient shuts down due to Emacs signaling an error,
1780its exit status is 1.
1781
041d709f
CY
1782*** New emacsclient argument --parent-id ID.
1783This opens a client frame in parent X window ID, via XEmbed, similar
1784to the --parent-id argument to Emacs.
1785
d0ce9f8c
MB
1786** Internationalization changes
1787
d0ce9f8c 1788*** Emacs now supports display and editing of bidirectional text.
7d301ae6
CY
1789Right-to-left (RTL) scripts, such as Arabic, Farsi, and Hebrew, are
1790displayed in the correct visual order as expected by users of those
dfdb4cad
CY
1791scripts. The display reordering is a "full bidirectionality" class
1792implementation of the Unicode Bidirectional Algorithm (UBA). Buffers
1793with no RTL text should look exactly the same as before.
f4b6ba46 1794
041d709f 1795**** New buffer-local variable `bidi-display-reordering'.
7d301ae6 1796To disable display reordering in a buffer, change this to nil.
d20e1419 1797
041d709f
CY
1798**** New buffer-local variable `bidi-paragraph-direction'.
1799If nil (the default), Emacs determines the base direction of each
dfdb4cad
CY
1800paragraph from its text, as specified by the UBA. Setting the value
1801to `right-to-left' or `left-to-right' forces a base direction on each
1802paragraph.
f4b6ba46 1803
7d301ae6
CY
1804Paragraphs with right-to-left base direction are displayed starting at
1805the right window edge.
f1816485 1806
dfdb4cad
CY
1807*** Enhanced support for characters with no glyphs in available fonts,
1808or, on text terminals, characters that cannot be encoded by the
1809terminal coding system. The new option `glyphless-char-display-control'
1810specifies how to display them: as a hexadecimal code in a box, a thin
18111-pixel space, an empty box, etc.
d0ce9f8c 1812
9702b7a1
GM
1813*** New input methods for Farsi and Bulgarian
1814(farsi-isiri-9147, farsi-transliterate-banan, bulgarian-alt-phonetic).
041d709f 1815
939db9ac
CY
1816*** `nobreak-char-display' now also highlights Unicode hyphen chars
1817(U+2010 and U+2011).
1818
7d301ae6 1819*** New Hebrew translation of the Emacs Tutorial.
31fd3586
GM
1820Type `C-u C-h t' to choose it in case your language setup doesn't
1821automatically select it.
1822
7d301ae6
CY
1823** An Emacs Lisp package manager is now included.
1824This is a convenient way to download and install additional packages,
1825from a package repository at http://elpa.gnu.org.
dfdb4cad 1826
7d301ae6
CY
1827*** M-x list-packages shows a list of packages, which can be
1828selected for installation.
dfdb4cad 1829
7d301ae6 1830*** New command `describe-package', bound to `C-h P'.
dfdb4cad 1831
7d301ae6
CY
1832*** By default, all installed packages are loaded automatically when
1833Emacs starts up. To disable this, set `package-enable-at-startup' to
1834nil. To specify the packages to load, customize `package-load-list'.
16a91140 1835
dfdb4cad
CY
1836** Custom theme changes
1837
7d301ae6
CY
1838*** New command `M-x customize-themes', which provides a convenient
1839interface for enabling and disabling Custom themes.
dfdb4cad 1840
7d301ae6 1841*** New option `custom-theme-load-path' is the load path for themes.
dfdb4cad
CY
1842Emacs no longer looks for Custom themes in `load-path'. The default
1843value of `custom-theme-load-path' says to look for themes in
1844`custom-theme-directory', followed by a subdirectory of
1845`data-directory' named "themes/", which contains a small selection of
1846built-in Custom themes.
1847
7d301ae6
CY
1848*** New option `custom-safe-themes' records known-safe theme files.
1849If a theme is not in this list, Emacs queries before loading it, and
1850offers to save the theme to `custom-safe-themes' automatically. By
1851default, all themes included in Emacs are treated as safe.
b7d65a5f 1852
7d301ae6 1853** Improved GTK integration
dfdb4cad 1854
7d301ae6 1855*** GTK scroll-bars are now placed on the right by default.
dfdb4cad
CY
1856The function `set-scroll-bar-mode' can change this.
1857
7d301ae6 1858*** GTK tool bars can have just text, just images or images and text.
dfdb4cad
CY
1859Customize `tool-bar-style' to choose the style. On a Gnome desktop,
1860the default is taken from desktop settings.
1861
1862*** GTK tool bars can be placed on any edge of the frame.
7d301ae6
CY
1863The frame-parameter tool-bar-position controls this. It takes the
1864values top, left, right or bottom. The Options => Show/Hide menu has
1865entries for this.
dfdb4cad 1866
7d301ae6
CY
1867*** The default colors for selected text (the `region' face) are taken
1868from the GTK theme when Emacs is built with GTK.
dfdb4cad 1869
7d301ae6
CY
1870*** Emacs uses GTK tooltips by default if built with GTK.
1871You can disable this by changing `x-gtk-use-system-tooltips' to nil.
a5bee597 1872
dfdb4cad
CY
1873** Graphical interface changes
1874
1875*** On graphical displays, the mode-line no longer ends in dashes.
1876Also, the first dash (which does not indicate anything) is just
1877displayed as a space.
1878
1879*** `menu-bar-select-buffer-function' lets you choose another operation
1880instead of `switch-to-buffer' when selecting an item in the Buffers menu.
1881
1882*** Lucid menus and dialogs can display antialiased fonts if Emacs is
1883built with Xft. These fonts can be set via X resources, for example:
1884Emacs.pane.menubar.font: Courier-12
1885
7d301ae6 1886** Exiting changes
dfdb4cad 1887
7d301ae6 1888*** Emacs now calls `kill-emacs' if it receives SIGTERM or SIGHUP,
dfdb4cad
CY
1889or if it receives a SIGINT signal in batch mode.
1890
7d301ae6
CY
1891*** `kill-emacs-hook' is now also run in batch mode.
1892Third-party code which adds to `kill-emacs-hook' should check if they
1893do the right thing in batch mode.
9c524fcb 1894
041d709f 1895** Scrolling changes
dfdb4cad 1896
041d709f 1897*** New scrolling commands `scroll-up-command' and `scroll-down-command'
0a19a6f8 1898(bound to C-v/[next] and M-v/[prior]) do not signal errors at top/bottom
7d301ae6 1899of buffer at first key-press (instead they move to top/bottom of buffer)
550f41cd 1900when `scroll-error-top-bottom' is non-nil.
dfdb4cad
CY
1901
1902*** New option `scroll-error-top-bottom' (see above).
1903
041d709f 1904*** New scrolling commands `scroll-up-line' and `scroll-down-line'
5a97d2da 1905scroll a line instead of full screen.
dfdb4cad 1906
041d709f 1907*** New property `scroll-command' should be set on a command's symbol to
b2957ea8 1908define it as a scroll command affected by `scroll-preserve-screen-position'.
dfdb4cad 1909
041d709f 1910*** If you customize `scroll-conservatively' to a value greater than 100,
d0f69533
EZ
1911Emacs will never recenter point in the window when it scrolls due to
1912cursor motion commands or commands that move point (e.f., `M-g M-g').
1913Previously, you needed to use `most-positive-fixnum' as the value of
1914`scroll-conservatively' to achieve the same effect.
dfdb4cad 1915
7d301ae6 1916*** "Aggressive" scrolling now honors the scroll margins.
d0f69533
EZ
1917If you customize `scroll-up-aggressively' or
1918`scroll-down-aggressively' and move point off the window, Emacs now
1919scrolls the window so as to avoid positioning point inside the scroll
1920margin.
1921
7d301ae6
CY
1922** Basic SELinux support has been added.
1923This requires Emacs to be linked with libselinux at build time.
f1a5d776 1924
dfdb4cad
CY
1925*** Emacs preserves the SELinux file context when backing up.
1926Also, the function `copy-file' has an extra optional argument for
1927preserving SELinux context, and the return value of `backup-buffer'
1928now includes the SELinux context.
f0bf7c8e 1929
dfdb4cad 1930*** New functions `file-selinux-context' and `set-file-selinux-context'
7d301ae6 1931get and set the SELinux context of a file.
44198b6e 1932
7d301ae6 1933** Trash changes
dfdb4cad 1934
7d301ae6
CY
1935*** `delete-by-moving-to-trash' now only affects commands that specify
1936trashing. This avoids inadvertently trashing temporary files.
dfdb4cad 1937
7d301ae6
CY
1938*** Calling `delete-file' or `delete-directory' with a prefix argument
1939now forces true deletion, regardless of `delete-by-moving-to-trash'.
278f6845 1940
041d709f 1941** File- and directory-local variable changes
dfdb4cad 1942
041d709f
CY
1943*** You can stop directory local vars from applying to subdirectories.
1944Add an element (subdirs . nil) to the alist portion of any variables
1945settings to indicate that the section should not apply to
1946subdirectories.
dfdb4cad 1947
041d709f
CY
1948*** Directory local variables can apply to some file-less buffers.
1949Affected modes include dired, vc-dir, and log-edit. For example,
1950adding "(diff-mode . ((mode . whitespace)))" to .dir-locals.el will
1951turn on `whitespace-mode' for *vc-diff* buffers. Modes should call
1952`hack-dir-local-variables-non-file-buffer' to support this.
dfdb4cad 1953
041d709f
CY
1954*** Using "mode: MINOR-MODE" to enable a minor mode is deprecated.
1955Instead, use "eval: (minor-mode 1)".
c136e5cd 1956
7b447e9b
GM
1957*** The variable `inhibit-first-line-modes-regexps' has been renamed
1958to `inhibit-local-variables-regexps'. As the name suggests, it now
dfdb4cad
CY
1959applies to ALL file local variables, not just -*- lines. The
1960associated `inhibit-first-line-modes-suffixes' has been renamed in the
1961corresponding way.
5d907d6c 1962
0a2132ba
CY
1963** Window changes
1964
91b65361
CY
1965*** The `quit-window' command now restores the last buffer displayed
1966in the quitted window.
1967
0a2132ba
CY
1968*** Resizing an Emacs frame now preserves proportional window sizes,
1969modulo restrictions like window minimum sizes and fixed-size windows.
1970
1971*** The behavior of `display-buffer' is now customizable in detail.
dfdb4cad 1972
0a2132ba
CY
1973**** New option `display-buffer-base-action' specifies a list of
1974user-determined display "actions" (functions and optional arguments
1975for choosing the displaying window).
1976
1977This takes precedence over the default display action, which is
1978specified by `display-buffer-fallback-action'.
1979
1980**** New option `display-buffer-alist' maps buffer name regexps to
1981display actions, taking precedence over `display-buffer-base-action'.
1982
a0c2d0ae
MR
1983*** New option `window-combination-limit'.
1984The new option `window-combination-limit' allows to return the space
1985obtained for resizing or creating a window more reliably to the window
1986from which such space was obtained.
0a2132ba 1987
a0c2d0ae
MR
1988*** New option `window-combination-resize'.
1989The new option `window-combination-resize' allows to split a window that
1990otherwise cannot be split because it's too small by stealing space from
1991other windows in the same combination. Subsequent resizing or deletion
1992of the window will resize all windows in the same combination as well.
0a2132ba 1993
91b65361
CY
1994*** New option `frame-auto-hide-function' lets you choose between
1995iconifying or deleting a frame when burying a buffer in a dedicated
1996frame, or quitting a window showing a buffer in a frame of its own.
1997
0a2132ba 1998*** New commands `maximize-window' and `minimize-window'.
53964682 1999These maximize and minimize the size of a window within its frame.
0a2132ba 2000
0a2132ba
CY
2001*** New commands `switch-to-prev-buffer' and `switch-to-next-buffer'.
2002These functions allow to navigate through the live buffers that have
2003been shown in a specific window.
2004
7d301ae6 2005** Minibuffer changes
dfdb4cad 2006
7d301ae6 2007*** The inactive minibuffer has its own major mode `minibuffer-inactive-mode'.
104dc9c6
GM
2008This is handy for minibuffer-only frames, and is also used for the feature
2009where mouse-1 pops up *Messages*"', which can now easily be changed.
041d709f 2010
7d301ae6 2011*** Minibuffers set `truncate-lines' to nil.
f66eca26 2012If you want to change the value to something else, you could use
7d301ae6
CY
2013for example `minibuffer-setup-hook'.
2014
7d301ae6
CY
2015** `auto-mode-case-fold' is now enabled by default.
2016
7d301ae6 2017** `backup-by-copying-when-mismatch' now defaults to t.
f66eca26 2018
dfdb4cad
CY
2019** New basic faces `error', `warning', `success'.
2020These are used to highlight text indicating failure, caution or
2021successful operation.
2022
2023** New option `list-colors-sort' defines the color sort order
2024for `list-colors-display'.
2025
2026** The variable `focus-follows-mouse' now always defaults to nil.
2027
0bfd685e 2028\f
eb199145 2029* Editing Changes in Emacs 24.1
b350bdf2 2030
892777ba 2031** Search changes
dfdb4cad
CY
2032
2033*** C-y in Isearch is now bound to `isearch-yank-kill', instead of
2034`isearch-yank-line'.
2035
2036*** M-y in Isearch is now bound to `isearch-yank-pop', instead of
2037`isearch-yank-kill'.
2038
2039*** M-s C-e in Isearch is now bound to `isearch-yank-line'.
2040
b2b0776e 2041** New commands `count-words-region' and `count-words'.
dfdb4cad 2042
10607bea
CY
2043*** M-= is bound to `count-words-region', not `count-lines-region'.
2044The `count-words-region' command, when called interactively, reports
2045the number of lines, words, and characters in the region. It is a
2046superset of the old `count-lines-region', which is now an obsolete
2047alias for it.
ea4f7750 2048
ec9da840 2049** The command `just-one-space' (M-SPC), if given a negative argument,
1c708c1a
CY
2050also deletes newlines around point.
2051
b9229673 2052** Deletion changes
dfdb4cad 2053
b9229673 2054*** New option `delete-active-region'.
ddb54206 2055If non-nil, [delete] and DEL delete the region if it is active and no
dfdb4cad 2056prefix argument is given. If set to `kill', those commands kill
ddb54206 2057instead.
dfdb4cad 2058
59ee0542 2059*** New command `delete-forward-char', bound to [delete].
42d9cffa
CY
2060This is meant for interactive use, and obeys `delete-active-region'.
2061The command `delete-char' does not obey `delete-active-region'.
dfdb4cad 2062
b9229673
CY
2063*** `delete-backward-char' is now a Lisp function.
2064Apart from obeying `delete-active-region', its behavior is unchanged.
7d301ae6
CY
2065However, the byte compiler now warns if it is called from Lisp; Lisp
2066callers should use delete-char with a negative argument instead.
dfdb4cad 2067
b9229673
CY
2068*** The option `mouse-region-delete-keys' has been deleted.
2069
f9d71b42
CY
2070** Selection changes.
2071
7d301ae6
CY
2072The default handling of clipboard and primary selections has been
2073changed to conform with modern X applications. In short, most
2074commands for killing and yanking text now use the clipboard, while
2075mouse commands use the primary selection.
b1ab31ae
CY
2076
2077In the following, we provide a list of these changes, followed by a
2078list of steps to get the old behavior back if you prefer that.
2079
b1ab31ae
CY
2080*** `select-active-regions' now defaults to t.
2081Merely selecting text (e.g. with drag-mouse-1) no longer puts it in
963578d3 2082the kill ring. The selected text is put in the primary selection, if
b1ab31ae
CY
2083the system possesses a separate primary selection facility (e.g. X).
2084
2085**** `select-active-regions' also accepts a new value, `only'.
2086This means to only set the primary selection for temporarily active
2087regions (usually made by mouse-dragging or shift-selection);
2088"ordinary" active regions, such as those made with C-SPC followed by
2089point motion, do not alter the primary selection.
2090
963578d3
CY
2091**** `mouse-drag-copy-region' now defaults to nil.
2092
b1ab31ae
CY
2093*** mouse-2 is now bound to `mouse-yank-primary'.
2094This pastes from the primary selection, ignoring the kill-ring.
2095Previously, mouse-2 was bound to `mouse-yank-at-click'.
dfdb4cad 2096
b1ab31ae 2097*** `x-select-enable-clipboard' now defaults to t on all platforms.
dfdb4cad 2098
b1ab31ae
CY
2099*** `x-select-enable-primary' now defaults to nil.
2100Thus, commands that kill text or copy it to the kill-ring (such as
2101M-w, C-w, and C-k) also use the clipboard---not the primary selection.
2102
2103**** The "Copy", "Cut", and "Paste" items in the "Edit" menu are now
dfdb4cad 2104exactly equivalent to M-w, C-w, and C-y respectively.
b1ab31ae
CY
2105
2106**** Note that on MS-Windows, `x-select-enable-clipboard' was already
2107non-nil by default, as Windows does not support the primary selection
2108between applications.
2109
2110*** To return to the previous behavior, do the following:
dfdb4cad 2111
104c2fe9 2112**** Change `select-active-regions' to nil.
b1ab31ae
CY
2113**** Change `mouse-drag-copy-region' to t.
2114**** Change `x-select-enable-primary' to t (on X only).
2115**** Change `x-select-enable-clipboard' to nil.
2116**** Bind `mouse-yank-at-click' to mouse-2.
f9d71b42 2117
084e6df3 2118*** Support for X cut buffers has been removed.
dfdb4cad 2119
3fd50d5c
CY
2120*** X clipboard managers are now supported.
2121To inhibit this, change `x-select-enable-clipboard-manager' to nil.
4b80f674 2122
dfdb4cad
CY
2123** New command `C-x r N' (`rectangle-number-lines') numbers the lines
2124in the current rectangle. With a prefix argument, this prompts for a
2125number to count from and for a format string.
99f053cf 2126
7d301ae6 2127** `redisplay-dont-pause' now defaults to t.
6bf7006f
EZ
2128This makes Emacs feel more responsive to editing commands that arrive
2129at high rate, e.g. if you lean on some key, because stopping redisplay
2130in the middle (when this variable is nil) forces more expensive
2131updates later on, and Emacs appears to be unable to keep up.
2132
e70b5064
CY
2133** The behavior of <TAB> for active regions in Text mode has changed.
2134In Text and related modes, typing <TAB> (`indent-for-tab-command')
2135when the region is active causes Emacs to indent all the lines in the
2136region, aligning them with the line previous to the first line in the
2137region (or with the left margin if there is no previous line).
2138
dfdb4cad
CY
2139** When `occur' is called with a prefix argument, matching strings are
2140collected into the `*Occur*' buffer without line numbers. If there
2141are parenthesized subexpressions in the specified regexp, `occur'
2142reads replacement text that may contain \\& and \\N whose convention
2143follows `replace-match'.
2144
9bae34bf 2145\f
eb199145 2146* Changes in Specialized Modes and Packages in Emacs 24.1
efeb796b 2147
041d709f 2148** Archive Mode has basic support for browsing and updating 7z archives.
d76674bb 2149
b7c3692a 2150** BibTeX mode
dfdb4cad 2151
2de69e00 2152*** BibTeX mode now supports biblatex.
7d301ae6
CY
2153Use the variable `bibtex-dialect' to select different BibTeX dialects.
2154`bibtex-entry-field-alist' is now an obsolete alias for
2155`bibtex-BibTeX-entry-alist'.
2156
dfdb4cad
CY
2157*** New command `bibtex-search-entries', bound to C-c C-a.
2158
b7c3692a 2159*** New `bibtex-entry-format' option `sort-fields', disabled by default.
dfdb4cad 2160
022fe7ce
RW
2161*** New variable `bibtex-search-entry-globally'.
2162
7d301ae6 2163** Browse-url
dfdb4cad 2164
7d301ae6 2165*** New option `browse-url-mailto-function' specifies how to handle "mailto:"s.
dfdb4cad 2166
7d301ae6
CY
2167*** The default browser used by the package is now the "xdg-open" program,
2168on platforms that support it. This calls your desktop's preferred browser.
2169
86e100a6
GM
2170** Calc
2171
2172*** Support for musical notes.
2173
2174*** Support for logarithmic units.
2175
2176*** No longer uses the tex prefix for TeX specific unit names when
2177using TeX or LaTeX mode.
2178
2179*** New option to highlight selections using faces.
2180
2181*** `calc-histogram' has the option of using a vector to determine the bins.
2182
2183*** New "O" option prefix.
2184
2185*** Use the "O" prefix to "d r" (`calc-radix') to turn on twos-complement mode.
2186
cf16af42
GM
2187** Calendar, Diary, and Appt
2188
7d301ae6 2189*** Diary entries can contain non-printing "comments".
548d0a63
GM
2190See the variable `diary-comment-start'.
2191
5006e634
GM
2192*** Appointments can specify their individual warning times.
2193See the variable `appt-warning-time-regexp'.
2194
0a2bb1a9
GM
2195*** The function specified by `appt-disp-window-function' may be passed
2196lists of arguments if multiple appointments are due at similar times.
2197If you are using a custom function for this, you should update it.
2198
7454f200
GM
2199*** New function `diary-hebrew-birthday'.
2200
e565dd37
GM
2201*** Elements of `calendar-day-abbrev-array' and `calendar-month-abbrev-array'
2202may no longer be nil, but must all be strings.
2203
7d301ae6
CY
2204*** The obsolete (since Emacs 22.1) method of enabling the appt
2205package by adding `appt-make-list' to `diary-hook' has been removed.
2206Use `appt-activate' instead.
cf16af42 2207
cf16af42
GM
2208*** Some appt variables (obsolete since Emacs 22.1) have been removed:
2209appt-issue-message (use the function appt-activate)
2210appt-visible/appt-msg-window (use the variable appt-display-format)
2211
cf16af42
GM
2212*** Some diary function aliases (obsolete since Emacs 22.1) have been removed:
2213view-diary-entries, list-diary-entries, show-all-diary-entries
2214
551b046f 2215** CC Mode
dfdb4cad 2216
551b046f 2217*** New feature to "guess" the style in an existing buffer.
7d301ae6 2218The main entry point is M-x c-guess.
041d709f 2219
551b046f
AM
2220*** Java Mode now supports Java 5.0 (Tiger) and 6 (Mustang).
2221
dfdb4cad 2222*** `c-beginning-of-defun' and `c-end-of-defun' now respect nested scopes.
551b046f
AM
2223Thus C-M-a will, by default, go to the beginning of the immediate function,
2224not the top level.
2225
dfdb4cad 2226*** "Macros with semicolons" can be registered for correct indentation.
551b046f
AM
2227Where such a macro ends a line (no semicolon) the next statement is no longer
2228parsed as a statement continuation.
2229
dfdb4cad 2230** Comint and modes derived from it use the standard completion code.
041d709f
CY
2231
2232** Compilation mode
dfdb4cad 2233
7d301ae6 2234*** Compilation mode can be used without Font Lock mode.
041d709f
CY
2235`compilation-parse-errors-function' is now obsolete.
2236
dfdb4cad 2237*** New variable `compilation-filter-start', which is bound while
7d301ae6
CY
2238`compilation-filter-hook' runs. It records the start position of the
2239text inserted by `compilation-filter'.
041d709f 2240
47a6a35f
GM
2241*** `compilation-error-screen-columns' and `compilation-first-column'
2242are obeyed in the editing buffer. So programming language modes can
7d301ae6
CY
2243set them, whereas previously only the value in the *Compilation*
2244buffer was used.
1dce7193 2245
52834b6b
CY
2246** Customize
2247
2248*** Customize buffers now contain a search field.
2249The search is performed using `customize-apropos'.
7d301ae6 2250To turn off the search field, set `custom-search-field' to nil.
52834b6b 2251
8d5dd370 2252*** Options in customize group buffers start out hidden if not customized.
52834b6b
CY
2253Use the arrow to the left of the option name to toggle visibility.
2254
2255*** custom-buffer-sort-alphabetically now defaults to t.
2256
2257*** The color widget now has a "Choose" button, which allows you to
7d301ae6 2258choose a color via `list-colors-display'.
52834b6b 2259
041d709f
CY
2260** D-Bus
2261
5da3be7f
GM
2262*** It is now possible to access buses other than the default system
2263or session bus.
041d709f 2264
7d301ae6 2265*** The `dbus-register-method' and `dbus-register-property' functions
5da3be7f 2266optionally do not register names.
041d709f 2267
7d301ae6 2268*** The new function `dbus-register-service' registers a known service
dfdb4cad 2269name on a D-Bus without also registering a property or a method.
041d709f 2270
f5d6548a 2271** Dired-x
425a25f1 2272
7d301ae6
CY
2273*** C-x C-j (`dired-jump') and C-x 4 C-j (`dired-jump-other-window'),
2274if called with a prefix argument, read a file name from the minibuffer
2275instead of using the current buffer.
f5d6548a 2276
7d301ae6 2277*** The "dired local variables" feature of Dired-x is obsolete.
817b48a7 2278The standard directory local variables feature replaces it.
8117868f 2279
041d709f 2280** ERC changes
7492acc9 2281
c4077254
GM
2282*** New options `erc-autojoin-timing' and `erc-autojoin-delay',
2283controlling attempts to autojoin a channel.
041d709f
CY
2284
2285*** New variable `erc-coding-system-precedence': If we use `undecided'
2286as the server coding system, this variable will then be consulted.
2287The default is to decode strings that can be decoded as utf-8 as
2288utf-8, and do the normal `undecided' decoding for the rest.
7492acc9 2289
041d709f 2290** Eshell changes
7492acc9 2291
05f77e38
GM
2292*** The default value of `eshell-directory-name' has changed
2293to be an "eshell" directory in `user-emacs-directory'.
2294The old "~/.eshell/" directory is still used if it exists, though.
041d709f
CY
2295
2296** gdb-mi
dfdb4cad
CY
2297
2298*** The M-x gdb command now uses the GDB Machine Interface protocol.
05f77e38
GM
2299It now supports multithread non-stop debugging and simultaneous
2300debugging of several threads.
7492acc9 2301
18af70d0
CY
2302** Image mode
2303
05f77e38
GM
2304*** RET (`image-toggle-animation') toggles animation, if applicable.
2305Animation plays once, unless the option `image-animate-loop' is non-nil.
18af70d0 2306
041d709f 2307** Info
723ee192 2308
7d301ae6 2309*** New command M-x info-display-manual displays a named Info manual.
2ebc3b94
GM
2310If that manual is already visited in some Info buffer, it displays
2311that buffer. (This is handy if you have many manuals in many *info*
2312buffers, and don't remember the name of the buffer visiting the manual
2313you want to consult.) Otherwise, it loads and displays the manual.
691cf4a0 2314
24ea72d3
EZ
2315*** `e' is now bound to `end-of-buffer' rather than to `Info-edit'.
2316This is for compatibility with the stand-alone Info reader program,
2317and also because `Info-edit' is a rarely used command that is disabled
2318by default.
2319
7d301ae6 2320** Mail mode changes (not Message mode)
dfdb4cad 2321
7d301ae6 2322*** New command M-x mail-add-attachment for adding MIME attachments
7d301ae6 2323
dfdb4cad
CY
2324*** The command M-x mail-attach-file was renamed to M-x mail-insert-file.
2325(Its name is misleading, since it has nothing to do with MIME
2326attachments.) The old name is now an obsolete alias to the new name.
2327
f2c3a9eb 2328** MH-E has been updated to MH-E version 8.3.1.
041d709f 2329See MH-E-NEWS for details.
37221432 2330
041d709f 2331** Modula-2 mode provides auto-indentation.
37221432 2332
041d709f 2333** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags.
3c3d4f5b 2334
5d1ac394 2335** nXML mode no longer binds C-RET to `nxml-complete'.
dfdb4cad
CY
2336Completion is now performed via `completion-at-point', bound to C-M-i
2337or M-TAB. If `nxml-bind-meta-tab-to-complete-flag' is non-nil (the
2338default), this performs tag completion.
5d1ac394 2339
f2c3a9eb
CY
2340** Org mode has been updated to version 7.8.09.
2341See ORG-NEWS for details.
2342
041d709f 2343** Prolog mode has been completely revamped, with lots of additional
7d301ae6
CY
2344functionality such as more intelligent indentation, electricity,
2345support for more variants, including Mercury, and a lot more.
041d709f
CY
2346
2347** Rmail
2348
2349*** The command `rmail-epa-decrypt' decrypts OpenPGP data
2350in the Rmail incoming message.
2351
50419064
GM
2352*** The variable `rmail-message-filter' no longer has any effect.
2353This change was made in Emacs 23.1 but was not advertised at the time.
2354Try using `rmail-show-message-hook' instead.
2355
717a1362 2356** Shell mode
dfdb4cad
CY
2357
2358*** M-x shell prompts for the shell path name if the default directory
2359is a remote file name and neither the environment variable $ESHELL nor
2360the variable `explicit-shell-file-name' is set.
2361
2362*** TAB is now bound to the standard `completion-at-point' command,
2363which now implements the pcomplete rules for shell command completion.
717a1362 2364
7d301ae6
CY
2365** SMTPmail
2366
dfdb4cad 2367*** SMTPmail now uses encrypted connections (via STARTTLS) by default
7d301ae6
CY
2368if the mail server supports them. This uses either built-in GnuTLS
2369support, or the starttls.el library. Customize `smtpmail-stream-type'
2370to change this.
2371
7d301ae6
CY
2372*** The variable `smtpmail-auth-credentials' has been removed.
2373By default, the information is now stored in the file ~/.authinfo.
dfdb4cad
CY
2374This was the default value of smtpmail-auth-credentials. If you had
2375customized smtpmail-auth-credentials to a list of user names and
2376passwords, those settings are not used. During your first connection
2377to the smtp server, Emacs will prompt for the user name and password,
2378and offer to save them to ~/.authinfo. Or you can manually copy the
2379credentials to ~/.authinfo. For example, if you had
7d301ae6
CY
2380
2381 (setq smtpmail-auth-credentials
2382 '(("mail.example.org" 25 "jim" "s!cret")))
2383
2384then the equivalent line in ~/.authinfo would be
2385
2386 machine mail.example.org port 25 login jim password s!cret
2387
2388See the auth-source manual for more information, e.g. on encrypting
2389the credentials file.
2390
7d301ae6 2391*** The variable `smtpmail-starttls-credentials' has been removed.
dfdb4cad 2392If you had that set, you need to put
7d301ae6
CY
2393
2394 machine smtp.whatever.foo port 25 key "~/.my_smtp_tls.key" cert "~/.my_smtp_tls.cert"
2395
2396in your ~/.authinfo file instead.
2397
8ce192e3
LI
2398*** SMTPmail defaults to using the address in the From: header as the
2399SMTP MAIL FROM envelope. To override this, set `mail-envelope-from'
2400to the address you wish to use instead.
2401
34e8a2da 2402** SQL mode
041d709f 2403
34e8a2da
GM
2404*** New options `sql-port', `sql-connection-alist', `sql-send-terminator',
2405and `sql-oracle-scan-on'.
041d709f 2406
dfdb4cad 2407*** New options controlling prompting for login parameters.
34e8a2da
GM
2408Each supported product has a custom variable `sql-*-login-params',
2409which is a list of the parameters to be prompted for before a
2410connection is established.
041d709f
CY
2411
2412*** The command `sql-product-interactive' now takes a prefix argument,
34e8a2da 2413which causes it to prompt for an SQL product.
041d709f 2414
34e8a2da 2415*** Product-specific SQL interactive commands now take prefix arguments.
041d709f
CY
2416These commands (`sql-sqlite', `sql-postgres', `sql-mysql', etc.),
2417given a prefix argument, prompt for a name for the SQL interactive
2418buffer. This reduces the need for calling `sql-rename-buffer'.
2419
2420*** SQL interactive modes suppress command continuation prompts, and
2421replace tabs with spaces. The first change impacts multiple line SQL
2422statements entered with C-j between each line, statements yanked into
2423the buffer and statements sent with `sql-send-*' functions. The
34e8a2da
GM
2424second prevents the MySQL and Postgres interpreters from listing
2425object name completions when sent text via `sql-send-*' functions.
041d709f
CY
2426
2427*** New command `sql-connect' starts a predefined SQLi session,
2428using the login parameters from `sql-connection-alist'.
2429
2430*** New "Save Connection" menu item in SQLi buffers.
2431This gathers the login params specified for the SQLi session, if it
2432was not started by a connection, and saves them as a new connection.
2433
34e8a2da
GM
2434*** New commands for listing database objects and details:
2435sql-list-all and sql-list-table.
041d709f
CY
2436
2437*** An API for manipulating SQL product definitions has been added.
2438
2439** TeX modes
2440
2441*** latex-electric-env-pair-mode keeps \begin..\end matched on the fly.
412b9ee5 2442
459bba37 2443** Tramp
dfdb4cad 2444
7d301ae6 2445*** New inline access method "ksu" (kerberized su).
dfdb4cad 2446
459bba37 2447*** The following access methods are discontinued: "ssh1_old",
ea843702 2448"ssh2_old", "scp1_old", "scp2_old", "imap", "imaps" and "fish".
dfdb4cad 2449
b011fbfe
GM
2450*** The user option `remote-file-name-inhibit-cache' controls whether
2451remote file attributes are cached for better performance.
dfdb4cad 2452
58f74fe4
MA
2453*** The option `ange-ftp-binary-file-name-regexp' has changed its
2454default value to "".
dfdb4cad 2455
7d301ae6
CY
2456*** Handlers for `file-selinux-context' and `set-file-selinux-context'
2457for remote machines which support SELinux.
58f74fe4 2458
dfdb4cad 2459** New function `url-queue-retrieve', which behaves like url-retrieve,
a48ec60c
GM
2460but with limits (`url-queue-parallel-processes', `url-queue-timeout') on
2461the degree of parallelism.
177549d0 2462
0c32ce32
CY
2463** VC and related modes
2464
2465*** Support for pulling on distributed version control systems.
7d301ae6
CY
2466The command C-x v + (`vc-pull') runs a "pull" operation, if it is
2467supported (currently with Bzr, Git, and Mercurial), to update the
2468current branch and working tree. A prefix argument means to prompt
2469the user for specifics, e.g. a pull location.
0c32ce32 2470
dab3703d 2471*** `vc-update' is now an alias for `vc-pull'.
0c32ce32
CY
2472
2473*** Support for merging on distributed version control systems.
7d301ae6
CY
2474The command C-x v m (`vc-merge') now runs a "merge" operation, if it
2475is supported (currently with Bzr, Git, and Mercurial), to merge
2476changes from another branch into the current one. It prompts for
2477specifics, e.g. a merge source.
0c32ce32 2478
2afef60a 2479*** New option `vc-revert-show-diff' controls whether `vc-revert'
bbe43420 2480shows a diff while querying the user. It defaults to t.
2afef60a 2481
d4eb88c7
CY
2482*** Log entries in some Log View buffers can be toggled to display a
2483longer description by typing RET (log-view-toggle-entry-display).
dab3703d
GM
2484This is currently supported for Bzr, Git, and Mercurial (to support
2485another backend, define a `log-view-expanded-log-entry-function').
7d301ae6 2486In the Log View buffers made by C-x v L (`vc-print-root-log'), you can
d4eb88c7
CY
2487use this to display the full log entry for the revision at point.
2488
1c6c854e
CS
2489*** New command `vc-ediff' allows visual comparison of two revisions
2490of a file similar to `vc-diff', but using ediff backend.
2491
86c60681
CY
2492*** The option `vc-initial-comment' was removed in Emacs 23.2, but
2493this was not advertised at the time.
2494
86c60681
CY
2495*** `vc-toggle-read-only' is an obsolete alias for `toggle-read-only'.
2496Since Emacs 23, it has done the same thing as `toggle-read-only', but
80c6d77f
GM
2497this was not advertised at the time.
2498
041d709f
CY
2499** Obsolete modes
2500
23d70505
GM
2501*** abbrevlist.el
2502
f8ca9162 2503*** erc-hecomplete.el (use erc-pcomplete.el instead)
23d70505
GM
2504
2505*** partial-completion-mode (complete.el) is obsolete.
041d709f
CY
2506You can get a comparable behavior with:
2507(setq completion-styles '(partial-completion initials))
2508(setq completion-pcm-complete-word-inserts-delimiters t)
2509
23d70505
GM
2510*** pc-mode.el is obsolete (CUA mode is much more comprehensive).
2511
2c719188 2512*** pgg is obsolete (use EasyPG instead).
041d709f
CY
2513
2514*** sregex.el is obsolete, since rx.el is a strict superset.
2515
23d70505
GM
2516*** s-region.el and pc-select.el are obsolete.
2517They are superseded by shift-select-mode, enabled by default since 23.1.
2518
2c719188 2519*** vc-mcvs.el is obsolete (for lack of a maintainer).
ca5eed61 2520
0fe719e6
GM
2521** Miscellaneous
2522
05f77e38 2523*** The Landmark game is now invoked with `landmark', not `lm'.
c6ad2a4e 2524Its functions and variables have been similarly renamed.
05f77e38 2525
dfdb4cad 2526*** In `ido-file-completion-map', C-v is no longer bound to `ido-toggle-vc'.
05f77e38
GM
2527(This interfered with cua-mode.)
2528
9f678528
GM
2529*** f90.el has some support for Fortran 2008 syntax.
2530
0fe719e6
GM
2531*** `copyright-fix-years' can optionally convert consecutive years to ranges.
2532
5b3e6db8
GM
2533*** New command `nato-region' converts text to NATO phonetic alphabet.
2534
eb199145
GM
2535\f
2536* New Modes and Packages in Emacs 24.1
d445b3f8 2537
60e56523 2538** Occur Edit mode applies edits made in *Occur* buffers to the
8c0f49f0 2539original buffers. It is bound to "e" in Occur mode.
60e56523 2540
a075a2c5
GM
2541** New global minor mode electric-pair-mode.
2542When enabled, typing an open parenthesis automatically inserts the
2543matching closing one.
2544
2545** New global minor mode electric-indent-mode.
2546When enabled, typing certain characters triggers reindentation.
cd3308f3
GM
2547Major modes wishing to use this can set electric-indent-chars or
2548electric-indent-functions.
a075a2c5
GM
2549
2550** New global minor mode electric-layout-mode.
2551When enabled, typing certain characters automatically inserts newlines.
cd3308f3 2552Major modes wishing to use this can set electric-layout-rules.
3b843809 2553
a83ec3c9
CY
2554** tabulated-list.el provides a generic major mode for tabulated data,
2555from which other modes can be derived.
2556
d02c9bcd
SM
2557** pcase.el provides the ML-style pattern matching macro `pcase'.
2558
7725ebb7
MA
2559** secrets.el is an implementation of the Secret Service API, an
2560interface to password managers like GNOME Keyring or KDE Wallet. The
065f2743
MA
2561Secret Service API requires D-Bus for communication. The command
2562`secrets-show-secrets' offers a buffer with a visualization of the
2563secrets.
7725ebb7 2564
f9e78150
MA
2565** notifications.el provides an implementation of the Desktop
2566Notifications API. It requires D-Bus for communication.
2567
12fe5bcc
MA
2568** soap-client.el supports access to SOAP web services from Emacs.
2569soap-inspect.el is an interactive inspector for SOAP WSDL structures.
2570
ff1796f3 2571** New generic mode, xmodmap-generic-mode, for xmodmap files.
ad7d6ecb 2572
53bbe3ad 2573** New emacs-lock.el package.
7d301ae6
CY
2574The previous version has been moved to obsolete/old-emacs-lock.el.
2575Now, there is a proper minor mode `emacs-lock-mode'. Protection
2576against exiting Emacs and killing the buffer can be set separately.
2577The mechanism for automatically turning off protection for buffers
2578with dead inferior processes has been generalized.
53bbe3ad 2579
eb199145
GM
2580\f
2581* Incompatible Lisp Changes in Emacs 24.1
6dfcbe31 2582
7d301ae6
CY
2583** Passing a nil argument to a minor mode function call now ENABLES
2584the minor mode unconditionally. This is so that you can write e.g.
2585
dfdb4cad 2586 (add-hook 'text-mode-hook 'foo-mode)
7d301ae6 2587
dfdb4cad
CY
2588to enable foo-mode in Text mode buffers, removing the need for
2589`turn-on-foo-mode' style functions. This affects all mode commands
2590defined by `define-minor-mode'. If called interactively, the mode
2591command still toggles the minor mode.
7d301ae6 2592
d268b4fe
CY
2593** The return value of `backup-buffer' has changed.
2594It is now a list of three elements, where the second element is a list
2595describing the original file's SELinux context. If Emacs or the
f003f294 2596system lacks SELinux support, the context list is (nil nil nil nil).
7d301ae6 2597See "Basic SELinux support" above, under "Changes in Emacs 24.1".
d268b4fe 2598
dfdb4cad
CY
2599** `char-direction-table' and the `char-direction' function were deleted.
2600They were buggy and inferior to the new support of bidirectional
2601editing introduced in Emacs 24. If you need the bidirectional
2602properties of a character, use `get-char-code-property' with the last
2603argument `bidi-class'.
fa6996bc 2604
470d996d
TV
2605** `copy-directory' now copies the source directory as a subdirectory
2606of the target directory, if the latter is an existing directory. The
2607new optional arg COPY-CONTENTS, if non-nil, makes the function copy
2608the contents directly into a pre-existing target directory.
2609
9173a8fb
CY
2610** For mouse click input events in the text area, the Y pixel
2611coordinate in the POSITION list now counts from the top of the text
2612area, excluding any header line. Previously, it counted from the top
2613of the header line.
2614
7d301ae6
CY
2615** Support for "old-style" backquotes, obsolete for 10+ years, has
2616been further reduced. Now a backquote not followed by a space is
2617always treated as a "new-style" backquote. Please remove all
2618"old-style" backquotes from your code. If your code uses backquotes
2619as documented in the Elisp manual, and compiles without warning, then
2620you have nothing to do in this regard. Code not following the
2621appropriate conventions may fail to compile.
50ab02c5
CY
2622
2623The most common cause of trouble seems to be an old-style backquote
2624followed by a newline. Another cause of trouble is vector notation
2625for key sequence notation: instead of [(control ,)] and [(control ')],
2626you should write [(control ?,)] and [(control ?')], which will work in
7d301ae6 2627older Emacsen too.
288cf4e9 2628
520f2425
GM
2629** The macro `eval-at-startup' was removed in Emacs 23.2, but this
2630was not advertised at the time. The function `custom-initialize-delay'
2631replaced all known uses.
2632
7d301ae6
CY
2633** `view-buffer' now treats special mode-class in the same way that
2634`view-file' has since Emacs 22 (i.e. it won't enable View mode if the
2635major mode is special).
fd5c9dfa 2636
7d301ae6 2637** Menu and tool bar changes
6431f2e6 2638
7d301ae6 2639*** During startup, Emacs no longer adds entries for `menu-bar-lines'
0a19a6f8
JB
2640and `tool-bar-lines' to `default-frame-alist' and `initial-frame-alist'.
2641With these alist entries omitted, `make-frame' checks the value of the
2642variable `menu-bar-mode'/`tool-bar-mode' to determine whether to create
2643a menu-bar or tool-bar, respectively. If the alist entries are added,
2644they override the value of `menu-bar-mode'/`tool-bar-mode'.
6431f2e6 2645
7d301ae6
CY
2646*** The menu bar bindings's caches are not used any more.
2647Use (where-is-internal <def> nil t) instead.
2648
fe0aa820 2649** Regions created by mouse dragging are now normal active regions,
dfdb4cad 2650similar to those created by shift-selection (see Selection changes
7d301ae6
CY
2651above). In previous Emacs versions, these regions were delineated by
2652`mouse-drag-overlay'; that variable has been removed.
d6d8ee7a 2653
7d301ae6
CY
2654** The fourth argument of `filter-buffer-substring' has been removed.
2655If you want to remove text properties from the final result, simply
2656pass the result through substring-no-properties.
34c99998 2657
4583e796
GM
2658** cl.el no longer provides `cl-19'.
2659
7d301ae6
CY
2660** The following obsolete functions and aliases have been removed
2661(the appropriate new function is given in parentheses; "not needed"
2662means you can just remove all calls to the function in question):
2663
2664*** `comint-kill-output' (`comint-delete-output')
2665*** `decompose-composite-char' (`char-to-string')
2666*** `outline-visible' (`outline-invisible-p')
2667*** `internal-find-face' (`facep')
2668*** `internal-get-face' (`facep and check-face')
2669*** `frame-update-faces' (not needed)
2670*** `frame-update-face-colors' (`frame-set-background-mode')
2671*** `x-frob-font-weight' and `x-frob-font-slant' (`make-face-*' functions)
2c719188 2672*** `x-make-font-bold and x-make-font-demibold (`make-face-bold')
7d301ae6
CY
2673*** `x-make-font-italic' and `x-make-font-oblique' (`make-face-italic')
2674*** `x-make-font-bold-italic' (`make-face-bold-italic')
2675*** `x-make-font-unbold' (`make-face-unbold')
2676*** `x-make-font-unitalic' (`make-face-unitalic')
2677*** `mldrag-drag-mode-line' (`mouse-drag-mode-line')
2678*** `mldrag-drag-vertical-line' (`mouse-drag-vertical-line')
2679*** `iswitchb-default-keybindings' (`iswitchb-mode')
2680*** `char-bytes' (== 1)
2681*** `isearch-return-char' (`isearch-printing-char')
2682*** `make-local-hook' (not needed)
2683*** `set-screen-height' (`set-frame-height')
2684*** `set-screen-width' (`set-frame-width')
2685
7d301ae6
CY
2686** The following obsolete variables and varaliases have been removed
2687(the appropriate new variable is given in parentheses):
2688
2689*** `checkdoc-minor-keymap' (`checkdoc-minor-mode-map')
2690*** `vc-header-alist' (`vc-BACKEND-header')
2691*** `directory-sep-char' (== ?/)
2692*** `font-lock-defaults-alist' (`font-lock-defaults')
2693*** `e' (`float-e').
3226d6ca 2694
041d709f 2695** The following obsolete files were removed:
7b0e3048
GM
2696sc.el, x-menu.el, rnews.el, rnewspost.el
2697
7d301ae6
CY
2698** The format of the finder-inf.el file has changed, since the Finder
2699mechanism is now based on the package system. The variable
2700`finder-package-info' is replaced by `package--builtins' and
2701`finder-keywords-hash'.
33658d4e 2702
c2c79260
DE
2703** When generating autoloads, `update-directory-autoloads' no longer
2704assumes every inspected file is in your `load-path'. It instead
2705generates relative names according to the current `load-path'.
2706
eb199145 2707\f
93e0bed6 2708* Lisp Changes in Emacs 24.1
9097e8af 2709
041d709f 2710** Code can now use lexical scoping by default instead of dynamic scoping.
dfdb4cad 2711The `lexical-binding' variable enables lexical scoping for local
48da7392 2712variables. It is typically set via a file-local variable in the first
dfdb4cad
CY
2713line of the file, in which case it applies to all the code in that
2714file.
2715
041d709f
CY
2716*** `eval' takes a new optional argument `lexical' to choose the new lexical
2717binding instead of the old dynamic binding mode.
dfdb4cad 2718
041d709f
CY
2719*** Lexically scoped interpreted functions are represented with a new form
2720of function value which looks like (closure ENV ARGS &rest BODY).
2721
2722*** New macro `letrec' to define recursive local functions.
dfdb4cad
CY
2723
2724*** `defvar' and `defconst' now mark the variable as special (dynamic).
2725So do `defcustom' and other forms that call `defvar' as a subroutine.
2726
041d709f
CY
2727*** New function `special-variable-p' to check whether a variable is
2728declared as dynamically bound.
2729
88ed9e87
SM
2730*** The form ((lambda ...) ...) is deprecated.
2731
041d709f
CY
2732** An Emacs Lisp testing tool is now included.
2733Emacs Lisp developers can use this tool to write automated tests for
2734their code. See the ERT info manual for details.
2735
2736** Changes for bidirectional display and editing
f1816485 2737
041d709f 2738*** New function `current-bidi-paragraph-direction'.
7d301ae6 2739This returns the base direction of the paragraph at point.
041d709f 2740
041d709f 2741*** New function `bidi-string-mark-left-to-right'.
dfdb4cad
CY
2742Given a string containing characters from right-to-left scripts, this
2743function returns another string which can be safely inserted into a
2744buffer, such that any following text will be always displayed to the
7d301ae6
CY
2745right of that string. (This works by appending an invisible Unicode
2746"LEFT-TO-RIGHT MARK" character if the argument string might need it.)
041d709f 2747
7d301ae6 2748This is useful when the buffer has overall left-to-right paragraph
dfdb4cad
CY
2749direction and you need to insert a string whose contents are not known
2750in advance, without disrupting the layout of the line.
041d709f 2751
bee0fcef 2752** Window changes
dfdb4cad 2753
c4682d18
MR
2754*** Window tree functions are accessible in Elisp.
2755Functions are provided to return the parent, siblings or child windows
2756of any window including internal windows (windows not associated with a
2757buffer) in the window tree.
dfdb4cad 2758
24300f5f
CY
2759**** New function `window-valid-p' gives non-nil for live and internal
2760windows.
dfdb4cad 2761
24300f5f 2762**** Window manipulation can deal with internal windows.
c4682d18
MR
2763Many window handling functions like `split-window', `delete-window', or
2764`delete-other-windows' as well as the window resizing functions can now
2765act on any window including internal ones.
dfdb4cad 2766
c4682d18
MR
2767*** window-total-height/-width vs window-body-height/-width.
2768The function `window-height' has been renamed to `window-total-height'
2769and `window-width' has been renamed to `window-body-width'. The old
2770names are provided as aliases. Two new functions `window-total-width'
2771and `window-body-height' are provided.
dfdb4cad 2772
c4682d18
MR
2773*** Window parameters specific to window handling functions.
2774For each window you can specify a parameter to override the default
2775behavior of a number of functions like `split-window', `delete-window'
ed6235ea
MR
2776and `delete-other-windows'. The variable `ignore-window-parameters'
2777allows to ignore processing such parameters.
dfdb4cad 2778
c4682d18 2779*** New semantics of third argument of `split-window'.
c4682d18
MR
2780The third argument of `split-window' has been renamed to SIDE and can be
2781set to any of the values 'below, 'right, 'above, or 'left to make the
2782new window appear on the corresponding side of the window that shall be
2783split. Any other value of SIDE will cause `split-window' to split the
2784window into two side-by-side windows as before.
dfdb4cad 2785
c4682d18 2786*** Window resizing functions.
487ffd7a 2787A new standard function for resizing windows called `window-resize' has
c4682d18
MR
2788been introduced. This and all other functions for resizing windows no
2789longer delete any windows when they become too small.
dfdb4cad 2790
b3c0dbfd
MR
2791*** Deleting the selected window now selects the most recently selected
2792live window on that frame instead.
dfdb4cad 2793
c4682d18
MR
2794*** `adjust-window-trailing-edge' adjustments.
2795`adjust-window-trailing-edge' can now deal with fixed-size windows and
2796is able to resize other windows if a window adjacent to the trailing
2797edge cannot be shrunk any more. This makes its behavior more similar to
2798that of Emacs 21 without compromising, however, its inability to delete
2799windows which was introduced in Emacs 22.
dfdb4cad 2800
c4682d18
MR
2801*** Window-local buffer lists.
2802Windows now have local buffer lists. This means that removing a buffer
2803from display in a window will preferably show the buffer previously
2804shown in that window with its previous window-start and window-point
2805positions. This also means that the same buffer may be automatically
2806shown twice even if it already appears in another window.
dfdb4cad 2807
bee0fcef
CY
2808*** `switch-to-buffer' has a new optional argument FORCE-SAME-WINDOW,
2809which if non-nil requires the buffer to be displayed in the currently
2810selected window, signaling an error otherwise. If nil, another window
2811can be used, e.g. if the selected one is strongly dedicated.
dfdb4cad 2812
0a2132ba 2813*** `split-window-vertically' and `split-window-horizontally' renamed
2d197ffb
CY
2814to `split-window-below' and `split-window-right' respectively.
2815The old names are kept as aliases.
dfdb4cad 2816
0a2132ba
CY
2817*** Display actions
2818
2819**** The second arg to `display-buffer' and `pop-to-buffer' is now
2820named ACTION, and takes a display action of the same form as
2821`display-buffer-base-action' (see Changes, above). A non-nil,
2822non-list value is treated specially, as the old meaning.
2823
2824**** New variable `display-buffer-overriding-action'.
2825
2826**** The procedure of `display-buffer' etc. to choose a window is
2827determined by combining `display-buffer-overriding-action',
2828`display-buffer-alist', the ACTION arg, `display-buffer-base-action',
2829and `display-buffer-fallback-action'. The second and fourth of these
2830are user-customizable variables.
2831
2832See the docstring of `display-buffer' for details.
bee0fcef 2833
20d2304d
CY
2834*** New functions `window-state-get' and `window-state-put'.
2835These functions allow to save and restore the state of an arbitrary
2836frame or window as an Elisp object.
2837
a2a25d24 2838** Completion
041d709f 2839
7d301ae6
CY
2840*** New variable `completion-extra-properties' used to specify extra
2841properties of the current completion:
a2a25d24
SM
2842- :annotate-function, same as the old completion-annotate-function.
2843- :exit-function, function to call after completion took place.
2844
7d301ae6
CY
2845*** Functions on `completion-at-point-functions' can return any of the
2846properties valid for `completion-extra-properties'.
a2a25d24 2847
7d301ae6 2848*** `completion-annotate-function' is obsolete.
a2a25d24 2849
620c53a6
SM
2850*** New `metadata' method for completion tables. The metadata thus returned
2851can specify various details of the data returned by `all-completions':
2852- `category' is the kind of objects returned (e.g., `buffer', `file', ...),
2853 used to select a style in completion-category-overrides.
2854- `annotation-function' to add annotations in *Completions*.
2855- `display-sort-function' to specify how to sort entries in *Completions*.
2856- `cycle-sort-function' to specify how to sort entries when cycling.
2857
7d301ae6
CY
2858*** `minibuffer-local-filename-must-match-map' is not used any more.
2859Instead, the bindings in `minibuffer-local-filename-completion-map'
2860are combined with `minibuffer-local-must-match-map'.
de09aa52
CY
2861
2862*** New variable `completing-read-function' allows overriding the
2863behavior of `completing-read'.
2864
f042970d 2865** `glyphless-char-display' can now distinguish between graphical and
16a43933
CY
2866text terminal display, via a char-table entry that is a cons cell.
2867
7d301ae6 2868** `pre-command-hook'/`post-command-hook' are not reset to nil on error.
f6d62986
SM
2869Instead, the offending function is removed.
2870
b1f6fa26
CY
2871** New hook types
2872
2873*** New function `run-hook-wrapped' for running an abnormal hook by
2874passing the hook functions as arguments to a "wrapping" function.
e7bc51d0 2875Like `run-hook-with-args-until-success', it stops at the first
5385447f 2876non-nil return value.
e7bc51d0 2877
b1f6fa26
CY
2878*** New macro `with-wrapper-hook' for running an abnormal hook as a
2879set of "wrapping" filters, similar to around advice.
54521c99
GM
2880(A version of this macro was actually added in Emacs 23.2 but was not
2881advertised at the time.)
f6d62986 2882
0b19b281 2883** Debugger changes
dfdb4cad 2884
0b19b281 2885*** New macro `condition-case-unless-debug' (this was actually added in
1be3ca5a 2886Emacs 23.1 as condition-case-no-debug, but not advertised)
dfdb4cad 2887
0b19b281 2888*** The macro `with-demoted-errors' was added in Emacs 23.1, but not advertised.
dfdb4cad 2889
0b19b281 2890*** Variable `stack-trace-on-error' removed.
dfdb4cad 2891
0b19b281
CY
2892*** The debugger can now "continue" from an error, which means it will
2893jump to the error handler as if the debugger had not been invoked
2894instead of jumping all the way to the top-level.
dfdb4cad 2895
0b19b281
CY
2896*** Set `debug-on-event' to enter the debugger on events like SIGUSR1.
2897This can be useful when `inhibit-quit' is set.
d6b1d521 2898
953cebf5 2899** The new function `server-eval-at' allows evaluation of Lisp forms on
37576acd 2900named Emacs server instances.
7deebf1b 2901
1b9f60cc
GM
2902** `call-process' and `call-process-region' allow a `(:file "file")' spec
2903to redirect STDOUT to a file.
7deebf1b 2904
7d301ae6
CY
2905** The function `format-time-string' now supports the %N directive,
2906for higher-resolution time stamps.
da97a9e6 2907
0b19b281 2908** New input reading functions
dfdb4cad 2909
0b19b281
CY
2910*** New function `read-char-choice' reads a restricted set of
2911characters, discarding any inputs not inside the set.
dfdb4cad 2912
0b19b281
CY
2913*** The command `read-color' now requires a match for a color name
2914or RGB triplet, instead of signaling an error if the user provides
2915invalid input.
dfdb4cad 2916
0b19b281 2917**** `facemenu-read-color' is now an alias for `read-color'.
3ef01959 2918
2e288d54
JB
2919** `image-library-alist' is renamed to `dynamic-library-alist'.
2920The variable is now used to load all kind of supported dynamic libraries,
2921not just image libraries. The previous name is still available as an
2922obsolete alias.
2923
0b19b281 2924** Syntax parsing changes
dfdb4cad 2925
0b19b281 2926*** New variable `syntax-propertize-function'.
04e2ce72 2927This replaces `font-lock-syntactic-keywords' which is now obsolete.
cf38dd42
SM
2928This allows syntax-table properties to be set independently from font-lock:
2929just call syntax-propertize to make sure the text is propertized.
2930Together with this new variable come a new hook
2931syntax-propertize-extend-region-functions, as well as two helper functions:
2932syntax-propertize-via-font-lock to reuse old font-lock-syntactic-keywords
2933as-is; and syntax-propertize-rules which provides a new way to specify
2934syntactic rules.
dfdb4cad 2935
0b19b281 2936*** Syntax tables support a new "comment style c" additionally to style b.
a2e5caf7 2937
7d301ae6 2938** New hook `post-self-insert-hook', run after `self-insert-command'.
041d709f 2939
4e2db1fe 2940** frame-local variables cannot be let-bound any more.
041d709f 2941
15de15c6 2942** Major and minor mode changes
dfdb4cad 2943
0b19b281
CY
2944*** `set-auto-mode' now respects mode: local variables at the end of files,
2945as well as those in the -*- line.
dfdb4cad 2946
15de15c6
CY
2947*** `prog-mode' is a new major mode from which programming modes
2948should be derived.
dfdb4cad 2949
15de15c6
CY
2950**** `prog-mode-hook' can be used to enable features for programming
2951modes, e.g. (add-hook 'prog-mode-hook 'flyspell-prog-mode) to enable
2952on-the-fly spell checking for comments and strings.
dfdb4cad 2953
14dd22d2
JB
2954**** New minor modes `prettify-symbols-mode' and
2955`global-prettify-symbols-mode' let the user enable symbol
2956prettification (replacing a string like "lambda" with the Greek lambda
2957character).
398b4366 2958
15de15c6
CY
2959*** New hook `change-major-mode-after-body-hook', run by
2960`run-mode-hooks' just before any other mode hooks.
dfdb4cad 2961
7a9a2fc6
GM
2962*** Enabled globalized minor modes can be disabled in specific major modes.
2963If the global mode is global-FOO-mode, then run (FOO-mode -1) in the
2964major mode's hook, where FOO-mode toggles the mode on a per-buffer basis.
dfdb4cad 2965
feb8a83a 2966*** `define-minor-mode' accepts new keywords :variable, :after-hook.
f44379e7 2967
7d301ae6
CY
2968** File-handling changes
2969
7d301ae6 2970*** `delete-file' and `delete-directory' now accept optional arg TRASH.
f1a5d776
CY
2971Trashing is performed if TRASH and `delete-by-moving-to-trash' are
2972both non-nil. Interactively, TRASH defaults to t, unless a prefix
2973argument is supplied (see Trash changes, above).
53967e09 2974
7d301ae6 2975*** New file predicates: `file-equal-p', `file-in-directory-p'.
ec70a47d 2976
4039c786
CY
2977** Tool-bars can display separators.
2978Tool-bar separators are handled like menu separators in menu-bar maps,
94975270 2979i.e. via menu entries of the form `(menu-item "--")'.
9317e499 2980
00fe2df1
JL
2981** Image API
2982
18af70d0
CY
2983*** Animated images support (currently animated gifs only).
2984
2985**** `image-animated-p' returns non-nil if an image can be animated.
2986
2987**** `image-animate' animates a supplied image spec.
2988
2989**** `image-animate-timer' returns the timer object for an image that
2990is being animated.
00fe2df1 2991
7cb76fe0
GM
2992*** `image-extension-data' has been renamed to `image-metadata'.
2993The old name is an obsolete alias to the new one.
1546c559 2994
b4ac6e8c
GM
2995*** Image mode can view any image type that ImageMagick supports.
2996This requires Emacs to be built with ImageMagick support.
7d301ae6
CY
2997
2998**** New function `imagemagick-types', defined if ImageMagick support
2999is enabled, returns a list of image file extensions that your
3000ImageMagick installation supports.
3001
3002**** New function `imagemagick-register-types' enables ImageMagick
3003image types in Image mode and in `create-image' and other helper
3004functions.
3005
3006**** New option `imagemagick-types-inhibit' excludes certain
3007ImageMagick image types from `imagemagick-register-types'.
3008
7d301ae6
CY
3009**** With ImageMagick support, there are extra Image mode commands to
3010resize and rotate images: `image-transform-fit-to-height',
3011`image-transform-fit-to-width', `image-transform-set-rotation', and
3012`image-transform-set-scale'.
041d709f 3013
7d301ae6
CY
3014** `compose-mail' now accepts an optional 8th arg, RETURN-ACTION, and
3015passes it to the mail user agent function. This argument specifies an
3016action for returning to the caller after finishing with the mail. For
3017example, this is used by Rmail to optionally delete a mail window.
b4ac6e8c 3018
71c17aec 3019** XML and HTML parsing
483ab230
CY
3020If Emacs is compiled with libxml2 support, there are two new
3021functions: `libxml-parse-html-region' (which parses "real world" HTML)
3022and `libxml-parse-xml-region' (which parses XML). Both return an
3023Emacs Lisp parse tree.
4b9832a6 3024
7d301ae6 3025** Networking and encryption changes
e2574f2c 3026
7d301ae6
CY
3027*** `open-network-stream' can now be used to open an encrypted stream.
3028It now accepts an optional `:type' parameter for initiating a TLS
3029connection, directly or via STARTTLS. To do STARTTLS, additional
3030parameters (`:end-of-command', `:success', `:capabilities-command')
3031must also be supplied.
3032
3033*** New library gnutls.el.
dfdb4cad
CY
3034The new function `gnutls-available-p' returns non-nil if Emacs is
3035built with GnuTLS support. The main entry points are
3036`open-gnutls-stream' and `gnutls-negotiate'. It's easiest to use
3037these functions through `open-network-stream', because that can
7d301ae6
CY
3038upgrade connections through STARTTLS opportunistically or use plain
3039SSL, depending on your needs. For debugging, set `gnutls-log-level'
3040greater than 0.
3041
7d301ae6
CY
3042*** New primitive `secure-hash' that supports many secure hash algorithms:
3043md5, sha1, sha2, sha224, sha256, sha384, and sha512. The lisp library
3044sha1.el has been removed. The `sha1' feature is provided by default.
71c17aec 3045
a6020335
MH
3046** Isearch
3047
3048*** New hook `isearch-update-post-hook' that runs in `isearch-update'.
3049
9326ba26
CY
3050** Progress reporters can now "spin".
3051The MIN-VALUE and MAX-VALUE arguments of `make-progress-reporter' can
3052now be nil, or omitted. This makes a "non-numeric" reporter. Each
3053time you call `progress-reporter-update' on that progress reporter,
3054with a nil or omitted VALUE argument, the reporter message is
3055displayed with a "spinning bar".
3056
3e214b50
JB
3057** New variable `revert-buffer-in-progress-p' is true while a buffer is
3058being reverted, even if the buffer has a local `revert-buffer-function'.
3059
001bf877
GM
3060** New variables `delayed-warnings-list' and `delayed-warnings-hook'.
3061If delayed-warnings-list is non-nil, the command loop calls
7d301ae6
CY
3062`delayed-warnings-hook' after `post-command-hook'. At present, this
3063is only used by Emacs on some platforms to display warnings during
3064startup, which might otherwise not be noticed. This uses the
3065functions `display-delayed-warnings' and `collapse-delayed-warnings'.
001bf877 3066
6420d28b
CY
3067** rx.el has a new `group-n' construct for explicitly numbered groups.
3068
dac86404
GM
3069** New function `make-composed-keymap' that constructs a new keymap
3070from multiple input maps. You can use this to make a keymap that
3071inherits from multiple maps, eg:
3072 (set-keymap-parent newmap (make-composed-keymap othermap parent))
43dc9f5b 3073
c8f6ec5c
GM
3074** New function `string-prefix-p'.
3075(This was actually added in Emacs 23.2 but was not advertised at the time.)
3076
27f7ef2f 3077** New reader macro ## that stands for the empty symbol.
43dc9f5b
AS
3078This means that the empty symbol can now be read back. Also, #: by itself
3079(when not immediately followed by a possible symbol character) stands for
3080an empty uninterned symbol.
041d709f 3081
fead402d
CY
3082** New math functions `isnan', `copysign', `frexp', `ldexp'.
3083
7d301ae6 3084** The following functions and variables are obsolete:
041d709f 3085
05f77e38
GM
3086*** `tooltip-use-echo-area' is obsolete.
3087Rather than setting this to t, disable Tooltip mode instead.
3088
041d709f
CY
3089*** buffer-substring-filters is obsolete.
3090Use `filter-buffer-substring-functions' instead.
3091
3092*** `byte-compile-disable-print-circle' is obsolete.
3093
3094*** `deferred-action-list' and `deferred-action-function' are obsolete.
f160676e
GM
3095Use `post-command-hook' instead.
3096
67e729a5
CY
3097*** `font-lock-maximum-size' is obsolete.
3098
eb199145 3099\f
93e0bed6 3100* Changes in Emacs 24.1 on Non-Free Operating Systems
d53a60a6 3101
7a22e700 3102** On MS Windows, Emacs warns when using the obsolete init file _emacs,
a2f0118c
GM
3103and also when HOME is set to C:\ by default.
3104
7a22e700 3105** New configure.bat options
04779484 3106
7a22e700 3107*** --enable-checking builds Emacs with extra runtime checks.
e3aef5c6 3108
7a22e700 3109*** --distfiles specifies files to be included in binary distribution.
e2574f2c 3110
7a22e700
OK
3111*** --without-gnutls disables automatic GnuTLS detection.
3112
a0d363f4 3113*** --lib for general library linkage, works with the USER_LIBS build variable.
e2574f2c 3114
0a19a6f8 3115** New make target `dist' to create binary distribution for MS Windows.
e3aef5c6 3116
1f5e1a16
GM
3117** The Lisp function `w32-default-color-map' is now obsolete.
3118(It is only used internally in the Emacs C code.)
5430d399 3119
1f5e1a16
GM
3120** Customize ns-auto-hide-menu-bar to have the menu-bar hidden, but
3121reappear on mouse-over. (Requires OS X 10.6 or later.)
04e2ce72 3122
ad7c802c
CY
3123** On Mac OS X, dragging a file into Emacs visits the file, like on
3124other platforms, rather than inserting its contents into the buffer.
3125
05197f40 3126\f
a933dad1 3127----------------------------------------------------------------------
5b87ad55 3128This file is part of GNU Emacs.
a933dad1 3129
ab73e885 3130GNU Emacs is free software: you can redistribute it and/or modify
5b87ad55 3131it under the terms of the GNU General Public License as published by
ab73e885
GM
3132the Free Software Foundation, either version 3 of the License, or
3133(at your option) any later version.
5b87ad55
GM
3134
3135GNU Emacs is distributed in the hope that it will be useful,
3136but WITHOUT ANY WARRANTY; without even the implied warranty of
3137MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3138GNU General Public License for more details.
a933dad1 3139
5b87ad55 3140You should have received a copy of the GNU General Public License
ab73e885 3141along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
a933dad1 3142
05197f40 3143\f
a933dad1
DL
3144Local variables:
3145mode: outline
3146paragraph-separate: "[ \f]*$"
3147end: