views:

174

answers:

1

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!

+2  A: 

Hi,

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!

danielpoe
Thank you thank you thank you! Much better... kind of hackish but works well. Previously I had checked out the scrolling page in the elisp documents and searched for use of the reposition, recenter by noweb-mode.el but this scroll-conservatively eluded me.
Stephen