From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#6774: Cut and paste with C-w/mouse-2 not working? Date: Tue, 10 Aug 2010 16:01:29 +0200 Message-ID: <4C615BB9.8030905@swipnet.se> References: <4C55EF50.3080100@alice.it> <4C5645A1.7000500@harpegolden.net> <87y6coby49.fsf@stupidchicken.com> <4C572AE6.7070104@harpegolden.net> <87wrs8ohnp.fsf@stupidchicken.com> <4C573A2A.3030007@harpegolden.net> <8762zphkaw.fsf@stupidchicken.com> <4C5B4E28.4090808@harpegolden.net> <87fwyr3glm.fsf@stupidchicken.com> <4C5C7915.7080407@harpegolden.net> <87hbj6jj7o.fsf@stupidchicken.com> <4C5DE6C7.5080706@harpegolden.net> <87vd7kcx52.fsf@stupidchicken.com> <4C6038B9.1090508@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1281449332 27982 80.91.229.12 (10 Aug 2010 14:08:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 Aug 2010 14:08:52 +0000 (UTC) Cc: Chong Yidong , 6774@debbugs.gnu.org, Angelo Graziosi To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 10 16:08:46 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 1OipVU-0001ag-Uj for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Aug 2010 16:08:46 +0200 Original-Received: from localhost ([127.0.0.1]:50591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OipVT-0006CF-0O for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Aug 2010 10:08:43 -0400 Original-Received: from [140.186.70.92] (port=59269 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OipVI-0006Be-VG for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 10:08:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OipVF-0006Oi-SK for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 10:08:32 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32943) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OipVF-0006Oe-Pd for bug-gnu-emacs@gnu.org; Tue, 10 Aug 2010 10:08:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OipO1-0001Ly-Lf; Tue, 10 Aug 2010 10:01:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Aug 2010 14:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6774 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6774-submit@debbugs.gnu.org id=B6774.12814488535196 (code B ref 6774); Tue, 10 Aug 2010 14:01:01 +0000 Original-Received: (at 6774) by debbugs.gnu.org; 10 Aug 2010 14:00:53 +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 1OipNs-0001Ll-Kj for submit@debbugs.gnu.org; Tue, 10 Aug 2010 10:00:52 -0400 Original-Received: from smtprelay-h22.telenor.se ([195.54.99.197]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OipNp-0001Le-G6 for 6774@debbugs.gnu.org; Tue, 10 Aug 2010 10:00:50 -0400 Original-Received: from ipb3.telenor.se (ipb3.telenor.se [195.54.127.166]) by smtprelay-h22.telenor.se (Postfix) with ESMTP id AFAECEBA43 for <6774@debbugs.gnu.org>; Tue, 10 Aug 2010 16:01:32 +0200 (CEST) X-SENDER-IP: [85.225.45.35] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al0uAAz4YExV4S0jPGdsb2JhbACgVgwBAQEBNS3DJ4U6BA X-IronPort-AV: E=Sophos;i="4.55,348,1278280800"; d="scan'208";a="559849234" Original-Received: from c-232de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.35]) by ipb3.telenor.se with ESMTP; 10 Aug 2010 16:01:32 +0200 Original-Received: from [172.20.199.13] (zeplin [172.20.199.13]) by coolsville.localdomain (Postfix) with ESMTPSA id 4C9E77FA05A; Tue, 10 Aug 2010 16:01:31 +0200 (CEST) User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; sv-SE; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 10 Aug 2010 10:01:01 -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:39407 Archived-At: Stefan Monnier skrev 2010-08-10 09.29: >>> Indeed, I don't think it's good to do so. The old behavior of setting >>> PRIMARY only when killing the text seems like the right behavior. >>> Why would we want to change that? > >> Because it would conflict with >> http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt, and >> most other X applications set PRIMARY without an explicit kill or copy. > > That doesn't mean that C-SPC C-f should set PRIMARY. It just means that > some other operations should be considered as forms of copy/kill. I think it should and so does the applications that claim to conform. Pressing Shift-Left Arrow starts a selection in those X applications, and that sets PRIMARY. C-SPC C-f is Emacs way of doing shift-selection as I see it. > >> And because it is convinient to be able to select text and then paste >> with middle button in another application. > > Indeed, and Emacs-23 does that fine by saying that mouse-selection > performs a `copy'. But emacs 23.1 at least does not do this for shift-selection. That is unlike the other X apps. Why not take ownership of PRIMARY in this case? It is not as it is a performance issue. You don't have to copy the text until someone asks for it. Jan D.