Make Emacs, the clipboard, the primary selection and all that work together again.