From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#18590: 24.3.93; Scrolling changes/forgets selection Date: Tue, 30 Sep 2014 10:10:42 -0700 (PDT) Message-ID: <468a4b88-6b7f-460c-8f14-50e7f494224a@default> References: <<69d7a976-96b7-49c6-bb96-e69f2fa8c93e@default>> <<83fvf9ktwd.fsf@gnu.org>> <<4a1fd296-dc2f-4fb3-a854-0b4acea62f72@default>> <<8361g5kpqb.fsf@gnu.org>> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1412097094 30170 80.91.229.3 (30 Sep 2014 17:11:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Sep 2014 17:11:34 +0000 (UTC) Cc: 18590@debbugs.gnu.org, nljlistbox2@gmail.com To: Eli Zaretskii , Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 30 19:11:26 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XZ0xR-0002w2-Cr for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Sep 2014 19:11:25 +0200 Original-Received: from localhost ([::1]:44476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ0xQ-00073X-EZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Sep 2014 13:11:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47938) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ0xD-0006yM-Nh for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2014 13:11:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZ0x4-0007e9-VS for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2014 13:11:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZ0x4-0007e0-TQ for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2014 13:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZ0x3-0000I2-Jp for bug-gnu-emacs@gnu.org; Tue, 30 Sep 2014 13:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Sep 2014 17:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18590 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18590-submit@debbugs.gnu.org id=B18590.14120970481092 (code B ref 18590); Tue, 30 Sep 2014 17:11:01 +0000 Original-Received: (at 18590) by debbugs.gnu.org; 30 Sep 2014 17:10:48 +0000 Original-Received: from localhost ([127.0.0.1]:56544 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZ0wq-0000HX-47 for submit@debbugs.gnu.org; Tue, 30 Sep 2014 13:10:48 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:41404) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZ0wn-0000HM-G9 for 18590@debbugs.gnu.org; Tue, 30 Sep 2014 13:10:46 -0400 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s8UHAisQ022235 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 30 Sep 2014 17:10:44 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s8UHAgts023358 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 30 Sep 2014 17:10:43 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s8UHAgwZ003660; Tue, 30 Sep 2014 17:10:42 GMT In-Reply-To: <<8361g5kpqb.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93928 Archived-At: > But point moves when you scroll, so the selected portion of text > changes. The OP wanted the selection to remain unchanged on both > ends (at least that's my understanding of the report). Did you see the behavior I suggested might be an improvement? I think it might respond to what the OP was expecting. There might be a downside to what I suggested - haven't thought much about it. But I do think it responds to the gotcha that has bitten me and I think is biting the OP. You have something selected. Scrolling gives you the (mistaken) impression that you are only enlarging that selection. Consider what mouse-3 does after you have selected some text as somewhat of an analogy. It does not matter which end of the initially selected text point is at. When you click mouse-3 outside the region, the region is extended to the click position. Similarly, if you click inside the region, it is reduced to the click position. And the other end of the initially selected region is not changed - regardless of whether point or mark was at that end. That is more or less what my suggest was for scrolling: have it extend (or reduce, if scrolling toward point and away from mark) the region, but have it keep the other end of the original region. It would have to be kept as mark, of course, since scrolling moves the point end of the region. That is just what is done by mouse-3 too: it moves point to the click position and puts mark at the far end of the region (which position does not change).