I'm new to Emacs and trying to learn it using the built-in manuals (tutorial, manual and lisp intro).
(setq scroll-step 1) to avoid jumps in the normal mode, yet when viewing info - the scroll is still jumpy.
How do I fix that?
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
The O.P. has indicated in a comment underneath the question that he/she has tried (and likes) the recommended setting (also set forth in a comment) of
(setq scroll-conservatively 101); and, that the O.P. prefers that the setting be global (as opposed to just buffer-local for a particular major-mode). Many examples scattered over the internet use a value in excess of 101 for this particular variable, probably because the users were unaware that anything greater than 100 has the same effect. The
*Help* buffer for
M-x describe-variable aka
C-h v contains the following language:
scroll-conservatively is a variable defined in ‘C source code’. Its value is 0 You can customize this variable. Probably introduced at or before Emacs version 20.1. Documentation: Scroll up to this many lines, to bring point back on screen. If point moves off-screen, redisplay will scroll by up to ‘scroll-conservatively’ lines in order to bring point just barely onto the screen again. If that cannot be done, then redisplay recenters point as usual. If the value is greater than 100, redisplay will never recenter point, but will always scroll just enough text to bring point into view, even if you move far away. A value of zero means always recenter point if it moves off screen.