[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9527: emacs24: binding mouse-2 to mouse-yank-primary instead of mous
bug#9527: emacs24: binding mouse-2 to mouse-yank-primary instead of mouse-yank-at-click breaks yanking from system clipboard on Windows
Sat, 17 Sep 2011 16:25:34 +0300
> Date: Sat, 17 Sep 2011 17:52:57 +0800
> From: Le Wang <address@hidden>
> The binding changed in mouse.el and now when middle-clicking, I get
> the stuff in Emacs' kill-ring , but not system clipboard.
> I'm using a Windows native build of Emacs.
This is now expected behavior, see NEWS. If you want the old
behavior, rebind mouse-2, or use one of the suggestions in NEWS.
*** mouse-2 is now bound to `mouse-yank-primary'.
This pastes from the primary selection, ignoring the kill-ring.
Previously, mouse-2 was bound to `mouse-yank-at-click'.
*** To return to the previous behavior, do the following:
**** Change `select-active-regions' to nil.
**** Change `mouse-drag-copy-region' to t.
**** Change `x-select-enable-primary' to t (on X only).
**** Change `x-select-enable-clipboard' to nil.
**** Bind `mouse-yank-at-click' to mouse-2.
Btw, you will only get the stuff in kill-ring if the kill-ring is
non-empty. If it is empty, you still get the clipboard.
I'm closing this bug report.