[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: scroll-restore.el
From: |
David De La Harpe Golden |
Subject: |
Re: scroll-restore.el |
Date: |
Fri, 22 Feb 2008 16:11:51 +0000 |
On 21/02/2008, Richard Stallman <address@hidden> wrote:
> I think this is trying to implement too many different features, and
> we don't want them all. I would rather implement just the feature of
> restoring point after you scroll back to the previous screen, in a
> simple way.
>
Well, that is perhaps useful on its own. But just to note, some of
the additional features are probably needed to address the
transient-mark-mode region selection concern in the context where
Martin introduced scroll-restore - e.g. handle-region and jump-back.
(handle region just gives the appearance that an active region can go
offscreen, jump back is apparently then needed so that the region is
really reset to the pre-scrolled region just before the kill,
otherwise the real region at scrolled time is killed).
> We can add a new
> specific hook, and run it from commands and features that scroll.
>
I think that may wind up being necessary anyway - e.g. As pointed out
in the source comments, the code can't handle e.g. vertical scroll bar
or mouse drag scrolling sometimes because they don't cause a
post-command-hook?
(And if you are then concerned with the behaviour of the active region
under scrolling (though of course you mightn't be), that can then
cause serious flickering at best, "wrong" region at worst (e.g. if
you segue directly into a vertical scroll bar scroll from a mouse drag
mark region)).
- Re: Enabling Transient Mark Mode by default, (continued)
- Re: Enabling Transient Mark Mode by default, David Kastrup, 2008/02/20
- Re: Enabling Transient Mark Mode by default, Stefan Monnier, 2008/02/20
- Re: Enabling Transient Mark Mode by default, Sascha Wilde, 2008/02/20
- Re: Enabling Transient Mark Mode by default, Lennart Borgman (gmail), 2008/02/20
- Re: Enabling Transient Mark Mode by default, Evans Winner, 2008/02/20
- Re: Enabling Transient Mark Mode by default, Jason Earl, 2008/02/20
- Re: Enabling Transient Mark Mode by default, David Kastrup, 2008/02/20
- Re: Enabling Transient Mark Mode by default, David De La Harpe Golden, 2008/02/20
- Re: Enabling Transient Mark Mode by default, martin rudalics, 2008/02/21
- scroll-restore.el, Richard Stallman, 2008/02/21
- Re: scroll-restore.el,
David De La Harpe Golden <=
- Re: scroll-restore.el, martin rudalics, 2008/02/22
- Re: scroll-restore.el, David De La Harpe Golden, 2008/02/22
- Re: scroll-restore.el, martin rudalics, 2008/02/22
- Re: scroll-restore.el, martin rudalics, 2008/02/22
- Re: Enabling Transient Mark Mode by default, Jason Earl, 2008/02/20
- Re: Enabling Transient Mark Mode by default, David Kastrup, 2008/02/20
- Re: Enabling Transient Mark Mode by default, Jason Earl, 2008/02/20
- Re: Enabling Transient Mark Mode by default, David Kastrup, 2008/02/21
- Re: Enabling Transient Mark Mode by default, Stefan Monnier, 2008/02/21
- Re: Enabling Transient Mark Mode by default, David Kastrup, 2008/02/21