From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#38013: [PATCH] Rectangular region selection with mouse Date: Sat, 09 Nov 2019 22:04:52 +0200 Message-ID: <83bltk95p7.fsf@gnu.org> References: <83lft0m3ug.fsf@gnu.org> <3541E0E8-9E33-4FBD-B0D9-DFF77C241F6F@acm.org> <83y2wzlorw.fsf@gnu.org> <83v9s3lo5f.fsf@gnu.org> <75EC4FBC-F636-4D75-BAC4-982D85188794@acm.org> <9b9222ad-ead7-d0a0-0602-780d0680f070@gmx.at> <6bf229f4-c22f-c3c2-5158-5235f908de3c@gmx.at> <8ec84837-172c-1ce5-cab0-b4c96a86274e@gmx.at> <411EAB4E-B666-4263-8514-5F47391268B1@acm.org> <2df02c1f-fea4-f764-eba6-fd67de581755@gmx.at> <3b74a108-28e3-fd01-64a5-7c4302e3d979@gmx.at> <9A9D13F2-1F4F-4DD4-B92F-96FC4D91DFBD@acm.org> <83pni17x5b.fsf@gnu.org> <8B95D2D3-8E00-45BF-B57D-EFD49D79EB6A@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="28771"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38013@debbugs.gnu.org To: Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 09 21:06:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iTWzw-0007FE-Rc for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 21:06:17 +0100 Original-Received: from localhost ([::1]:39634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTWzv-00059o-Ix for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Nov 2019 15:06:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47140) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iTWzm-00059K-9Z for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 15:06:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iTWzi-0001AQ-Th for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 15:06:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41495) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iTWzi-0001AG-Qa for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 15:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iTWzh-0004aF-Iw for bug-gnu-emacs@gnu.org; Sat, 09 Nov 2019 15:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Nov 2019 20:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38013 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38013-submit@debbugs.gnu.org id=B38013.157332991117557 (code B ref 38013); Sat, 09 Nov 2019 20:06:01 +0000 Original-Received: (at 38013) by debbugs.gnu.org; 9 Nov 2019 20:05:11 +0000 Original-Received: from localhost ([127.0.0.1]:50316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTWyt-0004Z4-7T for submit@debbugs.gnu.org; Sat, 09 Nov 2019 15:05:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iTWyr-0004Yn-0X for 38013@debbugs.gnu.org; Sat, 09 Nov 2019 15:05:09 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iTWyl-0000Bv-MP; Sat, 09 Nov 2019 15:05:03 -0500 Original-Received: from [176.228.60.248] (port=4075 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iTWyi-0001Nl-IF; Sat, 09 Nov 2019 15:05:01 -0500 In-reply-to: <8B95D2D3-8E00-45BF-B57D-EFD49D79EB6A@acm.org> (message from Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= on Sat, 9 Nov 2019 20:32:46 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 209.51.188.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:171352 Archived-At: > From: Mattias EngdegÄrd > Date: Sat, 9 Nov 2019 20:32:46 +0100 > Cc: rudalics@gmx.at, 38013@debbugs.gnu.org > > In the first patch, the start and end corners of the rectangle had to be a point in the buffer; ie, not a position beyond the end of a line or in the middle of a tab character. That was not only unnecessarily restrictive but also made the rectangle flutter back and forth as the dragged corner passed through lines of different length. Now the rectangle corners can be any character cell. OK, that's good. > If that was not the reason for your concern, would you mind describing the problem more in detail and how to reproduce it? I still see a 1-pixel thin "region" sometimes, which causes the text to move horizontally. More importantly, if I drag the mouse through a TAB, it moves in jumps of several columns, not one column at a time.