Windows clipboard and Emacs yank, kill-region, and kill-ring-save

Ken Brown kbrown@cornell.edu
Wed Aug 8 21:59:00 GMT 2012


On 8/8/2012 4:49 PM, Tim McDaniel wrote:
> I have updated my packages to the latest versions.  I have long had
> installed
> - emacs
> - emacs-X11
> - emacs-el
> - xemacs-emacs-common
> - X11
>
> In Emacs, ^Y is the default keystroke for the basic "yank", to paste
> the contents of the most recently element of the kill ring (the text
> most recently cut or copied in Emacs).  Until some time in the past
> few weeks, I am 80% sure that ^Y would grab out of the Windows
> clipboard -- that is, I could copy in Windows using ^C or Ctrl-Ins,
> and then use ^Y in Emacs to paste it.
>
> But I think that sometime in the last few weeks, perhaps with the
> end-of-July update of Emacs in Cygwin, it stopped working.  Now, ^Y
> only pastes what was killed (or copied) in Emacs.  Similarly, if I
> kill or copy text in Emacs, it's not put into the Window clipboard.
>
> Any Emacs users out there?
>
> Am I misremembering the old behavior?  At home I use Linux, and there
> the X clipboard and Emacs clipboard usually work together (modulo
> X having more than one).
>
> If I'm not, did something change, and can I do some setting to obviate
> it in Emacs?

There have been some changes in how emacs handles selections, starting 
with emacs-24.1.  Look at the NEWS file ('C-h n') and search for 
"selection changes".  It describes the changes and tells you how to 
restore the old behavior.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list