From: Drew Adams <drew.adams@oracle.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>, Alan Mackenzie <acm@muc.de>
Cc: gnu-emacs-bug@moderators.isc.org
Subject: bug#18590: 24.3.93; Scrolling changes/forgets selection
Date: Wed, 1 Oct 2014 07:59:08 -0700 (PDT) [thread overview]
Message-ID: <c82435e9-edd4-465c-a977-e09ec0fda1a6@default> (raw)
In-Reply-To: <jwvbnpvyhut.fsf-monnier+emacsbugs@gnu.org>
> 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."
next prev parent reply other threads:[~2014-10-01 14:59 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-30 13:07 bug#18590: 24.3.93; Scrolling changes/forgets selection N. Jackson
2014-09-30 14:28 ` Eli Zaretskii
2014-09-30 17:42 ` N. Jackson
2014-09-30 17:56 ` martin rudalics
2014-09-30 19:22 ` Stefan Monnier
2014-09-30 17:59 ` Eli Zaretskii
2014-09-30 18:09 ` Stefan Monnier
[not found] ` <mailman.10089.1412098998.1147.bug-gnu-emacs@gnu.org>
2014-10-01 13:29 ` Alan Mackenzie
2014-10-01 14:42 ` Stefan Monnier
2014-10-01 14:59 ` Drew Adams [this message]
2022-04-13 0:37 ` Lars Ingebrigtsen
2022-04-13 0:50 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] <<87k34li7ex.fsf@moondust.localdomain>
[not found] ` <<83ppedkwrs.fsf@gnu.org>
2014-09-30 15:06 ` Drew Adams
2014-09-30 15:30 ` Eli Zaretskii
[not found] <<69d7a976-96b7-49c6-bb96-e69f2fa8c93e@default>
[not found] ` <<83fvf9ktwd.fsf@gnu.org>
2014-09-30 16:43 ` Drew Adams
2014-09-30 17:00 ` Eli Zaretskii
[not found] ` <<4a1fd296-dc2f-4fb3-a854-0b4acea62f72@default>
[not found] ` <<8361g5kpqb.fsf@gnu.org>
2014-09-30 17:10 ` Drew Adams
2014-09-30 17:44 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c82435e9-edd4-465c-a977-e09ec0fda1a6@default \
--to=drew.adams@oracle.com \
--cc=acm@muc.de \
--cc=gnu-emacs-bug@moderators.isc.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.