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