comparison etc/NEWS @ 111010:f87c1553c94e

Fix last change in etc/NEWS.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 15 Oct 2010 18:44:01 +0200
parents 17da3135116d
children fedd4f6fa7e5
comparison
equal deleted inserted replaced
111009:43818f2cbca0 111010:f87c1553c94e
228 ** Selection changes. 228 ** Selection changes.
229 229
230 The default handling of clipboard and primary selections has been 230 The default handling of clipboard and primary selections has been
231 changed to conform with other X applications. 231 changed to conform with other X applications.
232 232
233 The new behavior is that by default Emacs does not put text into the 233 The new behavior is that by default Emacs does not put selected text
234 clipboard, and does not add it to kill-ring, merely because the text 234 into the clipboard, and does not add it to kill-ring, merely because
235 was selected. Only commands that kill text or copy it to the 235 the text was selected. Only commands that kill text or copy it to the
236 kill-ring (C-w, M-w, C-k, etc.) put the killed text into the 236 kill-ring (C-w, M-w, C-k, etc.) put the killed text into the
237 clipboard. Selected text is put into the primary selection (on 237 clipboard. Selected text is put into the primary selection (on
238 systems, such as X, that support the primary selection separately from 238 systems, such as X, that support the primary selection separately from
239 the clipboard). 239 the clipboard).
240 240
241 Similarly, Emacs by default does not retrieve text from the clipboard 241 Similarly, Emacs by default does not retrieve text from the clipboard
242 when the mouse (e.g., mouse-2) is used for pasting text selected in 242 when the mouse (e.g., mouse-2) is used for pasting text selected in
243 another application. Text from the clipboard is retrieved only by 243 another application. Mouse commands that paste text retrieve text
244 C-y, M-y and other commands that yank text from the kill-ring. Mouse 244 from the primary selection, on systems that support it separately from
245 commands that paste text retrieve text from the primary selection, on 245 the clipboard. Text from the clipboard is retrieved only by C-y, M-y
246 systems that support it separately from the clipboard. 246 and other commands that yank text from the kill-ring.
247 247
248 In other words, the default behavior is that mouse gestures that 248 In other words, the default behavior is that mouse gestures that
249 select and paste text work with the primary selection, while keyboard 249 select and paste text work with the primary selection (on X), while
250 commands that kill/copy and paste text work with the clipboard. 250 keyboard commands that kill/copy and paste text work with the
251 clipboard.
251 252
252 This change also means that the "Copy", "Cut", and "Paste" items of 253 This change also means that the "Copy", "Cut", and "Paste" items of
253 the menu-bar "Edit" menu are now exactly equivalent to, respectively 254 the menu-bar "Edit" menu are now exactly equivalent to, respectively
254 M-w, C-w, and C-y. 255 M-w, C-w, and C-y.
255 256
256 To get back the previous behavior, whereby mouse gestures set the 257 To get back the previous behavior, whereby mouse gestures set the
257 clipboard and retrieve text from there, customize the variables 258 clipboard 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
259 If you don't want Emacs to put the text into the clipboard, only to 260 non-nil values. If you don't want Emacs to put the text into the
260 the primary selection, additionally customize 261 clipboard, only to the primary selection, additionally customize
261 `x-select-enable-clipboard' to nil. 262 `x-select-enable-clipboard' to nil.
262 263
263 These changes in the default behavior are reflected in the default 264 These changes in the default behavior are reflected in the default
264 values of several variables: 265 values of several variables:
265 266
270 primary selection for temporarily active regions (usually made by 271 primary selection for temporarily active regions (usually made by
271 mouse-dragging or shift-selection). 272 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'.
274 Previously, it was bound to `mouse-yank-at-click' (which is now 275 Previously, it was bound to `mouse-yank-at-click' (which is now
275 unbound by default. 276 unbound 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.
278 Thus, killing and yanking now use the clipboard (in addition to the 279 Thus, killing and yanking now use the clipboard (in addition to the
279 kill ring). Note that this variable was already non-nil by default on 280 kill ring). Note that this variable was already non-nil by default on
280 MS-Windows, which does not support the primary selection between 281 MS-Windows, which does not support the primary selection between