From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tak Kunihiro Newsgroups: gmane.emacs.bugs Subject: bug#31240: 26.1; mouse-save-then-kill does not kill rectangles Date: Mon, 08 Oct 2018 19:25:44 +0900 (JST) Message-ID: <20181008.192544.1387561894315194511.tkk@misasa.okayama-u.ac.jp> References: <5BB8EC23.1040303@gmx.at> <5BB9A4E5.3070308@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1538994725 23992 195.159.176.226 (8 Oct 2018 10:32:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2018 10:32:05 +0000 (UTC) Cc: 31240@debbugs.gnu.org, homeros.misasa@gmail.com, tkk@misasa.okayama-u.ac.jp, charles@aurox.ch, federicotedin@gmail.com To: rudalics@gmx.at Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 08 12:32:01 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9SpU-00066K-VL for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2018 12:32:01 +0200 Original-Received: from localhost ([::1]:45396 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9Srb-0003tC-2I for geb-bug-gnu-emacs@m.gmane.org; Mon, 08 Oct 2018 06:34:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g9SrG-0003hW-PP for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2018 06:33:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g9Skg-0004ju-W7 for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2018 06:27:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35655) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g9Skg-0004jo-Rs for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2018 06:27:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g9Skg-00070b-Ig for bug-gnu-emacs@gnu.org; Mon, 08 Oct 2018 06:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tak Kunihiro Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 08 Oct 2018 10:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31240 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31240-submit@debbugs.gnu.org id=B31240.153899437226877 (code B ref 31240); Mon, 08 Oct 2018 10:27:02 +0000 Original-Received: (at 31240) by debbugs.gnu.org; 8 Oct 2018 10:26:12 +0000 Original-Received: from localhost ([127.0.0.1]:39913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9Sjr-0006zR-NP for submit@debbugs.gnu.org; Mon, 08 Oct 2018 06:26:11 -0400 Original-Received: from s12p02o152.mxlogic.net ([208.65.145.75]:56024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g9Sjm-0006zE-BM for 31240@debbugs.gnu.org; Mon, 08 Oct 2018 06:26:08 -0400 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s12p02o152.mxlogic.net(mxl_mta-8.5.0-1964) with ESMTP id eb03bbb5.7ff2667e3700.101150273.00-574.107159212.s12p02o152.mxlogic.net (envelope-from ); Mon, 08 Oct 2018 04:26:06 -0600 (MDT) X-MXL-Hash: 5bbb30be3b6aba21-3a71dac1ea3fec6d56649b4ee17132c8abaa7cb5 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s12p02o152.mxlogic.net(mxl_mta-8.5.0-1964) over TLS secured channel with ESMTP id da03bbb5.0.101150129.00-335.107159058.s12p02o152.mxlogic.net (envelope-from ); Mon, 08 Oct 2018 04:25:55 -0600 (MDT) X-MXL-Hash: 5bbb30b3659e6647-67ede8e409b662c5401671e86b5e4644a459e22b Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 1b30_3f2b_4da34553_04f1_4b37_87ff_65317f1a75a8; Mon, 08 Oct 2018 19:25:43 +0900 Original-Received: from localhost (vpn2015.okayama-u.ac.jp [150.46.138.52]) by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id ACC1A4C0C23; Mon, 8 Oct 2018 19:25:43 +0900 (JST) In-Reply-To: <5BB9A4E5.3070308@gmx.at> X-Mailer: Mew version 6.8 on Emacs 26.1 X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 11 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 4 Rules triggered EDT_SA_AU_PASS=0, EDT_SA_DN_PASS=0, EDT_SA_TS_PASS=0, RV6389=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6389> : inlines <6917> : streams <1800704> : uri <2726159> X-AnalysisOut: [v=2.2 cv=H7ur+6Qi c=1 sm=1 tr=0 a=8LLPK8U+aGQ6qN8QlyMYtQ==] X-AnalysisOut: [:117 a=8LLPK8U+aGQ6qN8QlyMYtQ==:17 a=kj9zAlcOel0A:10 a=smK] X-AnalysisOut: [x5t2vBNcA:10 a=2ozYQZI27XVEETVXqWQA:9 a=7Zwj6sZBwVKJAoWSPK] X-AnalysisOut: [xL6X1jA+E=:19 a=CjuIK1q_8ugA:10] X-Spam: [F=0.5000000000; SD=0.5; CM=0.500; MH=0.500(2018100804); S=0.211(2015072901)] X-MAIL-FROM: X-SOURCE-IP: [42.127.236.175] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:151006 Archived-At: >> This problem exists because mouse-drag-and-drop-region first inserts >> the dragged contents, and then deletes the original selection. Is >> there a reason this has been implemented like this? It sounds like it >> would make more sense to first delete the original selection, and then >> insert it elsewhere. This would be almost the same as killing and then >> yanking some text. That being said, for non-rectangular regions, any >> of the two methods works the same. I appreciate mouse-drag-and-drop-region when I move a sentence because the sentence never disappears from screen. Based on this criteria, mouse-drag-and-drop-region inserts first and delete second. Practically it is quick, thus order does not matter much. There are two cases for dragging a sentence, that are ones with (1) deleting the original selection and (2) keeping it. Since to insert is common for two cases, deletion of the original selection comes later. If it works, order does not matter much.