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