* bug#9527: emacs24: binding mouse-2 to mouse-yank-primary instead of mouse-yank-at-click breaks yanking from system clipboard on Windows
@ 2011-09-17 9:52 Le Wang
2011-09-17 13:25 ` Eli Zaretskii
0 siblings, 1 reply; 2+ messages in thread
From: Le Wang @ 2011-09-17 9:52 UTC (permalink / raw)
To: 9527
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.
--
Le
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#9527: emacs24: binding mouse-2 to mouse-yank-primary instead of mouse-yank-at-click breaks yanking from system clipboard on Windows
2011-09-17 9:52 bug#9527: emacs24: binding mouse-2 to mouse-yank-primary instead of mouse-yank-at-click breaks yanking from system clipboard on Windows Le Wang
@ 2011-09-17 13:25 ` Eli Zaretskii
0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2011-09-17 13:25 UTC (permalink / raw)
To: Le Wang; +Cc: 9527-done
> Date: Sat, 17 Sep 2011 17:52:57 +0800
> From: Le Wang <l26wang@gmail.com>
>
> 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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-17 13:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-17 9:52 bug#9527: emacs24: binding mouse-2 to mouse-yank-primary instead of mouse-yank-at-click breaks yanking from system clipboard on Windows Le Wang
2011-09-17 13:25 ` Eli Zaretskii
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).