help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: prevent scroll-lock-mode from scrolling?


From: Eli Zaretskii
Subject: Re: prevent scroll-lock-mode from scrolling?
Date: Fri, 17 Jun 2016 09:47:24 +0300

> From: lee <lee@yagibdah.de>
> Date: Fri, 17 Jun 2016 03:12:15 +0200
> 
> is there a way to prevent the point from moving up or down when
> scroll-lock-mode is enabled and the contents of the buffer have been
> scrolled so far as for the first or the last line to reach the top or
> the bottom of the frame, respectively?
> 
> It pretty much defeats the idea of this mode when the point moves
> nonetheless after scrolling for a bit, since I would use this mode to
> keep the point in its very place when scrolling.

AFAIU, that's exactly the point of this minor mode.  If you don't like
it, I suggest not to turn on the mode.

> Thinking of this, is there a kinda complementary mode, or an option, to
> scroll-lock-mode, which would move the point together with the contents
> of the buffer when I scroll?

That's what happens by default, so I don't think I understand what are
you looking for.  Perhaps consider telling more about the feature you
want to have.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]