diff options
Diffstat (limited to 'etc/NEWS')
| -rw-r--r-- | etc/NEWS | 220 |
1 files changed, 123 insertions, 97 deletions
| @@ -38,10 +38,6 @@ These provide no new functionality, they just remove the need to edit | |||
| 38 | lib-src/Makefile by hand in order to use the associated features. | 38 | lib-src/Makefile by hand in order to use the associated features. |
| 39 | 39 | ||
| 40 | --- | 40 | --- |
| 41 | ** There is a new configure option --with-crt-dir. | ||
| 42 | This is only useful if your crt*.o files are in a non-standard location. | ||
| 43 | |||
| 44 | --- | ||
| 45 | ** Emacs can be compiled against Gtk+ 3.0 if you pass --with-x-toolkit=gtk3 | 41 | ** Emacs can be compiled against Gtk+ 3.0 if you pass --with-x-toolkit=gtk3 |
| 46 | to configure. Note that other libraries used by Emacs, RSVG and GConf, | 42 | to configure. Note that other libraries used by Emacs, RSVG and GConf, |
| 47 | also depend on Gtk+. You can disable them with --without-rsvg and | 43 | also depend on Gtk+. You can disable them with --without-rsvg and |
| @@ -60,8 +56,8 @@ automatically select it. | |||
| 60 | * Startup Changes in Emacs 24.1 | 56 | * Startup Changes in Emacs 24.1 |
| 61 | 57 | ||
| 62 | ** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte | 58 | ** The --unibyte, --multibyte, --no-multibyte, and --no-unibyte |
| 63 | command line arguments no longer have any effect. (They were declared | 59 | command line arguments, and the EMACS_UNIBYTE environment variable, no |
| 64 | obsolete in Emacs 23.) | 60 | longer have any effect. (They were declared obsolete in Emacs 23.) |
| 65 | 61 | ||
| 66 | 62 | ||
| 67 | * Changes in Emacs 24.1 | 63 | * Changes in Emacs 24.1 |
| @@ -138,7 +134,23 @@ theme when Emacs is built with GTK. | |||
| 138 | off by customizing x-gtk-use-system-tooltips. | 134 | off by customizing x-gtk-use-system-tooltips. |
| 139 | 135 | ||
| 140 | ** Lucid menus and dialogs can display antialiased fonts if Emacs is built | 136 | ** Lucid menus and dialogs can display antialiased fonts if Emacs is built |
| 141 | with Xft. | 137 | with Xft. To change font, use X resource faceName, for example: |
| 138 | Emacs.pane.menubar.faceName: Courier-12 | ||
| 139 | Set faceName to none and use font to use the old X fonts. | ||
| 140 | |||
| 141 | +++ | ||
| 142 | ** Enhanced support for characters that have no glyphs in available fonts | ||
| 143 | If a character has no glyphs in any of the available fonts, Emacs by | ||
| 144 | default will display it either as a hexadecimal code in a box or as a | ||
| 145 | thin 1-pixel space. In addition to these two methods, Emacs can | ||
| 146 | display these characters as empty box, as an acronym, or not display | ||
| 147 | them at all. To change how these characters are displayed, customize | ||
| 148 | the variable `glyphless-char-display-control'. | ||
| 149 | |||
| 150 | On character terminals these methods are used for characters that | ||
| 151 | cannot be encoded by the `terminal-coding-system'. | ||
| 152 | |||
| 153 | ** On graphical displays, the mode-line no longer ends in dashes. | ||
| 142 | 154 | ||
| 143 | ** Basic SELinux support has been added. | 155 | ** Basic SELinux support has been added. |
| 144 | This requires Emacs to be linked with libselinux at build time. | 156 | This requires Emacs to be linked with libselinux at build time. |
| @@ -183,7 +195,7 @@ for `list-colors-display'. | |||
| 183 | 195 | ||
| 184 | ** An Emacs Lisp package manager is now included. | 196 | ** An Emacs Lisp package manager is now included. |
| 185 | This is a convenient way to download and install additional packages, | 197 | This is a convenient way to download and install additional packages, |
| 186 | from elpa.gnu.org. | 198 | from a package repository at elpa.gnu.org. |
| 187 | 199 | ||
| 188 | *** `M-x list-packages' shows a list of packages, which can be | 200 | *** `M-x list-packages' shows a list of packages, which can be |
| 189 | selected for installation. | 201 | selected for installation. |
| @@ -199,13 +211,26 @@ loaded, customize `package-load-list'. | |||
| 199 | 211 | ||
| 200 | *** `M-x customize-themes' lists Custom themes which can be enabled. | 212 | *** `M-x customize-themes' lists Custom themes which can be enabled. |
| 201 | 213 | ||
| 214 | *** New option `custom-theme-load-path' is the load path for themes. | ||
| 215 | Emacs no longer looks for custom themes in `load-path'. The default | ||
| 216 | is to search in `custom-theme-directory', followed by a built-in theme | ||
| 217 | directory named "themes/" in `data-directory'. | ||
| 218 | |||
| 202 | ** The user option `remote-file-name-inhibit-cache' controls whether | 219 | ** The user option `remote-file-name-inhibit-cache' controls whether |
| 203 | the remote file-name cache is used for read access. | 220 | the remote file-name cache is used for read access. |
| 204 | 221 | ||
| 222 | ** The standalone programs lib-src/digest-doc and sorted-doc have been | ||
| 223 | replaced with Lisp commands `doc-file-to-man' and `doc-file-to-info'. | ||
| 224 | |||
| 205 | 225 | ||
| 206 | * Editing Changes in Emacs 24.1 | 226 | * Editing Changes in Emacs 24.1 |
| 207 | 227 | ||
| 208 | ** completion-at-point is now an alias for complete-symbol. | 228 | +++ |
| 229 | ** There is a new command `count-words-region', which does what you expect. | ||
| 230 | |||
| 231 | ** completion-at-point now handles tags and semantic completion. | ||
| 232 | |||
| 233 | ** The default value of `backup-by-copying-when-mismatch' is now t. | ||
| 209 | 234 | ||
| 210 | ** Deletion changes | 235 | ** Deletion changes |
| 211 | 236 | ||
| @@ -215,8 +240,8 @@ and no prefix argument is given. If set to `kill', these commands | |||
| 215 | kill instead. | 240 | kill instead. |
| 216 | 241 | ||
| 217 | *** New command `delete-forward-char', bound to C-d and [delete]. | 242 | *** New command `delete-forward-char', bound to C-d and [delete]. |
| 218 | This is meant for interactive use, and obeys `delete-active-region'; | 243 | This is meant for interactive use, and obeys `delete-active-region'. |
| 219 | delete-char, meant for Lisp, does not obey `delete-active-region'. | 244 | The command `delete-char' does not obey `delete-active-region'. |
| 220 | 245 | ||
| 221 | *** `delete-backward-char' is now a Lisp function. | 246 | *** `delete-backward-char' is now a Lisp function. |
| 222 | Apart from obeying `delete-active-region', its behavior is unchanged. | 247 | Apart from obeying `delete-active-region', its behavior is unchanged. |
| @@ -228,76 +253,73 @@ should use delete-char with a negative argument instead. | |||
| 228 | ** Selection changes. | 253 | ** Selection changes. |
| 229 | 254 | ||
| 230 | The default handling of clipboard and primary selections has been | 255 | The default handling of clipboard and primary selections has been |
| 231 | changed to conform with other X applications. | 256 | changed to conform with other X applications. The exact changes are |
| 232 | 257 | described below; in short, mouse commands to select and paste text now | |
| 233 | The new behavior is that by default Emacs does not put text into the | 258 | use the primary selection, while all other commands for killing and |
| 234 | clipboard, and does not add it to kill-ring, merely because the text | 259 | yanking text now use the clipboard. |
| 235 | was selected. Only commands that kill text or copy it to the | 260 | |
| 236 | kill-ring (C-w, M-w, C-k, etc.) put the killed text into the | 261 | *** Merely selecting text (e.g. with drag-mouse-1) does not add it to |
| 237 | clipboard. Selected text is put into the primary selection (on | 262 | the kill-ring. On systems with a primary selection separate from the |
| 238 | systems, such as X, that support the primary selection separately from | 263 | clipboard (such as X), the selected text is put in the primary |
| 239 | the clipboard). | 264 | selection. |
| 240 | |||
| 241 | Similarly, Emacs by default does not retrieve text from the clipboard | ||
| 242 | when the mouse (e.g., mouse-2) is used for pasting text selected in | ||
| 243 | another application. Text from the clipboard is retrieved only by | ||
| 244 | C-y, M-y and other commands that yank text from the kill-ring. Mouse | ||
| 245 | commands that paste text retrieve text from the primary selection, on | ||
| 246 | systems that support it separately from the clipboard. | ||
| 247 | |||
| 248 | In other words, the default behavior is that mouse gestures that | ||
| 249 | select and paste text work with the primary selection, while keyboard | ||
| 250 | commands that kill/copy and paste text work with the clipboard. | ||
| 251 | |||
| 252 | This change also means that the "Copy", "Cut", and "Paste" items of | ||
| 253 | the menu-bar "Edit" menu are now exactly equivalent to, respectively | ||
| 254 | M-w, C-w, and C-y. | ||
| 255 | |||
| 256 | To get back the previous behavior, whereby mouse gestures set the | ||
| 257 | clipboard and retrieve text from there, customize the variables | ||
| 258 | `mouse-drag-copy-region' and (on X only) `x-select-enable-primary'. | ||
| 259 | If you don't want Emacs to put the text into the clipboard, only to | ||
| 260 | the primary selection, additionally customize | ||
| 261 | `x-select-enable-clipboard' to nil. | ||
| 262 | |||
| 263 | These changes in the default behavior are reflected in the default | ||
| 264 | values of several variables: | ||
| 265 | |||
| 266 | *** `select-active-regions' now defaults to t, so active regions set | ||
| 267 | the primary selection. It was nil in previous versions. | ||
| 268 | 265 | ||
| 266 | *** mouse-2 is now bound to `mouse-yank-primary', which pastes from | ||
| 267 | the primary selection regardless of the contents of the kill-ring. | ||
| 268 | |||
| 269 | *** Commands that kill text or copy it to the kill-ring (M-w, C-w, | ||
| 270 | C-k, etc.) also put the killed text into the clipboard. This change | ||
| 271 | also means that the "Copy", "Cut", and "Paste" items in the "Edit" | ||
| 272 | menu are now exactly equivalent to, respectively M-w, C-w, and C-y. | ||
| 273 | |||
| 274 | *** Yank commands, such as C-y and M-y, retrieve text from the | ||
| 275 | clipboard if it is available. | ||
| 276 | |||
| 277 | *** The above changes are reflected in the following new defaults: | ||
| 278 | |||
| 279 | **** `select-active-regions' now defaults to t. | ||
| 269 | It also accepts a new value, `only', which means to only set the | 280 | It also accepts a new value, `only', which means to only set the |
| 270 | primary selection for temporarily active regions (usually made by | 281 | primary selection for temporarily active regions (usually made by |
| 271 | mouse-dragging or shift-selection). | 282 | mouse-dragging or shift-selection). |
| 272 | 283 | ||
| 273 | *** `mouse-2' is now bound to `mouse-yank-primary'. | 284 | **** `mouse-2' is now bound to `mouse-yank-primary'. |
| 274 | Previously, it was bound to `mouse-yank-at-click' (which is now | 285 | Previously, it was bound to `mouse-yank-at-click' (which is now |
| 275 | unbound by default. | 286 | unbound by default). |
| 276 | 287 | ||
| 277 | *** `x-select-enable-clipboard' now defaults to t on all platforms. | 288 | **** `x-select-enable-clipboard' now defaults to t on all platforms. |
| 278 | Thus, killing and yanking now use the clipboard (in addition to the | 289 | Note that this variable was already non-nil by default on MS-Windows, |
| 279 | kill ring). Note that this variable was already non-nil by default on | 290 | which does not support the primary selection between applications. |
| 280 | MS-Windows, which does not support the primary selection between | ||
| 281 | applications. | ||
| 282 | 291 | ||
| 283 | *** `x-select-enable-primary' now defaults to nil. | 292 | **** `x-select-enable-primary' now defaults to nil. |
| 284 | This variable exists only on X; its default value was t in previous | 293 | This variable exists only on X; its default value was t in previous |
| 285 | versions. | 294 | versions. |
| 286 | 295 | ||
| 287 | *** `mouse-drag-copy-region' now defaults to nil. | 296 | **** `mouse-drag-copy-region' now defaults to nil. |
| 288 | Its previous default value was t. | 297 | |
| 298 | *** To return to the previous behavior, where mouse commands use the | ||
| 299 | clipboard, change `mouse-drag-copy-region' and (on X only) | ||
| 300 | `x-select-enable-primary' to t. If you don't want Emacs to put the | ||
| 301 | text into the clipboard, only to the primary selection, additionally | ||
| 302 | set `x-select-enable-clipboard' to nil. | ||
| 289 | 303 | ||
| 290 | *** Support for X cut buffers has been removed. | 304 | *** Support for X cut buffers has been removed. |
| 291 | 305 | ||
| 292 | 306 | ||
| 293 | * Changes in Specialized Modes and Packages in Emacs 24.1 | 307 | * Changes in Specialized Modes and Packages in Emacs 24.1 |
| 294 | 308 | ||
| 309 | ** shell-mode can track your cwd by reading it from your prompt. | ||
| 310 | Just set shell-dir-cookie-re to an appropriate regexp. | ||
| 311 | |||
| 312 | ** Modula-2 mode provides auto-indentation. | ||
| 313 | |||
| 295 | ** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. | 314 | ** latex-electric-env-pair-mode keeps \begin..\end matched on the fly. |
| 296 | 315 | ||
| 297 | ** FIXME: xdg-open for browse-url and reportbug, 2010/08. | 316 | ** FIXME: xdg-open for browse-url and reportbug, 2010/08. |
| 298 | 317 | ||
| 299 | ** Archive Mode has basic support to browse 7z archives. | 318 | ** Archive Mode has basic support to browse 7z archives. |
| 300 | 319 | ||
| 320 | ** browse-url has gotten a new variable that is used for mailto: URLs, | ||
| 321 | `browse-url-mailto-function', which defaults to `browse-url-mail'. | ||
| 322 | |||
| 301 | ** ERC changes | 323 | ** ERC changes |
| 302 | 324 | ||
| 303 | *** New vars `erc-autojoin-timing' and `erc-autojoin-delay'. | 325 | *** New vars `erc-autojoin-timing' and `erc-autojoin-delay'. |
| @@ -306,6 +328,11 @@ successful NickServ identification, or after `erc-autojoin-delay' | |||
| 306 | seconds. The default value, 'ident, means to autojoin immediately | 328 | seconds. The default value, 'ident, means to autojoin immediately |
| 307 | after connecting. | 329 | after connecting. |
| 308 | 330 | ||
| 331 | *** New variable `erc-coding-system-precedence': If we use `undecided' | ||
| 332 | as the server coding system, this variable will then be consulted. | ||
| 333 | The default is to decode strings that can be decoded as utf-8 as | ||
| 334 | utf-8, and do the normal `undecided' decoding for the rest. | ||
| 335 | |||
| 309 | ** In ido-mode, C-v is no longer bound to ido-toggle-vc. | 336 | ** In ido-mode, C-v is no longer bound to ido-toggle-vc. |
| 310 | The reason is that this interferes with cua-mode. | 337 | The reason is that this interferes with cua-mode. |
| 311 | 338 | ||
| @@ -316,6 +343,8 @@ You can get a comparable behavior with: | |||
| 316 | 343 | ||
| 317 | ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags. | 344 | ** mpc.el: Can use pseudo tags of the form tag1|tag2 as a union of two tags. |
| 318 | 345 | ||
| 346 | ** server can listen on a specific port using the server-port option. | ||
| 347 | |||
| 319 | ** Calendar, Diary, and Appt | 348 | ** Calendar, Diary, and Appt |
| 320 | 349 | ||
| 321 | --- | 350 | --- |
| @@ -335,7 +364,7 @@ view-diary-entries, list-diary-entries, show-all-diary-entries | |||
| 335 | 364 | ||
| 336 | *** Customize buffers now contain a search field. | 365 | *** Customize buffers now contain a search field. |
| 337 | The search is performed using `customize-apropos'. | 366 | The search is performed using `customize-apropos'. |
| 338 | To turn off the search field, set custom-search-field to nil . | 367 | To turn off the search field, set custom-search-field to nil. |
| 339 | 368 | ||
| 340 | *** Custom options now start out hidden if at their default values. | 369 | *** Custom options now start out hidden if at their default values. |
| 341 | Use the arrow to the left of the option name to toggle visibility. | 370 | Use the arrow to the left of the option name to toggle visibility. |
| @@ -350,41 +379,6 @@ choose a color via list-colors-display. | |||
| 350 | *** dired-jump and dired-jump-other-window called with a prefix argument | 379 | *** dired-jump and dired-jump-other-window called with a prefix argument |
| 351 | read a file name from the minibuffer instead of using buffer-file-name. | 380 | read a file name from the minibuffer instead of using buffer-file-name. |
| 352 | 381 | ||
| 353 | ** VC and related modes | ||
| 354 | |||
| 355 | *** New VC commands: vc-log-incoming, vc-log-outgoing, vc-find-conflicted-file. | ||
| 356 | |||
| 357 | **** vc-log-incoming for Git runs "git fetch" so that the necessary | ||
| 358 | data is available locally. | ||
| 359 | |||
| 360 | **** vc-log-incoming and vc-log-outgoing for Git require version 1.7 (or newer). | ||
| 361 | |||
| 362 | *** New key bindings: C-x v I and C-x v O bound to vc-log-incoming and | ||
| 363 | vc-log-outgoing, respectively. | ||
| 364 | |||
| 365 | *** The 'g' key in VC diff, log, log-incoming and log-outgoing buffers | ||
| 366 | reruns the corresponding VC command to compute an up to date version | ||
| 367 | of the buffer. | ||
| 368 | |||
| 369 | *** vc-dir for Bzr supports viewing shelve contents and shelving snapshots. | ||
| 370 | |||
| 371 | *** Special markup can be added to log-edit buffers. | ||
| 372 | The log-edit buffers are expected to have a format similar to email messages | ||
| 373 | with headers of the form: | ||
| 374 | Author: <author of this change> | ||
| 375 | Summary: <one line summary of this change> | ||
| 376 | Fixes: <reference to the bug fixed by this change> | ||
| 377 | Some backends handle some of those headers specially, but any unknown header | ||
| 378 | is just left as is in the message, so it is not lost. | ||
| 379 | |||
| 380 | **** vc-git handles Author: and Date: | ||
| 381 | **** vc-hg handles Author: and Date: | ||
| 382 | **** vc-bzr handles Author:, Date: and Fixes: | ||
| 383 | **** vc-mtn handles Author: and Date: | ||
| 384 | |||
| 385 | *** Pressing g in a *vc-diff* buffer reruns vc-diff, so it will | ||
| 386 | produce an up to date diff. | ||
| 387 | |||
| 388 | ** Directory local variables can apply to file-less buffers. | 382 | ** Directory local variables can apply to file-less buffers. |
| 389 | For example, adding "(diff-mode . ((mode . whitespace)))" to your | 383 | For example, adding "(diff-mode . ((mode . whitespace)))" to your |
| 390 | .dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers. | 384 | .dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers. |
| @@ -551,15 +545,32 @@ system or session bus. | |||
| 551 | *** The following access methods are discontinued: "ssh1_old", | 545 | *** The following access methods are discontinued: "ssh1_old", |
| 552 | "ssh2_old", "scp1_old", "scp2_old" and "fish". | 546 | "ssh2_old", "scp1_old", "scp2_old" and "fish". |
| 553 | 547 | ||
| 548 | ** VC and related modes | ||
| 549 | |||
| 550 | *** Support for pulling on distributed version control systems. | ||
| 551 | The vc-update command now runs a "pull" operation, if it is supported. | ||
| 552 | This updates the current branch from upstream. A prefix argument | ||
| 553 | means to prompt the user for command specifics, e.g. a pull location. | ||
| 554 | |||
| 555 | **** vc-pull is an alias for vc-update. | ||
| 556 | |||
| 557 | **** Currently supported by Bzr. | ||
| 558 | |||
| 559 | *** Support for merging on distributed version control systems. | ||
| 560 | The vc-merge command now runs a "merge" operation, if it is supported. | ||
| 561 | This merges another branch into the current one. A prefix argument | ||
| 562 | means to prompt the user for command specifics, e.g. a merge location. | ||
| 563 | |||
| 564 | **** Currently supported by Bzr. | ||
| 565 | |||
| 554 | 566 | ||
| 555 | * New Modes and Packages in Emacs 24.1 | 567 | * New Modes and Packages in Emacs 24.1 |
| 556 | 568 | ||
| 557 | ** New global minor modes electric-pair-mode and electric-indent-mode. | 569 | ** New global minor modes electric-pair-mode, electric-indent-mode, |
| 570 | and electric-layout-mode. | ||
| 558 | 571 | ||
| 559 | ** pcase.el provides the ML-style pattern matching macro `pcase'. | 572 | ** pcase.el provides the ML-style pattern matching macro `pcase'. |
| 560 | 573 | ||
| 561 | ** smie.el is a package providing a simple generic indentation engine. | ||
| 562 | |||
| 563 | ** secrets.el is an implementation of the Secret Service API, an | 574 | ** secrets.el is an implementation of the Secret Service API, an |
| 564 | interface to password managers like GNOME Keyring or KDE Wallet. The | 575 | interface to password managers like GNOME Keyring or KDE Wallet. The |
| 565 | Secret Service API requires D-Bus for communication. The command | 576 | Secret Service API requires D-Bus for communication. The command |
| @@ -572,6 +583,13 @@ Notifications API. It requires D-Bus for communication. | |||
| 572 | 583 | ||
| 573 | * Incompatible Lisp Changes in Emacs 24.1 | 584 | * Incompatible Lisp Changes in Emacs 24.1 |
| 574 | 585 | ||
| 586 | ** For mouse click input events in the text area, the Y pixel | ||
| 587 | coordinate in the POSITION list now counts from the top of the text | ||
| 588 | area, excluding any header line. Previously, it counted from the top | ||
| 589 | of the header line. | ||
| 590 | |||
| 591 | ** Remove obsolete name `e' (use `float-e' instead). | ||
| 592 | |||
| 575 | ** A backquote not followed by a space is now always treated as new-style. | 593 | ** A backquote not followed by a space is now always treated as new-style. |
| 576 | 594 | ||
| 577 | ** Test for special mode-class was moved from view-file to view-buffer. | 595 | ** Test for special mode-class was moved from view-file to view-buffer. |
| @@ -615,6 +633,8 @@ font-lock-defaults-alist | |||
| 615 | ** The following files, obsolete since at least Emacs 21.1, have been removed: | 633 | ** The following files, obsolete since at least Emacs 21.1, have been removed: |
| 616 | sc.el, x-menu.el, rnews.el, rnewspost.el | 634 | sc.el, x-menu.el, rnews.el, rnewspost.el |
| 617 | 635 | ||
| 636 | ** FIXME finder-inf.el changes. | ||
| 637 | |||
| 618 | 638 | ||
| 619 | * Lisp changes in Emacs 24.1 | 639 | * Lisp changes in Emacs 24.1 |
| 620 | 640 | ||
| @@ -650,6 +670,12 @@ argument is supplied (see Trash changes, above). | |||
| 650 | 670 | ||
| 651 | ** New completion style `substring'. | 671 | ** New completion style `substring'. |
| 652 | 672 | ||
| 673 | ** `facemenu-read-color' is now an alias for `read-color'. | ||
| 674 | The command `read-color' now requires a match for a color name or RGB | ||
| 675 | triplet, instead of signalling an error if the user provides a invalid | ||
| 676 | input. | ||
| 677 | |||
| 678 | |||
| 653 | ** Image API | 679 | ** Image API |
| 654 | 680 | ||
| 655 | *** When the image type is one of listed in `image-animated-types' | 681 | *** When the image type is one of listed in `image-animated-types' |