Commit 4c0f50c9 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Fix last change in etc/NEWS.

parent aa095b2d
...@@ -230,9 +230,9 @@ should use delete-char with a negative argument instead. ...@@ -230,9 +230,9 @@ should use delete-char with a negative argument instead.
The default handling of clipboard and primary selections has been The default handling of clipboard and primary selections has been
changed to conform with other X applications. changed to conform with other X applications.
The new behavior is that by default Emacs does not put text into the The new behavior is that by default Emacs does not put selected text
clipboard, and does not add it to kill-ring, merely because the text into the clipboard, and does not add it to kill-ring, merely because
was selected. Only commands that kill text or copy it to the the text was selected. Only commands that kill text or copy it to the
kill-ring (C-w, M-w, C-k, etc.) put the killed text into the kill-ring (C-w, M-w, C-k, etc.) put the killed text into the
clipboard. Selected text is put into the primary selection (on clipboard. Selected text is put into the primary selection (on
systems, such as X, that support the primary selection separately from systems, such as X, that support the primary selection separately from
...@@ -240,14 +240,15 @@ the clipboard). ...@@ -240,14 +240,15 @@ the clipboard).
Similarly, Emacs by default does not retrieve text from the clipboard Similarly, Emacs by default does not retrieve text from the clipboard
when the mouse (e.g., mouse-2) is used for pasting text selected in when the mouse (e.g., mouse-2) is used for pasting text selected in
another application. Text from the clipboard is retrieved only by another application. Mouse commands that paste text retrieve text
C-y, M-y and other commands that yank text from the kill-ring. Mouse from the primary selection, on systems that support it separately from
commands that paste text retrieve text from the primary selection, on the clipboard. Text from the clipboard is retrieved only by C-y, M-y
systems that support it separately from the clipboard. and other commands that yank text from the kill-ring.
In other words, the default behavior is that mouse gestures that In other words, the default behavior is that mouse gestures that
select and paste text work with the primary selection, while keyboard select and paste text work with the primary selection (on X), while
commands that kill/copy and paste text work with the clipboard. keyboard commands that kill/copy and paste text work with the
clipboard.
This change also means that the "Copy", "Cut", and "Paste" items of This change also means that the "Copy", "Cut", and "Paste" items of
the menu-bar "Edit" menu are now exactly equivalent to, respectively the menu-bar "Edit" menu are now exactly equivalent to, respectively
...@@ -255,9 +256,9 @@ M-w, C-w, and C-y. ...@@ -255,9 +256,9 @@ M-w, C-w, and C-y.
To get back the previous behavior, whereby mouse gestures set the To get back the previous behavior, whereby mouse gestures set the
clipboard and retrieve text from there, customize the variables clipboard and retrieve text from there, customize the variables
`mouse-drag-copy-region' and (on X only) `x-select-enable-primary'. `mouse-drag-copy-region' and (on X only) `x-select-enable-primary' to
If you don't want Emacs to put the text into the clipboard, only to non-nil values. If you don't want Emacs to put the text into the
the primary selection, additionally customize clipboard, only to the primary selection, additionally customize
`x-select-enable-clipboard' to nil. `x-select-enable-clipboard' to nil.
These changes in the default behavior are reflected in the default These changes in the default behavior are reflected in the default
...@@ -272,7 +273,7 @@ mouse-dragging or shift-selection). ...@@ -272,7 +273,7 @@ mouse-dragging or shift-selection).
*** `mouse-2' is now bound to `mouse-yank-primary'. *** `mouse-2' is now bound to `mouse-yank-primary'.
Previously, it was bound to `mouse-yank-at-click' (which is now Previously, it was bound to `mouse-yank-at-click' (which is now
unbound by default. unbound by default).
*** `x-select-enable-clipboard' now defaults to t on all platforms. *** `x-select-enable-clipboard' now defaults to t on all platforms.
Thus, killing and yanking now use the clipboard (in addition to the Thus, killing and yanking now use the clipboard (in addition to the
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment