# HG changeset patch # User Oleksandr Gavenko # Date 1268589791 -7200 # Node ID d426b23b3894b7bc8748fdb6c2c6b7ec4eb42375 # Parent 14b07ca8335af02af6d3238a36e5cefe80317389 When scroll-step is 1 and if first displayed line overlapped and you go up one line or fisrt non-displayed line at bottom overlapped and you go down one line moving cause displaing engine redisplay windows content and center point as done by 'C-l'. So take it greater. diff -r 14b07ca8335a -r d426b23b3894 .emacs-my --- a/.emacs-my Sun Mar 14 18:54:20 2010 +0200 +++ b/.emacs-my Sun Mar 14 20:03:11 2010 +0200 @@ -132,7 +132,10 @@ ;; scrolling. (setq-default - scroll-step 1 + ;; When scroll-step is 1 and if first displayed line overlapped and you go up one line or fisrt + ;; non-displayed line at bottom overlapped and you go down one line moving cause displaing engine + ;; redisplay windows content and center point as done by 'C-l'. So take it greater. + scroll-step 3 scroll-conservatively 100 scroll-preserve-screen-position t )