*** The new variable scroll-margin says how close point can come to the top or bottom of a window. It is a number of screen lines; if point comes within that many lines of the top or bottom of the window, Emacs recenters the window.