aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2011-01-27 16:41:47 -0500
committerChong Yidong2011-01-27 16:41:47 -0500
commitb1ab31aeec46fdd1c9f69a54b58800539b15b289 (patch)
tree397d341e995b437e1298e05847547b18aedd5429
parentdb0e305dc03fb1afc7f4311834d8084c30a5119c (diff)
downloademacs-b1ab31aeec46fdd1c9f69a54b58800539b15b289.tar.gz
emacs-b1ab31aeec46fdd1c9f69a54b58800539b15b289.zip
Edit NEWS entries about selection changes.
-rw-r--r--etc/NEWS90
1 files changed, 42 insertions, 48 deletions
diff --git a/etc/NEWS b/etc/NEWS
index da9f1aa3ac1..07cb55dc09a 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -269,54 +269,48 @@ should use delete-char with a negative argument instead.
269 269
270** Selection changes. 270** Selection changes.
271 271
272The default handling of clipboard and primary selections has been 272The default handling of clipboard and primary selections was changed
273changed to conform with other X applications. The exact changes are 273to conform with modern X applications. In short, most commands for
274described below; in short, mouse commands to select and paste text now 274killing and yanking text now use the clipboard, while mouse commands
275use the primary selection, while all other commands for killing and 275use the primary selection.
276yanking text now use the clipboard. 276
277 277In the following, we provide a list of these changes, followed by a
278*** Merely selecting text (e.g. with drag-mouse-1) does not add it to 278list of steps to get the old behavior back if you prefer that.
279the kill-ring. On systems with a primary selection separate from the 279
280clipboard (such as X), the selected text is put in the primary 280*** `mouse-drag-copy-region' now defaults to nil.
281selection. 281*** `select-active-regions' now defaults to t.
282 282Merely selecting text (e.g. with drag-mouse-1) no longer puts it in
283*** mouse-2 is now bound to `mouse-yank-primary', which pastes from 283the kill-ring. The selected text is put in the primary selection, if
284the primary selection regardless of the contents of the kill-ring. 284the system possesses a separate primary selection facility (e.g. X).
285 285
286*** Commands that kill text or copy it to the kill-ring (M-w, C-w, 286**** `select-active-regions' also accepts a new value, `only'.
287C-k, etc.) also put the killed text into the clipboard. This change 287This means to only set the primary selection for temporarily active
288also means that the "Copy", "Cut", and "Paste" items in the "Edit" 288regions (usually made by mouse-dragging or shift-selection);
289menu are now exactly equivalent to, respectively M-w, C-w, and C-y. 289"ordinary" active regions, such as those made with C-SPC followed by
290 290point motion, do not alter the primary selection.
291*** Yank commands, such as C-y and M-y, retrieve text from the 291
292clipboard if it is available. 292*** mouse-2 is now bound to `mouse-yank-primary'.
293 293This pastes from the primary selection, ignoring the kill-ring.
294*** The above changes are reflected in the following new defaults: 294Previously, mouse-2 was bound to `mouse-yank-at-click'.
295 295
296**** `select-active-regions' now defaults to t. 296*** `x-select-enable-clipboard' now defaults to t on all platforms.
297It also accepts a new value, `only', which means to only set the 297*** `x-select-enable-primary' now defaults to nil.
298primary selection for temporarily active regions (usually made by 298Thus, commands that kill text or copy it to the kill-ring (such as
299mouse-dragging or shift-selection). 299M-w, C-w, and C-k) also use the clipboard---not the primary selection.
300 300
301**** `mouse-2' is now bound to `mouse-yank-primary'. 301**** The "Copy", "Cut", and "Paste" items in the "Edit" menu are now
302Previously, it was bound to `mouse-yank-at-click' (which is now 302exactly equivalent to, respectively M-w, C-w, and C-y.
303unbound by default). 303
304 304**** Note that on MS-Windows, `x-select-enable-clipboard' was already
305**** `x-select-enable-clipboard' now defaults to t on all platforms. 305non-nil by default, as Windows does not support the primary selection
306Note that this variable was already non-nil by default on MS-Windows, 306between applications.
307which does not support the primary selection between applications. 307
308 308*** To return to the previous behavior, do the following:
309**** `x-select-enable-primary' now defaults to nil. 309
310This variable exists only on X; its default value was t in previous 310**** Change `mouse-drag-copy-region' to t.
311versions. 311**** Change `x-select-enable-primary' to t (on X only).
312 312**** Change `x-select-enable-clipboard' to nil.
313**** `mouse-drag-copy-region' now defaults to nil. 313**** Bind `mouse-yank-at-click' to mouse-2.
314
315*** To return to the previous behavior, where mouse commands use the
316clipboard, change `mouse-drag-copy-region' and (on X only)
317`x-select-enable-primary' to t. If you don't want Emacs to put the
318text into the clipboard, only to the primary selection, additionally
319set `x-select-enable-clipboard' to nil.
320 314
321*** Support for X cut buffers has been removed. 315*** Support for X cut buffers has been removed.
322 316