help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Emacs kill/copy under X versus under Windows


From: Drew Adams
Subject: RE: Emacs kill/copy under X versus under Windows
Date: Mon, 31 Aug 2009 08:05:23 -0700

> Running 22.3 on both Windows and X, I notice a difference in 
> how Emacs interacts with the clipboard.
> 
> Under Windows...Whatever you last killed goes 
> straight to the clipboard, and whatever you last copied in another 
> application gets dumped into your buffer with a yank.
...
> So we have different behavior between ports...

Yes, it is by design (a feature, not a bug).

> Is there some way to make Emacs on Windows behave itself and 
> ignore the clipboard unless told otherwise, just like under X?

C-h v  x-select-enable-clipboard

,----
| x-select-enable-clipboard's value is 
| t
| 
| Documentation:
| Non-nil means cutting and pasting uses the clipboard.
| This is in addition to the primary selection.
| 
| Defined in `term/w32-win'.
`----

This is non-nil on Windows because many users thought it was nutty that
out-of-the-box Emacs didn't work with other apps wrt copy/paste. You prefer that
it not do that, so set it to nil.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]