andre-r / centered-cursor-mode.el

An emacs minor mode for smooth scrolling
GNU General Public License v2.0
60 stars 12 forks source link

Scrolls buffer at lines 22-23 then scrolls point #18

Open vcg3rd opened 3 years ago

vcg3rd commented 3 years ago

If I start at the top of a buffer (one frame, one window open) and C-n down, the point moves down until line 22. Then it scrolls the buffer up, and again, on line 23, it scrolls the buffer up, and then the next C-n begins moving the point down the screen again like normal.

In Messages I have this line: "ccm-map" doesn't start with package's prefix "centered-cursor".

It works in an html files, but not an org file, so I tried adding (add-hook 'org-mode-hook 'centered-cursor-mode) and then M-x eval-buffer and still fails in org files.