From: Stefan Monnier <monnier@iro.umontreal.ca>
To: gildas <gildas@sancta-terra.com>
Cc: 18376-done@debbugs.gnu.org
Subject: bug#18376: 24.3; yanking (hopefully from clipboard) differs from mouse-yanking
Date: Tue, 09 Sep 2014 20:38:31 -0400 [thread overview]
Message-ID: <jwvwq9cgvy1.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87vbp8qfmx.wl@mail.com> (gildas@sancta-terra.com's message of "Sun, 31 Aug 2014 21:43:50 -0400")
tags 18376 notabug
thanks
> with emacs -q
> type any word, cut it, yank it a couple times
> select the entire thing with the mouse
> now yank still pastes only the word
> while middle click (calling mouse-yank-primary) pastes the entire
> selected text
> Desired behaviour : yank should paste the same text as middle-click
> x-select-enable-clipboard's value is t
This is on purpose. More specifically, this is the "standard X11
behavior" where mouse-selection and mouse-middle-click operate on the
PRIMARY selection, whereas cut&paste (aka kill&yank) operate on the
CLIPBOARD selection.
This was changed in Emacs-24.1. Search for "Selection changes" in the
etc/NEWS file. It includes explanation of what was changed and how to
revert some of those changes if you don't like them. IIRC if you want
middle click to insert from the clipboard, you should bind mouse-2 to
mouse-yank-at-click.
Stefan
prev parent reply other threads:[~2014-09-10 0:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-01 1:43 bug#18376: 24.3; yanking (hopefully from clipboard) differs from mouse-yanking gildas
2014-09-10 0:38 ` Stefan Monnier [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=jwvwq9cgvy1.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=18376-done@debbugs.gnu.org \
--cc=gildas@sancta-terra.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.