From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#25777: 25.1; [PATCH] `rectangle--pos-cols' should not move point Date: Thu, 2 Mar 2017 22:29:48 -0800 (PST) Message-ID: <9d559ea2-b66f-4b05-9b95-243651239e13@default> References: <1efbacdb-7d86-454d-b0e0-7a783c47b804@default> <87poi4e7mv.fsf@users.sourceforge.net> <877f4beok7.fsf@users.sourceforge.net> <87tw7edi9d.fsf@users.sourceforge.net> <512a3db8-49d0-4802-aecc-2d71049e0b25@default> <87zih4bhhz.fsf@users.sourceforge.net> <2560c8d7-532e-4882-b3d4-3845312d218f@default> <8737evaz7b.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1488522611 6630 195.159.176.226 (3 Mar 2017 06:30:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 3 Mar 2017 06:30:11 +0000 (UTC) Cc: 25777@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Mar 03 07:30:08 2017 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 1cjgj8-0001Ix-GC for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Mar 2017 07:30:06 +0100 Original-Received: from localhost ([::1]:56381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjgjE-0002Qg-Ad for geb-bug-gnu-emacs@m.gmane.org; Fri, 03 Mar 2017 01:30:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46925) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cjgj8-0002Ov-El for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 01:30:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cjgj5-0003Ok-B2 for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 01:30:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39097) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cjgj5-0003Of-7f for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 01:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cjgj4-0000FY-Ro for bug-gnu-emacs@gnu.org; Fri, 03 Mar 2017 01:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 03 Mar 2017 06:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25777 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25777-submit@debbugs.gnu.org id=B25777.1488522600917 (code B ref 25777); Fri, 03 Mar 2017 06:30:02 +0000 Original-Received: (at 25777) by debbugs.gnu.org; 3 Mar 2017 06:30:00 +0000 Original-Received: from localhost ([127.0.0.1]:37296 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjgj2-0000Ei-4N for submit@debbugs.gnu.org; Fri, 03 Mar 2017 01:30:00 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:42351) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cjgiz-0000ET-Vq for 25777@debbugs.gnu.org; Fri, 03 Mar 2017 01:29:58 -0500 Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v236TpoS004425 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 3 Mar 2017 06:29:51 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.13.8/8.14.4) with ESMTP id v236Tpqe023638 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 3 Mar 2017 06:29:51 GMT Original-Received: from abhmp0004.oracle.com (abhmp0004.oracle.com [141.146.116.10]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id v236TosC011761; Fri, 3 Mar 2017 06:29:50 GMT In-Reply-To: <8737evaz7b.fsf@users.sourceforge.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6753.5000 (x86)] X-Source-IP: aserv0021.oracle.com [141.146.126.233] 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:130084 Archived-At: > > Here is a possible doc string for the renamed `rectangle-pos-cols': >=20 > Yeah, the doc string is the tricky part. >=20 > > > > "Return cons (START-COLUMN . END-COLUMN) of columns delimiting a > rectangle. >=20 > I think the first line is too long. "Return cons (START-COLUMN . END-COLUMN) of rectangle columns." > > START and END are buffer positions of the rectangle corners. > > > > Optional argument WINDOW is the window displaying the rectangle. > > It defaults to the selected window." > > > > I'm not sure it is accurate, but I think so. (I'm no expert on this.) >=20 > And looking at the function body again, I think it's checking some other > things, and seems to have some side effects with respect to the current > rectangle. No, I don't think so. What did you have in mind? It can reset window parameter `rectangle--point-crutches' or variable `rectangle--mark-crutches', but I don't think those actions are worth mentioning. Do you? Or did you have something else in mind? What side effects do you think it has on the current rectangle? Feel free to propose something different or let me know what you think needs to be said. I'll try to help with the wording, if needed.