Why does C-y yank clipboard contents?
René Kyllingstad
listmailxemacs at kyllingstad.com
Thu Feb 5 16:50:46 EST 2004
* Hrvoje Niksic:
> To my surprise, I found that C-y yanks clipboard selection contents.
> I discovered this under Windows where, without the concept of primary
> selection, clipboard is used much more than under Unix.
>
> I seem to remember it used to be that XEmacs didn't confuse kill ring
> and clipboard, the decision to uncouple them having been made in the
> past, and with good reasons. I for one expect C-y to yank the last
> thing I killed, not the last thing that ended up in the system
> clipboard. When I want to paste the clipboard selection, I can use
> the standard binding, shift-insert.
>
> If this was changed, what was the reason for the change? How do I get
> rid of this behavior?
>From C-h N:
*** Kill and yank now interact with the clipboard under Windows.
This was done by changing the default value of `interprogram-cut-function'
and `interprogram-paste-function'. You can get the old behavior by
setting these to nil, and there is an option on the options menu to do
this.
I guess the argument was that (young) native windows people would expect
this, rather than using S-Insert, C-Insert. I certainly prefer the old
behaviour.
-- René
More information about the XEmacs-Beta
mailing list