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