Path: utzoo!utgpu!watmath!clyde!mcdchg!chinet!att!osu-cis!tut.cis.ohio-state.edu!rutgers!apple!bionet!agate!pasteur!ames!oliveb!intelca!mipos3!nate From: nate@mipos2.intel.com (Nate Hess) Newsgroups: comp.emacs Subject: Re: Can scrolling be changed? Summary: Yes! Use 'C-h v' to find out how Message-ID: <3097@mipos3.intel.com> Date: 29 Oct 88 18:58:18 GMT References: <392@megatek.UUCP> Sender: news@mipos3.intel.com Reply-To: woodstock@sc.intel.com (Nate Hess) Organization: Intel Corporation, Santa Clara, CA Lines: 31 In-reply-to: hollen@spot.megatek.uucp (Dion Hollenbeck) 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. --woodstock -- "What I like is when you're looking and thinking and looking and thinking...and suddenly you wake up." - Hobbes woodstock@sc.intel.com ...!{decwrl|hplabs!oliveb|amd}!intelca!mipos3!nate