Path: utzoo!utgpu!water!watmath!clyde!bellcore!rutgers!mailrus!tut.cis.ohio-state.edu!husc6!bu-cs!bucsb!bug From: bug@bucsb.UUCP (Z^) Newsgroups: comp.emacs Subject: Re: Can scrolling be changed? Message-ID: <2120@bucsb.UUCP> Date: 30 Oct 88 23:41:00 GMT References: <392@megatek.UUCP> <3097@mipos3.intel.com> Reply-To: bug@bucsb.bu.edu (Jay Wasserman) Followup-To: comp.emacs Organization: Boston Univ Comp. Sci. Lines: 41 In article <3097@mipos3.intel.com> woodstock@sc.intel.com (Nate Hess) writes: >In article <392@megatek.UUCP>, hollen@spot (Dion Hollenbeck) writes: >>Can the method of scrolling be changed in GNU-emacs? It currently >>repaints the entire screen and moves the cursor to the center >>when scrolling up or down is needed. Can it be made to scroll >>one line at a time up or down like a regular terminal? > >In GNU Emacs, there is usually a variable that controls behavior such as >this. What I did to discover the variable name was >'C-h v scroll TAB', which completed to 'scroll-step'. Upon pressing >RET, I was given a help buffer containing: > >scroll-step's value is 0 > >Documentation: >*The number of lines to try scrolling a window by when point moves out. >If that fails to bring point back on screen, point is centered instead. >If this is zero, point is always centered after it moves off screen. > > >So, just do a > >(setq scroll-step 1) > >to get what you want. > i tried this and it works when scrolling with arrows keys very badly... if i scroll to fast it reverts back to the centering method.... so my question is ..can this be fixed so no matter how fast i scroll with the arrow keys it will only go one line at a time? -Jay- -- -Jay- ************************************************************************** Remember- to err is human...... to moo is bovine. **************************************************************************