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