From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Federico Tedin Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] master 134ba45: Allow two mouse functions to work with Rectangle Mark mode Date: Thu, 25 Oct 2018 20:24:28 -0300 Message-ID: References: <20181017063829.3775.67018@vcs0.savannah.gnu.org> <20181017063831.03DCB2044D@vcs0.savannah.gnu.org> <810f1e04-1117-476d-9a7d-d57002609bf8@default> <5BCC3743.8040103@gmx.at> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="00000000000051062b057915e895" X-Trace: blaine.gmane.org 1540509776 9696 195.159.176.226 (25 Oct 2018 23:22:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Oct 2018 23:22:56 +0000 (UTC) Cc: martin rudalics , emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 26 01:22:52 2018 Return-path: Envelope-to: ged-emacs-devel@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 1gFoxn-0002QB-04 for ged-emacs-devel@m.gmane.org; Fri, 26 Oct 2018 01:22:51 +0200 Original-Received: from localhost ([::1]:57313 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFozt-00041m-DW for ged-emacs-devel@m.gmane.org; Thu, 25 Oct 2018 19:25:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gFozk-00041f-Cn for emacs-devel@gnu.org; Thu, 25 Oct 2018 19:24:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gFozg-0002Gq-LF for emacs-devel@gnu.org; Thu, 25 Oct 2018 19:24:50 -0400 Original-Received: from mail-lj1-x22a.google.com ([2a00:1450:4864:20::22a]:36954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gFozc-0002FD-St for emacs-devel@gnu.org; Thu, 25 Oct 2018 19:24:46 -0400 Original-Received: by mail-lj1-x22a.google.com with SMTP id c4-v6so9833296lja.4 for ; Thu, 25 Oct 2018 16:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=X83R8vbVdrSMC14iWQZ6y4TBcLmPcpqQ73Lcw40O0SE=; b=f+g7zN1+FeH9RklugSVoQtUrnADzeEX1I4VOChc64WBj+zbPPcDeLk/hrDQnpCrFGd fzO82ZZTRBxuS9zk1ZY7uNCjkkRcpUD+DMf95CB03z32eioa73SrAFp9Kgschj27DN5a VPRcyA74OZ7Zj0e9hwyTVURKPEHSMW2mTHTd5Niw+qG7iBX8OiQBlKi5x0cVVAkLocS5 sLEA77MNzlsvg0ak8ybkxtZ/Te5A+mmeqAwAXrSKirX5qLHM0KzOOkl8TZm2EGuNcghQ BeeOncUQsj8JSt5d4vNP9FB94gxODIo5CTEzp2FInEs98T/co6u1OnOM4OIB6G6bO3Cm If6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=X83R8vbVdrSMC14iWQZ6y4TBcLmPcpqQ73Lcw40O0SE=; b=Sk1ULFttRWGx0mtCbZ5/f45Wj6LVRrPzfhVgW3mmB3cxDd7ay1zHcRBV2pUlxIKblr /W3R/n5l5Cl1JwP00e503KZuHksUeP8D+mFwAPtbnf1jP8zonZ1frQTDpO7BCNAsv6rz BnOycq/0/vKAv1Njp7ExguDF8qa0/UhviudXX0eBmyFd+txBEkleNBRvZ5MJ9ow27piZ 7LHWoU2zfc6MJiKyjfWL41dnlMSPR6aIAiVtUyoJARLh0+bEhhx84gtZ44ABpgmUEIMa CzI60YzBPEikymX3h4WjV810YR+gRMXhCh+b3psBvSA0JxVkhGlpwi3vwTeAlXX5bkkH WRSg== X-Gm-Message-State: AGRZ1gLbk7wNl1lGs5XvIFq8WCOP2XTqEtVsPHWxcj1Dckt9GUEWu5O/ w/KpNPh+cjRPR0flkoNeIKaXM0htg37x5b+a/nU= X-Google-Smtp-Source: AJdET5ecjIOGE6wNdKXh8Q3YEpjzOiimPV4BD6+1Jp5yMUqvJCPjX3YPmaqE5CHBxGbQiKbl/WW2vpagJiqCOPjVRBw= X-Received: by 2002:a2e:8050:: with SMTP id p16-v6mr804651ljg.178.1540509882442; Thu, 25 Oct 2018 16:24:42 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::22a X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:230672 Archived-At: --00000000000051062b057915e895 Content-Type: text/plain; charset="UTF-8" Stefan, I've prepared a patch that fixes most of the problems you found with my commit. I also fixed the case where a rectangle was dragged to its exact current location, the operation was not being marked as negligible and the result was that both the original and inserted rectangles where being deleted. Although this patch tidies up mouse-drag-and-drop-region, the problem of always treating noncontiguous regions as rectangles still remains. I have limited experience writing Emacs Lisp so I am not sure what the options are to solve this, but I'm interested in participating in the process of thinking/implementing a solution. Thanks. --00000000000051062b057915e895 Content-Type: text/x-patch; charset="US-ASCII"; name="mouse-drag.patch" Content-Disposition: attachment; filename="mouse-drag.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jnp7s5at0 RnJvbSBhNWUzNTE1MTFmM2MxO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C13aW5kb3cpKQogICAgICAgICAgKHRleHQtZnJvbS1yZWFk LW9ubHkgYnVmZmVyLXJlYWQtb25seSkKLSAgICAgICAgIDs7IFVzZSBtdWx0aXBsZSBvdmVybGF5 cyB0byBjb3ZlciBjYXNlcyB3aGVyZSB0aGUgcmVnaW9uIGlzCi0gICAgICAgICA7OyByZWN0YW5n dWxhci4KKyAgICAgICAgIDs7IFVzZSBtdWx0aXBsZSBvdmVybGF5cyB0byBjb3ZlciBjYXNlcyB3 aGVyZSB0aGUgcmVnaW9uIGhhcyBtb3JlCisgICAgICAgICA7OyB0aGFuIG9uZSBib3VuZGFyeS4K ICAgICAgICAgIChtb3VzZS1kcmFnLWFuZC1kcm9wLW92ZXJsYXlzIChtYXBjYXIgKGxhbWJkYSAo Ym91bmRzKQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IChtYWtlLW92ZXJsYXkgKGNhciBib3VuZHMpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2RyIGJvdW5kcykpKQogICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAocmVnaW9uLWJvdW5kcykp KQogICAgICAgICAgKHJlZ2lvbi1ub25jb250aWd1b3VzIChyZWdpb24tbm9uY29udGlndW91cy1w KSkKLSAgICAgICAgIChyZWdpb24td2lkdGggKC0gKG92ZXJsYXktZW5kIChjYXIgbW91c2UtZHJh Zy1hbmQtZHJvcC1vdmVybGF5cykpCi0gICAgICAgICAgICAgICAgICAgICAgICAgIChvdmVybGF5 LXN0YXJ0IChjYXIgbW91c2UtZHJhZy1hbmQtZHJvcC1vdmVybGF5cykpKSkKLSAgICAgICAgIChy ZWdpb24taGVpZ2h0IChsZW5ndGggbW91c2UtZHJhZy1hbmQtZHJvcC1vdmVybGF5cykpCiAgICAg ICAgICBwb2ludC10by1wYXN0ZQogICAgICAgICAgcG9pbnQtdG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ZXh0LWZyb20tcmVhZC1vbmx5CiAgICAgICAgICAgICAgICAgICAob3IgdGV4dC1mcm9tLXJlYWQt b25seQotICAgICAgICAgICAgICAgICAgICAgIChnZXQtdGV4dC1wcm9wZXJ0eSBzdGFydCAncmVh ZC1vbmx5KQotICAgICAgICAgICAgICAgICAgICAgIChnZXQtdGV4dC1wcm9wZXJ0eSBlbmQgJ3Jl YWQtb25seSkKICAgICAgICAgICAgICAgICAgICAgICAoY2F0Y2ggJ2xvb3AKLSAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgKGRvbGlzdCAoYm91bmQgKHJlZ2lvbi1ib3VuZHMpKQotICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICh1bmxlc3MgKGVxdWFsCi0gICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgKG5leHQtc2luZ2xlLWNoYXItcHJvcGVydHktY2hhbmdl Ci0gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChjYXIgYm91bmQpICdy ZWFkLW9ubHkgbmlsIChjZHIgYm91bmQpKQotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIChjZHIgYm91bmQpKQotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg KHRocm93ICdsb29wIHQpKSkpKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAoZG9saXN0IChi b3VuZCAocmVnaW9uLWJvdW5kcykpCisgICAgICAgICAgICAgICAgICAgICAgICAgICh3aGVuICh0 ZXh0LXByb3BlcnR5LWFueQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoY2Fy IGJvdW5kKSAoY2RyIGJvdW5kKSAncmVhZC1vbmx5IHQpCisgICAgICAgICAgICAgICAgICAgICAg ICAgICAgKHRocm93ICdsb29wIHQpKSkpKSkpCiAKICAgICAgICAgICAoc2V0cSB3aW5kb3ctdG8t cGFzdGUgKHBvc24td2luZG93IChldmVudC1lbmQgZXZlbnQpKSkKICAgICAgICAgICAoc2V0cSBw b2ludC10by1wYXN0ZSAocG9zbi1wb2ludCAoZXZlbnQtZW5kIGV2ZW50KSkpCkBAIC0yNTMxLDE2 ICsyNTIwLDE2IEBAIG1vdXNlLWRyYWctYW5kLWRyb3AtcmVnaW9uCiAgICAgICAgICAgICAgICAg ICAoYW5kIChlcSAob3ZlcmxheS1idWZmZXIgKGNhciBtb3VzZS1kcmFnLWFuZC1kcm9wLW92ZXJs YXlzKSkKICAgICAgICAgICAgICAgICAgICAgICAgICAgIGJ1ZmZlci10by1wYXN0ZSkKICAgICAg ICAgICAgICAgICAgICAgICAgKGlmIHJlZ2lvbi1ub25jb250aWd1b3VzCi0gICAgICAgICAgICAg ICAgICAgICAgICAgICAobGV0ICgoc2l6ZSAoY29ucyByZWdpb24td2lkdGggcmVnaW9uLWhlaWdo dCkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAobGV0ICgoZGltZW5zaW9ucyAocmVjdGFu Z2xlLWRpbWVuc2lvbnMgc3RhcnQgZW5kKSkKICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIChzdGFydC1jb29yZGluYXRlcwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg IChyZWN0YW5nbGUtcG9zaXRpb24tYXMtY29vcmRpbmF0ZXMgc3RhcnQpKQogICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgKHBvaW50LXRvLXBhc3RlLWNvb3JkaW5hdGVzCiAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgKHJlY3RhbmdsZS1wb3NpdGlvbi1hcy1jb29yZGlu YXRlcwogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwb2ludC10by1wYXN0ZSkp KQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoYW5kIChyZWN0YW5nbGUtaW50ZXJzZWN0 LXAKLSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgc3RhcnQtY29vcmRpbmF0ZXMg c2l6ZQotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBwb2ludC10by1wYXN0ZS1j b29yZGluYXRlcyBzaXplKQotICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChub3Qg KDw9IChjYXIgcG9pbnQtdG8tcGFzdGUtY29vcmRpbmF0ZXMpCisgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIHN0YXJ0LWNvb3JkaW5hdGVzIGRpbWVuc2lvbnMKKyAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgcG9pbnQtdG8tcGFzdGUtY29vcmRpbmF0ZXMgZGltZW5z aW9ucykKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAobm90ICg8IChjYXIgcG9p bnQtdG8tcGFzdGUtY29vcmRpbmF0ZXMpCiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgKGNhciBzdGFydC1jb29yZGluYXRlcykpKSkpCiAgICAgICAgICAgICAgICAg ICAgICAgICAgKGFuZCAoPD0gKG92ZXJsYXktc3RhcnQKICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgKGNhciBtb3VzZS1kcmFnLWFuZC1kcm9wLW92ZXJsYXlzKSkKQEAgLTI2MzUs MTAgKzI2MjQsNyBAQCBtb3VzZS1kcmFnLWFuZC1kcm9wLXJlZ2lvbgogICAgICAgICAgIChzZXRx IHdpbmRvdy1leGVtcHQgd2luZG93LXRvLXBhc3RlKQogICAgICAgICAgIChnb3RvLWNoYXIgcG9p bnQtdG8tcGFzdGUpCiAgICAgICAgICAgKHB1c2gtbWFyaykKLQotICAgICAgICAgIChpZiByZWdp b24tbm9uY29udGlndW91cwotICAgICAgICAgICAgICAoaW5zZXJ0LXJlY3RhbmdsZSAoc3BsaXQt c3RyaW5nIHZhbHVlLXNlbGVjdGlvbiAiXG4iKSkKLSAgICAgICAgICAgIChpbnNlcnQgdmFsdWUt c2VsZWN0aW9uKSkKKyAgICAgICAgICAoaW5zZXJ0L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Y3RhbmdsZSB3aXRoIGNvcm5lcnMgYXQgU1RBUlQKK2FuZCBFTkQuIFRoZSBy ZXR1cm5lZCB2YWx1ZSBoYXMgdGhlIGZvcm0gb2YgKFdJRFRIIC4gSEVJR0hUKS4iCisgIChzYXZl LWV4Y3Vyc2lvbgorICAgIChsZXQqICgoaGVpZ2h0ICgxKyAoYWJzICgtIChsaW5lLW51bWJlci1h dC1wb3MgZW5kKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChsaW5lLW51bWJlci1h dC1wb3Mgc3RhcnQpKSkpKQorICAgICAgICAgICAoY29scyAocmVjdGFuZ2xlLS1wb3MtY29scyBz dGFydCBlbmQpKQorICAgICAgICAgICAod2lkdGggKGFicyAoLSAoY2RyIGNvbHMpIChjYXIgY29s cykpKSkpCisgICAgICAoY29ucyB3aWR0aCBoZWlnaHQpKSkpCisKIChkZWZ1biBkZWxldGUtcmVj dGFuZ2xlLWxpbmUgKHN0YXJ0Y29sIGVuZGNvbCBmaWxsKQogICAod2hlbiAoPSAobW92ZS10by1j b2x1bW4gc3RhcnRjb2wgKGlmIGZpbGwgdCAnY29lcmNlKSkgc3RhcnRjb2wpCiAgICAgKGRlbGV0 ZS1yZWdpb24gKHBvaW50KQotLSAKMi4xNy4xCgo= --00000000000051062b057915e895--