aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/NEWS27
1 files changed, 14 insertions, 13 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 038eb4d8707..1c437777254 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -230,9 +230,9 @@ should use delete-char with a negative argument instead.
230The default handling of clipboard and primary selections has been 230The default handling of clipboard and primary selections has been
231changed to conform with other X applications. 231changed to conform with other X applications.
232 232
233The new behavior is that by default Emacs does not put text into the 233The new behavior is that by default Emacs does not put selected text
234clipboard, and does not add it to kill-ring, merely because the text 234into the clipboard, and does not add it to kill-ring, merely because
235was selected. Only commands that kill text or copy it to the 235the text was selected. Only commands that kill text or copy it to the
236kill-ring (C-w, M-w, C-k, etc.) put the killed text into the 236kill-ring (C-w, M-w, C-k, etc.) put the killed text into the
237clipboard. Selected text is put into the primary selection (on 237clipboard. Selected text is put into the primary selection (on
238systems, such as X, that support the primary selection separately from 238systems, such as X, that support the primary selection separately from
@@ -240,14 +240,15 @@ the clipboard).
240 240
241Similarly, Emacs by default does not retrieve text from the clipboard 241Similarly, Emacs by default does not retrieve text from the clipboard
242when the mouse (e.g., mouse-2) is used for pasting text selected in 242when the mouse (e.g., mouse-2) is used for pasting text selected in
243another application. Text from the clipboard is retrieved only by 243another application. Mouse commands that paste text retrieve text
244C-y, M-y and other commands that yank text from the kill-ring. Mouse 244from the primary selection, on systems that support it separately from
245commands that paste text retrieve text from the primary selection, on 245the clipboard. Text from the clipboard is retrieved only by C-y, M-y
246systems that support it separately from the clipboard. 246and other commands that yank text from the kill-ring.
247 247
248In other words, the default behavior is that mouse gestures that 248In other words, the default behavior is that mouse gestures that
249select and paste text work with the primary selection, while keyboard 249select and paste text work with the primary selection (on X), while
250commands that kill/copy and paste text work with the clipboard. 250keyboard commands that kill/copy and paste text work with the
251clipboard.
251 252
252This change also means that the "Copy", "Cut", and "Paste" items of 253This change also means that the "Copy", "Cut", and "Paste" items of
253the menu-bar "Edit" menu are now exactly equivalent to, respectively 254the menu-bar "Edit" menu are now exactly equivalent to, respectively
@@ -255,9 +256,9 @@ M-w, C-w, and C-y.
255 256
256To get back the previous behavior, whereby mouse gestures set the 257To get back the previous behavior, whereby mouse gestures set the
257clipboard and retrieve text from there, customize the variables 258clipboard and retrieve text from there, customize the variables
258`mouse-drag-copy-region' and (on X only) `x-select-enable-primary'. 259`mouse-drag-copy-region' and (on X only) `x-select-enable-primary' to
259If you don't want Emacs to put the text into the clipboard, only to 260non-nil values. If you don't want Emacs to put the text into the
260the primary selection, additionally customize 261clipboard, only to the primary selection, additionally customize
261`x-select-enable-clipboard' to nil. 262`x-select-enable-clipboard' to nil.
262 263
263These changes in the default behavior are reflected in the default 264These changes in the default behavior are reflected in the default
@@ -272,7 +273,7 @@ mouse-dragging or shift-selection).
272 273
273*** `mouse-2' is now bound to `mouse-yank-primary'. 274*** `mouse-2' is now bound to `mouse-yank-primary'.
274Previously, it was bound to `mouse-yank-at-click' (which is now 275Previously, it was bound to `mouse-yank-at-click' (which is now
275unbound by default. 276unbound by default).
276 277
277*** `x-select-enable-clipboard' now defaults to t on all platforms. 278*** `x-select-enable-clipboard' now defaults to t on all platforms.
278Thus, killing and yanking now use the clipboard (in addition to the 279Thus, killing and yanking now use the clipboard (in addition to the