.emacs-my
changeset 334 d426b23b3894
parent 333 14b07ca8335a
child 335 748c6e05fe87
equal deleted inserted replaced
333:14b07ca8335a 334:d426b23b3894
   130 
   130 
   131 ;; ----------------------------------------------------------------------
   131 ;; ----------------------------------------------------------------------
   132 ;; scrolling.
   132 ;; scrolling.
   133 
   133 
   134 (setq-default
   134 (setq-default
   135  scroll-step 1
   135  ;; When scroll-step is 1 and if first displayed line overlapped and you go up one line or fisrt
       
   136  ;; non-displayed line at bottom overlapped and you go down one line moving cause displaing engine
       
   137  ;; redisplay windows content and center point as done by 'C-l'. So take it greater.
       
   138  scroll-step 3
   136  scroll-conservatively 100
   139  scroll-conservatively 100
   137  scroll-preserve-screen-position t
   140  scroll-preserve-screen-position t
   138  )
   141  )
   139 
   142 
   140 ;; Set margin only for desired modes! Do not frustrate calendar any more.
   143 ;; Set margin only for desired modes! Do not frustrate calendar any more.