From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#6956: 24.0.50; pasting mouse selection in other session pastes only first word Date: Mon, 20 Sep 2010 14:41:07 -0700 Message-ID: References: <296F488C207B496D9CA42F4AA0F7C835@us.oracle.com> <8339t9319s.fsf@gnu.org> <83wrqk23yr.fsf@gnu.org> <3BE2421F73AD4292AE8375CA3328663D@us.oracle.com> <83hbho1h4t.fsf@gnu.org> <5B16E128E52B43208024BDA589BBBF14@us.oracle.com> <8362y41ewm.fsf@gnu.org> <0CE7A4536FD74DEBB3A68D948F4A5873@us.oracle.com> <83eicoxlyp.fsf@gnu.org> <83aancxhme.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285020663 26043 80.91.229.12 (20 Sep 2010 22:11:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2010 22:11:03 +0000 (UTC) Cc: 6956@debbugs.gnu.org To: "'Eli Zaretskii'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 21 00:11:02 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OxoZh-0006De-O1 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Sep 2010 00:11:02 +0200 Original-Received: from localhost ([127.0.0.1]:59553 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxoZh-0003ue-0r for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Sep 2010 18:11:01 -0400 Original-Received: from [140.186.70.92] (port=57165 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OxoZa-0003sl-Ip for bug-gnu-emacs@gnu.org; Mon, 20 Sep 2010 18:10:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OxoZZ-0008OA-GB for bug-gnu-emacs@gnu.org; Mon, 20 Sep 2010 18:10:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49334) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OxoZZ-0008O6-Eo for bug-gnu-emacs@gnu.org; Mon, 20 Sep 2010 18:10:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oxo6g-0000Va-5E; Mon, 20 Sep 2010 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Sep 2010 21:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6956 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6956-submit@debbugs.gnu.org id=B6956.12850188051930 (code B ref 6956); Mon, 20 Sep 2010 21:41:02 +0000 Original-Received: (at 6956) by debbugs.gnu.org; 20 Sep 2010 21:40:05 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oxo5j-0000V1-TR for submit@debbugs.gnu.org; Mon, 20 Sep 2010 17:40:04 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oxo5h-0000Un-25 for 6956@debbugs.gnu.org; Mon, 20 Sep 2010 17:40:01 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8KLgQpg010333 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 20 Sep 2010 21:42:28 GMT Original-Received: from acsmt355.oracle.com (acsmt355.oracle.com [141.146.40.155]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8KDbPrW021286; Mon, 20 Sep 2010 21:42:26 GMT Original-Received: from abhmt013.oracle.com by acsmt355.oracle.com with ESMTP id 621011101285018868; Mon, 20 Sep 2010 14:41:08 -0700 Original-Received: from dradamslap1 (/10.159.216.217) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 20 Sep 2010 14:41:08 -0700 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <83aancxhme.fsf@gnu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 Thread-Index: ActZBb9WDKXTI3B/QtmM82TJtvu02gABMWgg X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 20 Sep 2010 17:41:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40331 Archived-At: > > However, `mouse-drag-copy-region' also copies the region to the kill > > ring. > > Yes, this is because Emacs now copies to the clipboard only text that > is copied to the kill ring. > > Was this possible in Emacs 23? If so, how? > > When I double-click mouse-1 in Emacs 23 to select a word, I can then > yank that word with C-y, and `(car kill-ring)' evaluates to that > word. So I'm quite sure mouse-drag-copy-region non-nil does the same > as what you had in Emacs 23 and older. > > > The bug is still a bug, I'm afraid. > > No, it's a different bug. This one was filed against my promise that > mouse-drag-copy-region will get you back the ability to get back the > behavior of Emacs 23 on Windows when you select text by > double-clicking mouse-1. This now works exactly as it did in Emacs 23 > (AFAICS), so any further complaints about mouse selections should be > in a separate bug. No, it does not now work exactly as it did in Emacs 23. Even setting `mouse-drag-copy-region' to nil in two sessions of `emacs -Q', one for Emacs 22 and the other for Emacs 23 (for example), there is still no problem selecting with the mouse and pasting into the other session. That is what this bug is about - it is not some other bug. Here is the recipe, to be very clear: 1. emacs -Q ; in Emacs 22 2. M-x set-variable mouse-drag-copy-region nil RET 3. emacs -Q ; in Emacs 23 4. M-x set-variable mouse-drag-copy-region nil RET 5. Use mouse-1 and mouse-3 to select some text in one session and mouse-2 to paste it into the other session. Select + paste works with no problem in either direction, and the kill ring is not affected. Again: > > What's needed is here is the ability to mouse-select in one > > Emacs session and paste to another Emacs session, even if > > they are in different Emacs versions. > > That needs to be possible (and it should also be the > > default behavior BTW) without users also needing to pollute > > their kill ring with the selection. Users need to be able to get back the pre-Emacs 24 behavior by customizing - no ifs ands or buts. It is not enough that they might be able to do so when `mouse-drag-copy-region' is non-nil or the moon is full. They need to be able to get this select+paste independently of whether mouse selection is copied to the kill ring.