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#16382: Cut/Copy tool-bar icons issue Date: Sat, 18 Jan 2014 16:13:26 +0100 Message-ID: <52DA9A16.3080409@swipnet.se> References: <52CC0A04.4060707@alice.it> <70266380-7A58-495E-9DDE-A50CF2531391@swipnet.se> <52D27BED.8000909@alice.it> <52D2D8DE.8000902@swipnet.se> <52D4FD59.7040203@alice.it> <52D57326.6050305@alice.it> <91321D5C-3AC5-4E50-AB37-4ACDAF8C16CB@swipnet.se> <52D579D0.6050006@alice.it> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1390058052 19856 80.91.229.3 (18 Jan 2014 15:14:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2014 15:14:12 +0000 (UTC) Cc: 16382-done@debbugs.gnu.org To: Angelo Graziosi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 18 16:14:19 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 1W4XbG-0004AM-1v for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 16:14:18 +0100 Original-Received: from localhost ([::1]:43227 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4XbF-0003qu-6D for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 10:14:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Xb6-0003qj-6K for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 10:14:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4Xb0-0001Lu-PJ for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 10:14:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Xb0-0001Lm-N5 for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 10:14:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W4Xb0-0001EG-1n for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 10:14:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jan 2014 15:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16382 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16382-done@debbugs.gnu.org id=D16382.13900580144684 (code D ref 16382); Sat, 18 Jan 2014 15:14:01 +0000 Original-Received: (at 16382-done) by debbugs.gnu.org; 18 Jan 2014 15:13:34 +0000 Original-Received: from localhost ([127.0.0.1]:56231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4XaX-0001DT-CG for submit@debbugs.gnu.org; Sat, 18 Jan 2014 10:13:33 -0500 Original-Received: from mailfe04.swip.net ([212.247.154.97]:32877 helo=swip.net) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4XaU-0001DI-5g for 16382-done@debbugs.gnu.org; Sat, 18 Jan 2014 10:13:31 -0500 X-T2-Spam-Status: No, hits=0.8 required=5.0 tests=BAYES_50 Original-Received: from hosdjarv.se (account mj138573@tele2.se [46.59.42.57] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 468371979; Sat, 18 Jan 2014 16:13:26 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: 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:83680 Archived-At: Hello. I think the rationale was that with cut the selection is gone, so PRIMARY should be empty, i.e. PRIMARY reflects what is selected on screen. However, this is not in line with the freedesktop guidelines http://standards.freedesktop.org/clipboards-spec/clipboards-latest.txt: " - a selection becoming unselected should never unset PRIMARY" So I checked in a fix in trunk so PRIMARY is not reset. Jan D. 2014-01-14 18:59, Jan Djärv skrev: > Hello. > > 14 jan 2014 kl. 18:54 skrev Angelo Graziosi : > >> Il 14/01/2014 18.47, Jan Djärv ha scritto: >>> Hello. >>> >>> 14 jan 2014 kl. 18:25 skrev Angelo Graziosi : >>> >>>> Il 14/01/2014 17.07, Jan Djärv ha scritto: >>>>> Hello. >>>>> >>>>> 14 jan 2014 kl. 10:03 skrev Angelo Graziosi : >>>>> >>>>>> Should we open a new bug report for this? >>>>>> >>>>> >>>>> This report is fine. The omission to copy to PRIMARY looks intended, because when text is read-only and cut acts like copy, text is copied to PRIMARY. >>>> >>>> "intended" ? If it is intended, which is its usefulness? >>>> >>>> If one wants to move text from a place to another, this doesn't work using the mouse and the "cut" icon on the tool-bar... >>>> >>>> 1. select the text with mouse-1 (dragging over the text) >>> >>> This should already put the text in PRIMARY. >>> >>>> 2. click the "cut" icon on the tool-bar: the text is removed >>>> 3. now move the mouse pointer where you want the text to reappear >>>> 4. click mouse-2 to paste: nothing happens >>>> >>>> So, newly, which the usefulness of the above "intended" omission? >>>> >>>> >>>>> I wonder if there is some thought behind this we don't see. >>>> >>>> ah.. >>>> >>> >>> Does it work if you use C-w instead of cut? >> >> C-w and C-y work as expected. C-y works also if used at step 4 above. It is with the mouse and tool-bar "cut" icon that it doesn't work.. > > Ok, so if nobody remember why the current implementation is the way it is in a couple of days or so, I'll fix this. C-w and cut should be equivalent in this case. > > Jan D. > > >