diff options
| author | Chong Yidong | 2010-10-31 23:20:57 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-10-31 23:20:57 -0400 |
| commit | 42d9cffad26ec6ac1738b252d4f7937361b45412 (patch) | |
| tree | 6846d30e92e79156b3bb16b0c4e9a069e6318309 | |
| parent | 693c9d15e5f659f6acb545d1a9301620b8393f1d (diff) | |
| download | emacs-42d9cffad26ec6ac1738b252d4f7937361b45412.tar.gz emacs-42d9cffad26ec6ac1738b252d4f7937361b45412.zip | |
etc/NEWS: Remove VC changes, since they are backported to 23.3.
Edit selection changes.
| -rw-r--r-- | etc/NEWS | 125 |
1 files changed, 39 insertions, 86 deletions
| @@ -187,7 +187,7 @@ for `list-colors-display'. | |||
| 187 | 187 | ||
| 188 | ** An Emacs Lisp package manager is now included. | 188 | ** An Emacs Lisp package manager is now included. |
| 189 | This is a convenient way to download and install additional packages, | 189 | This is a convenient way to download and install additional packages, |
| 190 | from elpa.gnu.org. | 190 | from a package repository at elpa.gnu.org. |
| 191 | 191 | ||
| 192 | *** `M-x list-packages' shows a list of packages, which can be | 192 | *** `M-x list-packages' shows a list of packages, which can be |
| 193 | selected for installation. | 193 | selected for installation. |
| @@ -227,8 +227,8 @@ and no prefix argument is given. If set to `kill', these commands | |||
| 227 | kill instead. | 227 | kill instead. |
| 228 | 228 | ||
| 229 | *** New command `delete-forward-char', bound to C-d and [delete]. | 229 | *** New command `delete-forward-char', bound to C-d and [delete]. |
| 230 | This is meant for interactive use, and obeys `delete-active-region'; | 230 | This is meant for interactive use, and obeys `delete-active-region'. |
| 231 | delete-char, meant for Lisp, does not obey `delete-active-region'. | 231 | The command `delete-char' does not obey `delete-active-region'. |
| 232 | 232 | ||
| 233 | *** `delete-backward-char' is now a Lisp function. | 233 | *** `delete-backward-char' is now a Lisp function. |
| 234 | Apart from obeying `delete-active-region', its behavior is unchanged. | 234 | Apart from obeying `delete-active-region', its behavior is unchanged. |
| @@ -240,65 +240,53 @@ should use delete-char with a negative argument instead. | |||
| 240 | ** Selection changes. | 240 | ** Selection changes. |
| 241 | 241 | ||
| 242 | The default handling of clipboard and primary selections has been | 242 | The default handling of clipboard and primary selections has been |
| 243 | changed to conform with other X applications. | 243 | changed to conform with other X applications. The exact changes are |
| 244 | 244 | described below; in short, mouse commands to select and paste text now | |
| 245 | The new behavior is that by default Emacs does not put selected text | 245 | use the primary selection, while all other commands for killing and |
| 246 | into the clipboard, and does not add it to kill-ring, merely because | 246 | yanking text now use the clipboard. |
| 247 | the text was selected. Only commands that kill text or copy it to the | ||
| 248 | kill-ring (C-w, M-w, C-k, etc.) put the killed text into the | ||
| 249 | clipboard. Selected text is put into the primary selection (on | ||
| 250 | systems, such as X, that support the primary selection separately from | ||
| 251 | the clipboard). | ||
| 252 | |||
| 253 | Similarly, Emacs by default does not retrieve text from the clipboard | ||
| 254 | when the mouse (e.g., mouse-2) is used for pasting text selected in | ||
| 255 | another application. Mouse commands that paste text retrieve text | ||
| 256 | from the primary selection, on systems that support it separately from | ||
| 257 | the clipboard. Text from the clipboard is retrieved only by C-y, M-y | ||
| 258 | and other commands that yank text from the kill-ring. | ||
| 259 | |||
| 260 | In other words, the default behavior is that mouse gestures that | ||
| 261 | select and paste text work with the primary selection (on X), while | ||
| 262 | keyboard commands that kill/copy and paste text work with the | ||
| 263 | clipboard. | ||
| 264 | |||
| 265 | This change also means that the "Copy", "Cut", and "Paste" items of | ||
| 266 | the menu-bar "Edit" menu are now exactly equivalent to, respectively | ||
| 267 | M-w, C-w, and C-y. | ||
| 268 | |||
| 269 | To get back the previous behavior, whereby mouse gestures set the | ||
| 270 | clipboard and retrieve text from there, customize the variables | ||
| 271 | `mouse-drag-copy-region' and (on X only) `x-select-enable-primary' to | ||
| 272 | non-nil values. If you don't want Emacs to put the text into the | ||
| 273 | clipboard, only to the primary selection, additionally customize | ||
| 274 | `x-select-enable-clipboard' to nil. | ||
| 275 | |||
| 276 | These changes in the default behavior are reflected in the default | ||
| 277 | values of several variables: | ||
| 278 | |||
| 279 | *** `select-active-regions' now defaults to t, so active regions set | ||
| 280 | the primary selection. It was nil in previous versions. | ||
| 281 | 247 | ||
| 248 | *** Merely selecting text (e.g. with drag-mouse-1) does not add it to | ||
| 249 | the kill-ring. On systems with a primary selection separate from the | ||
| 250 | clipboard (such as X), the selected text is put in the primary | ||
| 251 | selection. | ||
| 252 | |||
| 253 | *** mouse-2 is now bound to `mouse-yank-primary', which pastes from | ||
| 254 | the primary selection regardless of the contents of the kill-ring. | ||
| 255 | |||
| 256 | *** Commands that kill text or copy it to the kill-ring (M-w, C-w, | ||
| 257 | C-k, etc.) also put the killed text into the clipboard. This change | ||
| 258 | also means that the "Copy", "Cut", and "Paste" items in the "Edit" | ||
| 259 | menu are now exactly equivalent to, respectively M-w, C-w, and C-y. | ||
| 260 | |||
| 261 | *** Yank commands, such as C-y and M-y, retrieve text from the | ||
| 262 | clipboard if it is available. | ||
| 263 | |||
| 264 | *** The above changes are reflected in the following new defaults: | ||
| 265 | |||
| 266 | **** `select-active-regions' now defaults to t. | ||
| 282 | It also accepts a new value, `only', which means to only set the | 267 | It also accepts a new value, `only', which means to only set the |
| 283 | primary selection for temporarily active regions (usually made by | 268 | primary selection for temporarily active regions (usually made by |
| 284 | mouse-dragging or shift-selection). | 269 | mouse-dragging or shift-selection). |
| 285 | 270 | ||
| 286 | *** `mouse-2' is now bound to `mouse-yank-primary'. | 271 | **** `mouse-2' is now bound to `mouse-yank-primary'. |
| 287 | Previously, it was bound to `mouse-yank-at-click' (which is now | 272 | Previously, it was bound to `mouse-yank-at-click' (which is now |
| 288 | unbound by default). | 273 | unbound by default). |
| 289 | 274 | ||
| 290 | *** `x-select-enable-clipboard' now defaults to t on all platforms. | 275 | **** `x-select-enable-clipboard' now defaults to t on all platforms. |
| 291 | Thus, killing and yanking now use the clipboard (in addition to the | 276 | Note that this variable was already non-nil by default on MS-Windows, |
| 292 | kill ring). Note that this variable was already non-nil by default on | 277 | which does not support the primary selection between applications. |
| 293 | MS-Windows, which does not support the primary selection between | ||
| 294 | applications. | ||
| 295 | 278 | ||
| 296 | *** `x-select-enable-primary' now defaults to nil. | 279 | **** `x-select-enable-primary' now defaults to nil. |
| 297 | This variable exists only on X; its default value was t in previous | 280 | This variable exists only on X; its default value was t in previous |
| 298 | versions. | 281 | versions. |
| 299 | 282 | ||
| 300 | *** `mouse-drag-copy-region' now defaults to nil. | 283 | **** `mouse-drag-copy-region' now defaults to nil. |
| 301 | Its previous default value was t. | 284 | |
| 285 | *** To return to the previous behavior, where mouse commands use the | ||
| 286 | clipboard, change `mouse-drag-copy-region' and (on X only) | ||
| 287 | `x-select-enable-primary' to t. If you don't want Emacs to put the | ||
| 288 | text into the clipboard, only to the primary selection, additionally | ||
| 289 | set `x-select-enable-clipboard' to nil. | ||
| 302 | 290 | ||
| 303 | *** Support for X cut buffers has been removed. | 291 | *** Support for X cut buffers has been removed. |
| 304 | 292 | ||
| @@ -350,7 +338,7 @@ view-diary-entries, list-diary-entries, show-all-diary-entries | |||
| 350 | 338 | ||
| 351 | *** Customize buffers now contain a search field. | 339 | *** Customize buffers now contain a search field. |
| 352 | The search is performed using `customize-apropos'. | 340 | The search is performed using `customize-apropos'. |
| 353 | To turn off the search field, set custom-search-field to nil . | 341 | To turn off the search field, set custom-search-field to nil. |
| 354 | 342 | ||
| 355 | *** Custom options now start out hidden if at their default values. | 343 | *** Custom options now start out hidden if at their default values. |
| 356 | Use the arrow to the left of the option name to toggle visibility. | 344 | Use the arrow to the left of the option name to toggle visibility. |
| @@ -365,41 +353,6 @@ choose a color via list-colors-display. | |||
| 365 | *** dired-jump and dired-jump-other-window called with a prefix argument | 353 | *** dired-jump and dired-jump-other-window called with a prefix argument |
| 366 | read a file name from the minibuffer instead of using buffer-file-name. | 354 | read a file name from the minibuffer instead of using buffer-file-name. |
| 367 | 355 | ||
| 368 | ** VC and related modes | ||
| 369 | |||
| 370 | *** New VC commands: vc-log-incoming, vc-log-outgoing, vc-find-conflicted-file. | ||
| 371 | |||
| 372 | **** vc-log-incoming for Git runs "git fetch" so that the necessary | ||
| 373 | data is available locally. | ||
| 374 | |||
| 375 | **** vc-log-incoming and vc-log-outgoing for Git require version 1.7 (or newer). | ||
| 376 | |||
| 377 | *** New key bindings: C-x v I and C-x v O bound to vc-log-incoming and | ||
| 378 | vc-log-outgoing, respectively. | ||
| 379 | |||
| 380 | *** The 'g' key in VC diff, log, log-incoming and log-outgoing buffers | ||
| 381 | reruns the corresponding VC command to compute an up to date version | ||
| 382 | of the buffer. | ||
| 383 | |||
| 384 | *** vc-dir for Bzr supports viewing shelve contents and shelving snapshots. | ||
| 385 | |||
| 386 | *** Special markup can be added to log-edit buffers. | ||
| 387 | The log-edit buffers are expected to have a format similar to email messages | ||
| 388 | with headers of the form: | ||
| 389 | Author: <author of this change> | ||
| 390 | Summary: <one line summary of this change> | ||
| 391 | Fixes: <reference to the bug fixed by this change> | ||
| 392 | Some backends handle some of those headers specially, but any unknown header | ||
| 393 | is just left as is in the message, so it is not lost. | ||
| 394 | |||
| 395 | **** vc-git handles Author: and Date: | ||
| 396 | **** vc-hg handles Author: and Date: | ||
| 397 | **** vc-bzr handles Author:, Date: and Fixes: | ||
| 398 | **** vc-mtn handles Author: and Date: | ||
| 399 | |||
| 400 | *** Pressing g in a *vc-diff* buffer reruns vc-diff, so it will | ||
| 401 | produce an up to date diff. | ||
| 402 | |||
| 403 | ** Directory local variables can apply to file-less buffers. | 356 | ** Directory local variables can apply to file-less buffers. |
| 404 | For example, adding "(diff-mode . ((mode . whitespace)))" to your | 357 | For example, adding "(diff-mode . ((mode . whitespace)))" to your |
| 405 | .dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers. | 358 | .dir-locals.el file, will turn on `whitespace-mode' for *vc-diff* buffers. |