From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Federico Tedin Newsgroups: gmane.emacs.bugs Subject: bug#31240: 26.1; mouse-save-then-kill does not kill rectangles Date: Fri, 5 Oct 2018 09:15:44 -0300 Message-ID: References: <5BADDC88.7010206@gmx.at> <5BB10CCE.4020503@gmx.at> <5BB1DBF0.5060706@gmx.at> <5BB320CA.5090606@gmx.at> <5BB36FF4.80403@gmx.at> <5BB70B54.5000103@gmx.at> <864le0agjk.fsf@misasa.okayama-u.ac.jp> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1538742394 31069 195.159.176.226 (5 Oct 2018 12:26:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 5 Oct 2018 12:26:34 +0000 (UTC) Cc: tkk@misasa.okayama-u.ac.jp, charles@aurox.ch, 31240@debbugs.gnu.org To: homeros.misasa@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 05 14:26:30 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 1g8PBd-0007ys-2Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Oct 2018 14:26:29 +0200 Original-Received: from localhost ([::1]:34905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8PDj-00079W-JX for geb-bug-gnu-emacs@m.gmane.org; Fri, 05 Oct 2018 08:28:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8PBc-0004aC-6b for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 08:26:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8P2U-0005Rs-3K for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 08:17:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33216) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g8P2T-0005Rj-ST for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 08:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g8P2T-0004sD-KJ for bug-gnu-emacs@gnu.org; Fri, 05 Oct 2018 08:17:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Federico Tedin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 05 Oct 2018 12:17:01 +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.153874176318664 (code B ref 31240); Fri, 05 Oct 2018 12:17:01 +0000 Original-Received: (at 31240) by debbugs.gnu.org; 5 Oct 2018 12:16:03 +0000 Original-Received: from localhost ([127.0.0.1]:37474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8P1X-0004qy-JI for submit@debbugs.gnu.org; Fri, 05 Oct 2018 08:16:03 -0400 Original-Received: from mail-lf1-f41.google.com ([209.85.167.41]:41684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g8P1W-0004qI-DT for 31240@debbugs.gnu.org; Fri, 05 Oct 2018 08:16:02 -0400 Original-Received: by mail-lf1-f41.google.com with SMTP id q39-v6so9182401lfi.8 for <31240@debbugs.gnu.org>; Fri, 05 Oct 2018 05:16:02 -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=XJAoo/AURI/lSxN+MtCn/GH7QfJ8xI3yej73KfLxbOs=; b=DW+/rqHoGDpIOuWK8wfGpXHsuOijCG9Vh/DXYRWI4PWgQac5XdWQqOpHMk8YITKJYs 6FHGjs8gPzf91bocQEMBcmbQF9r0ZwdBHcZjz9RlqPJ4aMPEZtJH9s4acPdWN+RHL6IF hbGf+DUOla3bwDZkAozXatI00H8wd0GY3E4iKEbg855CiNZPuHEUAy7M7f0vbXh6VBd5 yurITZdmzKH5DSRURnijzTilaLCOFJHiqqRoZUpgSdX+0TwtwCsqq19UEMrtA3DieqCb 4jn76eLTFVo2+Hgs1mme8+GPcdWxd0htjoMKazORsyZby4qmu/0o9Xrn+syWxUHXIOIA 4sNA== 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=XJAoo/AURI/lSxN+MtCn/GH7QfJ8xI3yej73KfLxbOs=; b=EHWW5morQzI3PIs1VvdSBSspwGXmgPtXLRvHB5LdNYQcYbzfbwy3ZyVEUAB4PhRE3m TXPcw4lApFvBJamAI9fGNyunJTYT3pI1HttK7j9OdLe5Hmu97iaA74+kemLH3E4OERmL wOtb/wDAmeZlTBTudUj3zqce3jsdMwK1fre6mDrDPMLxMfdXKD797Btk+aXVvhwt4BiW Czy357y6EeVN9MYVbGy4X6f9Mfo9G+gXsdSAO1D5a6QySLnCJV5SfNsTFNLgBPG8p89g S3kAY0H025Dewkua6T1BKjVsEO/KNO+xUh1vTXW6kpE3U38TEPl59Uk3qGR9v1HoIK7X 6UMQ== X-Gm-Message-State: ABuFfogfqXlEqWg8KxwjU1gst6a3eeMXxsL3oDg+R6MZzJmX0mtuIHuC Df4JdrKY32qdkD20N3QK3m4+fvttsiOnTfbya9I= X-Google-Smtp-Source: ACcGV61dKs22OwYi3DgAWjRv/u3wPS1AkvXAIf6TrN2xwOhsHwgvDmWLGQbvk8RAS3ao3bM+mp9pe2CEzsuw+gQxrpU= X-Received: by 2002:a19:4f17:: with SMTP id d23-v6mr4369306lfb.121.1538741756434; Fri, 05 Oct 2018 05:15:56 -0700 (PDT) In-Reply-To: <864le0agjk.fsf@misasa.okayama-u.ac.jp> 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:150954 Archived-At: > When the `inserting' cursor is located at left side of rectangle and on > the same line as the first line of the rectangle, user should be allowed > to move the rectangle, I think. The example Homeros tried to run won't work, because the newly intersected rectangle would intersect the original rectangle. This behaviour is intentional, as it is similar to mouse-drag-and-drop-region's behaviour with non-rectangle regions. However, I think an exception could be made for rectangle operations move the rectangle horizontally to the left, as Tak said. When the rectangle is dragged to the left, there's no way its content could be accidentally added to the overlays tracking the original rectangle, so it'll always work correctly (even if rectangle-intersect-p returns t).