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: Wed, 1 Oct 2014 07:59:08 -0700 (PDT) Message-ID: References: <87k34li7ex.fsf@moondust.localdomain> <83ppedkwrs.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 1412175814 4483 80.91.229.3 (1 Oct 2014 15:03:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Oct 2014 15:03:34 +0000 (UTC) Cc: gnu-emacs-bug@moderators.isc.org To: Stefan Monnier , Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 01 17:03:27 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 1XZLR8-0006XT-Hw for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 17:03:26 +0200 Original-Received: from localhost ([::1]:55913 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZLR8-0003Jy-3I for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Oct 2014 11:03:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZLQv-0003Is-4J for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 11:03:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZLQk-0006TT-Jt for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 11:03:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37750) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZLQk-0006TJ-Gw for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 11:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XZLQk-0000cU-A5 for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 11:03: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: Wed, 01 Oct 2014 15:03:02 +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 submit@debbugs.gnu.org id=B.14121757302317 (code B ref -1); Wed, 01 Oct 2014 15:03:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Oct 2014 15:02:10 +0000 Original-Received: from localhost ([127.0.0.1]:57547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZLPt-0000bI-O5 for submit@debbugs.gnu.org; Wed, 01 Oct 2014 11:02:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32797) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZLPq-0000bA-Lr for submit@debbugs.gnu.org; Wed, 01 Oct 2014 11:02:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZLPg-00063Q-66 for submit@debbugs.gnu.org; Wed, 01 Oct 2014 11:02:06 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34336) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZLPg-00063K-4A for submit@debbugs.gnu.org; Wed, 01 Oct 2014 11:01:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34470) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZLPW-0002y8-TM for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 11:01:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZLPN-0005xg-Si for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 11:01:46 -0400 Original-Received: from moderators.individual.net ([130.133.4.7]:52070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZLPN-0005xc-Nf for bug-gnu-emacs@gnu.org; Wed, 01 Oct 2014 11:01:37 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]) by moderators.individual.net (Exim 4.82) for gnu-emacs-bug@moderators.isc.org with esmtp (envelope-from ) id <1XZLPM-001UqX-QT>; Wed, 01 Oct 2014 17:01:37 +0200 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s91ExAvI013071 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 1 Oct 2014 14:59:11 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s91Ex9EQ021376 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 1 Oct 2014 14:59:10 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s91Ex8t0021331; Wed, 1 Oct 2014 14:59:09 GMT In-Reply-To: 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: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:93964 Archived-At: > Similarly, we could add a command that does "Move point back to the > position it had before we started scrolling", which would provide > some of the behavior that N. Jackson is requesting. As Eli said, "That's for the OP to tell." But I don't think N. Jackson is asking that point be moved back to the position it had before scrolling (the buffer beginning, in his use case). I think he is asking that the region not lose its other end, i.e., that it extend back to the buffer beginning, from the scrolled-to position. I think he is OK with point remaining at the scrolled position, but he wants the region to extend back to bob. Scrolling should extend (or reduce) one end of the region, but it should not affect the other end. I think the right behavior is what I suggested: If the region is active then swap point and mark before scrolling, if scrolling is in the direction away from point and toward mark. Have scrolling 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... But "That's for the OP to tell."