all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: prevent scroll-lock-mode from scrolling?
Date: Fri, 17 Jun 2016 09:47:24 +0300	[thread overview]
Message-ID: <83eg7wcnwj.fsf@gnu.org> (raw)
In-Reply-To: <871t3waaa8.fsf@heimdali.yagibdah.de> (message from lee on Fri, 17 Jun 2016 03:12:15 +0200)

> 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.



  parent reply	other threads:[~2016-06-17  6:47 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-17  1:12 prevent scroll-lock-mode from scrolling? lee
2016-06-17  1:25 ` Emanuel Berg
2016-06-17  4:14   ` Stefan Monnier
2016-06-17  6:00     ` Emanuel Berg
2016-06-17 22:40       ` Stefan Monnier
2016-06-18  1:19         ` what to require (was: Re: prevent scroll-lock-mode from scrolling?) Emanuel Berg
2016-06-17 22:47   ` prevent scroll-lock-mode from scrolling? lee
2016-06-17  6:47 ` Eli Zaretskii [this message]
2016-06-17 23:10   ` lee
2016-06-18  8:38     ` Eli Zaretskii
2016-06-19 23:54       ` lee
2016-06-20  8:33         ` tomas
2016-06-20 14:32           ` lee
2016-06-20 10:05         ` Dmitry Alexandrov
2016-06-20 15:24           ` lee
2016-06-20 16:12             ` Dmitry Alexandrov
2016-06-20 19:50               ` lee
2016-06-20 14:34         ` Eli Zaretskii
2016-06-20 21:21           ` lee

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=83eg7wcnwj.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.