aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2010-10-31 23:20:57 -0400
committerChong Yidong2010-10-31 23:20:57 -0400
commit42d9cffad26ec6ac1738b252d4f7937361b45412 (patch)
tree6846d30e92e79156b3bb16b0c4e9a069e6318309
parent693c9d15e5f659f6acb545d1a9301620b8393f1d (diff)
downloademacs-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/NEWS125
1 files changed, 39 insertions, 86 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0f0c038076c..33118fc5136 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
189This is a convenient way to download and install additional packages, 189This is a convenient way to download and install additional packages,
190from elpa.gnu.org. 190from 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
193selected for installation. 193selected for installation.
@@ -227,8 +227,8 @@ and no prefix argument is given. If set to `kill', these commands
227kill instead. 227kill 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].
230This is meant for interactive use, and obeys `delete-active-region'; 230This is meant for interactive use, and obeys `delete-active-region'.
231delete-char, meant for Lisp, does not obey `delete-active-region'. 231The 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.
234Apart from obeying `delete-active-region', its behavior is unchanged. 234Apart 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
242The default handling of clipboard and primary selections has been 242The default handling of clipboard and primary selections has been
243changed to conform with other X applications. 243changed to conform with other X applications. The exact changes are
244 244described below; in short, mouse commands to select and paste text now
245The new behavior is that by default Emacs does not put selected text 245use the primary selection, while all other commands for killing and
246into the clipboard, and does not add it to kill-ring, merely because 246yanking text now use the clipboard.
247the text was selected. Only commands that kill text or copy it to the
248kill-ring (C-w, M-w, C-k, etc.) put the killed text into the
249clipboard. Selected text is put into the primary selection (on
250systems, such as X, that support the primary selection separately from
251the clipboard).
252
253Similarly, Emacs by default does not retrieve text from the clipboard
254when the mouse (e.g., mouse-2) is used for pasting text selected in
255another application. Mouse commands that paste text retrieve text
256from the primary selection, on systems that support it separately from
257the clipboard. Text from the clipboard is retrieved only by C-y, M-y
258and other commands that yank text from the kill-ring.
259
260In other words, the default behavior is that mouse gestures that
261select and paste text work with the primary selection (on X), while
262keyboard commands that kill/copy and paste text work with the
263clipboard.
264
265This change also means that the "Copy", "Cut", and "Paste" items of
266the menu-bar "Edit" menu are now exactly equivalent to, respectively
267M-w, C-w, and C-y.
268
269To get back the previous behavior, whereby mouse gestures set the
270clipboard and retrieve text from there, customize the variables
271`mouse-drag-copy-region' and (on X only) `x-select-enable-primary' to
272non-nil values. If you don't want Emacs to put the text into the
273clipboard, only to the primary selection, additionally customize
274`x-select-enable-clipboard' to nil.
275
276These changes in the default behavior are reflected in the default
277values of several variables:
278
279*** `select-active-regions' now defaults to t, so active regions set
280the 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
249the kill-ring. On systems with a primary selection separate from the
250clipboard (such as X), the selected text is put in the primary
251selection.
252
253*** mouse-2 is now bound to `mouse-yank-primary', which pastes from
254the 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,
257C-k, etc.) also put the killed text into the clipboard. This change
258also means that the "Copy", "Cut", and "Paste" items in the "Edit"
259menu 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
262clipboard 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.
282It also accepts a new value, `only', which means to only set the 267It also accepts a new value, `only', which means to only set the
283primary selection for temporarily active regions (usually made by 268primary selection for temporarily active regions (usually made by
284mouse-dragging or shift-selection). 269mouse-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'.
287Previously, it was bound to `mouse-yank-at-click' (which is now 272Previously, it was bound to `mouse-yank-at-click' (which is now
288unbound by default). 273unbound 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.
291Thus, killing and yanking now use the clipboard (in addition to the 276Note that this variable was already non-nil by default on MS-Windows,
292kill ring). Note that this variable was already non-nil by default on 277which does not support the primary selection between applications.
293MS-Windows, which does not support the primary selection between
294applications.
295 278
296*** `x-select-enable-primary' now defaults to nil. 279**** `x-select-enable-primary' now defaults to nil.
297This variable exists only on X; its default value was t in previous 280This variable exists only on X; its default value was t in previous
298versions. 281versions.
299 282
300*** `mouse-drag-copy-region' now defaults to nil. 283**** `mouse-drag-copy-region' now defaults to nil.
301Its previous default value was t. 284
285*** To return to the previous behavior, where mouse commands use the
286clipboard, 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
288text into the clipboard, only to the primary selection, additionally
289set `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.
352The search is performed using `customize-apropos'. 340The search is performed using `customize-apropos'.
353To turn off the search field, set custom-search-field to nil . 341To 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.
356Use the arrow to the left of the option name to toggle visibility. 344Use 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
366read a file name from the minibuffer instead of using buffer-file-name. 354read 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
373data 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
378vc-log-outgoing, respectively.
379
380*** The 'g' key in VC diff, log, log-incoming and log-outgoing buffers
381reruns the corresponding VC command to compute an up to date version
382of 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.
387The log-edit buffers are expected to have a format similar to email messages
388with 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>
392Some backends handle some of those headers specially, but any unknown header
393is 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
401produce 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.
404For example, adding "(diff-mode . ((mode . whitespace)))" to your 357For 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.