From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18376: 24.3; yanking (hopefully from clipboard) differs from mouse-yanking Date: Tue, 09 Sep 2014 20:38:31 -0400 Message-ID: References: <87vbp8qfmx.wl@mail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1410309569 7213 80.91.229.3 (10 Sep 2014 00:39:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Sep 2014 00:39:29 +0000 (UTC) Cc: 18376-done@debbugs.gnu.org To: gildas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 10 02:39:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XRVwP-0006Ul-Bq for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Sep 2014 02:39:21 +0200 Original-Received: from localhost ([::1]:52560 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRVwO-0007rl-Ur for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Sep 2014 20:39:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34967) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRVwF-0007oZ-Cg for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2014 20:39:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XRVw7-0004sA-Ta for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2014 20:39:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XRVw7-0004s0-Q5 for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2014 20:39:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XRVw7-0004IO-EA for bug-gnu-emacs@gnu.org; Tue, 09 Sep 2014 20:39:03 -0400 Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Sep 2014 00:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 18376 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 18376@debbugs.gnu.org, monnier@iro.umontreal.ca, gildas@sancta-terra.com Original-Received: via spool by 18376-done@debbugs.gnu.org id=D18376.141030952616471 (code D ref 18376); Wed, 10 Sep 2014 00:39:02 +0000 Original-Received: (at 18376-done) by debbugs.gnu.org; 10 Sep 2014 00:38:46 +0000 Original-Received: from localhost ([127.0.0.1]:35791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRVvp-0004HX-JX for submit@debbugs.gnu.org; Tue, 09 Sep 2014 20:38:45 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:6121) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XRVvm-0004HE-AB; Tue, 09 Sep 2014 20:38:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNFpZEG/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSQth1cI0hkXjnoHhDgEqRmBaoFxgVsh X-IPAS-Result: ArUGAIDvNVNFpZEG/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSQth1cI0hkXjnoHhDgEqRmBaoFxgVsh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="89273090" Original-Received: from 69-165-145-6.dsl.teksavvy.com (HELO ceviche.home) ([69.165.145.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 09 Sep 2014 20:38:36 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 70CDC660D3; Tue, 9 Sep 2014 20:38:31 -0400 (EDT) In-Reply-To: <87vbp8qfmx.wl@mail.com> (gildas@sancta-terra.com's message of "Sun, 31 Aug 2014 21:43:50 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93216 Archived-At: 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