Search code examples
emacsrsweaveauctexnoweb

emacs, auctex, noweb-mode - how to keep screen from recentering around point?


When in auctex and noweb-mode (using Sweave in emacs), I find it distracting when the screen recenters itself as I use next-line, previous-line, etc. (C-n, C-p, and mouse-1). Does anyone know how to turn it off? Thanks much!


Solution

  • got to customize-group: windows and read the documentation for scroll-step and scroll-conservatively. If you set scroll-conservatively to a big value you should get the behavior you want. I tried 10000. You can also have a look at Info (emacs) Scrolling.

    Hope this helps!