From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.bugs Subject: bug#16382: Cut/Copy tool-bar icons issue Date: Sat, 18 Jan 2014 17:19:22 +0100 Message-ID: <52DAA98A.3030909@alice.it> 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> <52DA9A16.3080409@swipnet.se> 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 1390062012 28422 80.91.229.3 (18 Jan 2014 16:20:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Jan 2014 16:20:12 +0000 (UTC) Cc: 16382-done@debbugs.gnu.org To: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 18 17:20:18 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 1W4Yd6-0005dt-Qv for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 17:20:17 +0100 Original-Received: from localhost ([::1]:43397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Yd6-0003fW-Cg for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 11:20:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Ycy-0003eA-MA for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 11:20:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4Yct-00023e-7b for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 11:20:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4Yct-00022p-45 for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 11:20:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W4Ycs-0003E4-9z for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 11:20:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Angelo Graziosi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Jan 2014 16:20:02 +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.139006197912339 (code D ref 16382); Sat, 18 Jan 2014 16:20:02 +0000 Original-Received: (at 16382-done) by debbugs.gnu.org; 18 Jan 2014 16:19:39 +0000 Original-Received: from localhost ([127.0.0.1]:56308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4YcU-0003Cw-8s for submit@debbugs.gnu.org; Sat, 18 Jan 2014 11:19:38 -0500 Original-Received: from smtp202.alice.it ([82.57.200.98]:31133) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4YcQ-0003Ce-M5 for 16382-done@debbugs.gnu.org; Sat, 18 Jan 2014 11:19:35 -0500 Original-Received: from [192.168.1.100] (80.181.108.212) by smtp202.alice.it (8.6.060.28) (authenticated as angelo.graziosi@alice.it) id 52D3A19001D1EF17; Sat, 18 Jan 2014 17:19:29 +0100 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: <52DA9A16.3080409@swipnet.se> 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:83683 Archived-At: Il 18/01/2014 16.13, Jan Djärv ha scritto: > 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. This seems reasonable to me.. :) Thanks, Angelo. > > 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. >> >> >> >