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#31905: Re: detection of edge of highlighted text by mouse-drag-and-drop-region Date: Thu, 21 Jun 2018 08:17:54 +0900 (JST) Message-ID: <20180621.081754.972723345025795566.tkk@misasa.okayama-u.ac.jp> References: <20180620.082541.1223268284350863328.tkk@misasa.okayama-u.ac.jp> <5B2A0577.3050202@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 1529536627 23309 195.159.176.226 (20 Jun 2018 23:17:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Jun 2018 23:17:07 +0000 (UTC) Cc: 31905@debbugs.gnu.org, tkk@misasa.okayama-u.ac.jp To: rudalics@gmx.at Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 21 01:17:02 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 1fVmLV-0005vE-Kb for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Jun 2018 01:17:01 +0200 Original-Received: from localhost ([::1]:52136 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVmNc-0007Yp-DY for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Jun 2018 19:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fVmNV-0007YW-Rv for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2018 19:19:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fVmNS-00083J-NB for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2018 19:19:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50164) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fVmNS-000837-J7 for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2018 19:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fVmNS-00071O-6T for bug-gnu-emacs@gnu.org; Wed, 20 Jun 2018 19:19: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: Wed, 20 Jun 2018 23:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31905 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 31905-submit@debbugs.gnu.org id=B31905.152953668726930 (code B ref 31905); Wed, 20 Jun 2018 23:19:02 +0000 Original-Received: (at 31905) by debbugs.gnu.org; 20 Jun 2018 23:18:07 +0000 Original-Received: from localhost ([127.0.0.1]:58061 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVmMZ-00070I-4p for submit@debbugs.gnu.org; Wed, 20 Jun 2018 19:18:07 -0400 Original-Received: from mxl069v65.mxlogic.net ([208.81.69.65]:44330 helo=s18p02o142.mxlogic.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fVmMX-000708-3V for 31905@debbugs.gnu.org; Wed, 20 Jun 2018 19:18:06 -0400 Original-Received: from unknown [42.127.236.175] (EHLO mlsec.cc.okayama-u.ac.jp) by s18p02o142.mxlogic.net(mxl_mta-8.5.0-1953) over TLS secured channel with ESMTP id 5a0ea2b5.0.435291.00-371.796426.s18p02o142.mxlogic.net (envelope-from ); Wed, 20 Jun 2018 17:17:59 -0600 (MDT) X-MXL-Hash: 5b2ae0a74170a603-5fc27f2ebd439c8976adcaf8948d82580207dd78 Original-Received: from alml002.ouadm.okayama-u.ac.jp (unknown [42.127.236.168]) by mlsec.cc.okayama-u.ac.jp with smtp id 2ce4_0f83_20a420e5_fe45_4d2a_b12e_5b3169ad5753; Thu, 21 Jun 2018 08:17:55 +0900 Original-Received: from localhost (vesta.misasa.okayama-u.ac.jp [150.46.48.154]) by alml002.ouadm.okayama-u.ac.jp (Postfix) with ESMTPSA id 02A564C0A0B; Thu, 21 Jun 2018 08:17:54 +0900 (JST) In-Reply-To: <5B2A0577.3050202@gmx.at> X-Mailer: Mew version 6.7 on Emacs 26.1 / Mule 6.0 (HANACHIRUSATO) 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, RV6312=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6312> : inlines <6709> : streams <1790273> : uri <2661533> X-AnalysisOut: [v=2.2 cv=XoCKARN9 c=1 sm=1 tr=0 a=8LLPK8U+aGQ6qN8QlyMYtQ==] X-AnalysisOut: [:117 a=8LLPK8U+aGQ6qN8QlyMYtQ==:17 a=kj9zAlcOel0A:10 a=7mU] X-AnalysisOut: [fYlMuFuIA:10 a=Rj6Stu8x0kDhh5P9GVsA:9 a=CjuIK1q_8ugA:10] X-Spam: [F=0.5000000000; CM=0.500; MH=0.500(2018062009); S=0.292(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:147675 Archived-At: tags 31905 fixed close 31905 26.2 quit From: martin rudalics Subject: Re: detection of edge of highlighted text by mouse-drag-and-drop-region Date: Wed, 20 Jun 2018 09:42:47 +0200 >> I found bug on `mouse-drag-and-drop-region'. The >> `mouse-drag-and-drop-region' does not recognize the beginning and the >> end of highlighted text as pre existing region. >> >> 1: emacs -Q >> 2: (setq mouse-drag-and-drop-region 'meta) >> 2: Select text on a buffer and have a region. Let's assume `This >> buffer' is highlighted. >> 3: Drag and drop the text onto the first character of the region, that >> is `T'. >> 4: Then the text `This buffer' would be disappeared. > > Indeed. > >> I attach a patch to fix the bug. This patch is relative to 26.1.50. > > I verified that it corrects the behavior and applied it to the release > branch. Please countercheck and close the bug if everything is right. > > Thank you, martin