scroll-step arvoksi halutun rivimäärän,
esim. yksi.
Jos siis haluat vaikkapa pysyväksi sellaisen asetuksen, että
"vierittää" tekstiä vain yhden rivin kerrallaan,
kirjoita
.emacs-tiedostoon
rivi(setq scroll-step 1)
Ongelmaksi tällöin jää, että ylipitkät rivit tiedostossa voivat sotkea: siirrytäänkin useampia rivejä. Emacsin infossa sanotaan:
Scrolling happens automatically if point has moved out of the visible portion of the text when it is time to display. Usually the scrolling is done so as to put point vertically centered within the window. However, if the variable `scroll-step' has a nonzero value, an attempt is made to scroll the buffer by that many lines; if that is enough to bring point back into visibility, that is what is done.