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: Tue, 21 Sep 2010 07:20:53 -0700 Message-ID: <8E94D45153FF4E5F942A9965E9221C6F@us.oracle.com> 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> <838w2wxetb.fsf@gnu.org> <837hifybzi.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 1285080092 25070 80.91.229.12 (21 Sep 2010 14:41:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 21 Sep 2010 14:41:32 +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 16:41:26 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 1Oy427-0000nd-DH for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Sep 2010 16:41:23 +0200 Original-Received: from localhost ([127.0.0.1]:51259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oy426-0002mC-D7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Sep 2010 10:41:22 -0400 Original-Received: from [140.186.70.92] (port=45014 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oy41t-0002kE-SN for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2010 10:41:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oy41p-0006cW-BL for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2010 10:41:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58170) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oy41p-0006cQ-8f for bug-gnu-emacs@gnu.org; Tue, 21 Sep 2010 10:41:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oy3hT-0007tm-Cy; Tue, 21 Sep 2010 10:20:03 -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: Tue, 21 Sep 2010 14:20:03 +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.128507876430350 (code B ref 6956); Tue, 21 Sep 2010 14:20:03 +0000 Original-Received: (at 6956) by debbugs.gnu.org; 21 Sep 2010 14:19:24 +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 1Oy3gp-0007tT-04 for submit@debbugs.gnu.org; Tue, 21 Sep 2010 10:19:23 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oy3gm-0007tN-Kb for 6956@debbugs.gnu.org; Tue, 21 Sep 2010 10:19:21 -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 o8LELjhU025879 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 21 Sep 2010 14:21:47 GMT Original-Received: from acsmt354.oracle.com (acsmt354.oracle.com [141.146.40.154]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8LAkxCS023318; Tue, 21 Sep 2010 14:21:44 GMT Original-Received: from abhmt012.oracle.com by acsmt354.oracle.com with ESMTP id 616792201285078855; Tue, 21 Sep 2010 07:20:55 -0700 Original-Received: from dradamslap1 (/10.159.221.206) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 21 Sep 2010 07:20:55 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <837hifybzi.fsf@gnu.org> Thread-Index: ActZQsZPSJGcsVEpTqaFx0gWz4j76QAU1Nlg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 21 Sep 2010 10:20:03 -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:40345 Archived-At: > > A user in Emacs 20, 21, 22, 23 could have > > `mouse-drag-copy-region' nil, and thus > > not have mouse selection touch the kill ring - in principle > > (even if not in fact, because of a bug), and yet s?he was > > still able to select and paste using the mouse - between > > sessions, including sessions with different Emacs versions. Question: was that bug only on Windows? Could users on X window set the var to nil and mouse-select + pasted between sessions? If so, then this is a regression not only in principle but in fact, i.e. wrt actual behavior, not only intended behavior. > > That ability is lost. This is a regression wrt the > > advertised behavior for Emacs 22 through 23 (ever since > > that user option has existed). > > It isn't a regression on Windows, see below. This thread was, at > least for me, only about w32. Why not check what the behavior pre-Emacs 24 was on non-Windows? If users could select+paste between sessions without affecting the kill ring before, and they cannot now, then this is not only about w32. > > IOW, you seem to be just pointing out that there was an > > Emacs 22/23 bug here, in that `mouse-drag-copy-region' polluted > > the kill ring even when it was nil. > > It's not a bug, it's how mouse selections work in Emacs: text gets to > the clipboard as a side effect of being put on the kill ring. It has > always been like that, at least on Windows, in Emacs 23 and before, as > in Emacs 24. Forget about Windows. What's the behavior in X window? And what was it before Emacs 24? Have users lost an ability to mouse-select + paste between sessions without affecting the kill ring? > > Not the intended, advertised behavior, but a buggy behavior. > > `mouse-drag-copy-region' was a no-op option. > > That is a completely different issue. mouse-drag-copy-region was not > a no-op only on X, where there's the PRIMARY selection in addition to > the clipboard. Unless users of X are concerned about this change, I'm > not going to be. If it is a bug on X then it needs to be fixed on X and Windows. Your attitude seems to be: (a) you don't know or care about X, and (b) it never worked right on Windows anyway, so (c) it's not a bug. The attitude should be: (a) it doesn't work right on Windows, (b) if it used to work on X then if it doesn't work now on X then there is an X bug, and (c) in that case it should also be fixed to work on Windows. > > That new bug is the one I reported: "pasting mouse selection in > > other session". > > That bug is solved, whether you like it or not, in exactly the way you > wanted: by having an option (that fortunately already existed) one > needs to customize. The bug is not solved if it still doesn't work in the case where mouse selection does not copy to the kill ring. Again, I personally will probably let mouse selection copy to the kill ring, so this is not about what I will use. And no, I don't care to argue about it just for the heck of it. I think there might well be a loss of a user feature here. On Windows there is not, in actuality, because it never worked properly. But on X? Were users able to mouse-select and mouse-paste between sessions without first copying to the kill ring? More generally, if you can mouse-select+paste within an Emacs session without affecting the kill ring, why shouldn't you be able to do that between sessions? Seems natural, no?