From: Eli Zaretskii <eliz@gnu.org>
To: Le Wang <l26wang@gmail.com>
Cc: 9527-done@debbugs.gnu.org
Subject: bug#9527: emacs24: binding mouse-2 to mouse-yank-primary instead of mouse-yank-at-click breaks yanking from system clipboard on Windows
Date: Sat, 17 Sep 2011 16:25:34 +0300 [thread overview]
Message-ID: <83sjnvti5t.fsf@gnu.org> (raw)
In-Reply-To: <CAM=K+iqiQFYVATmT84w435TF=0hsztUrQCTL0g6NVVjkF-5Sew@mail.gmail.com>
> 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.
prev parent reply other threads:[~2011-09-17 13:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83sjnvti5t.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=9527-done@debbugs.gnu.org \
--cc=l26wang@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.