Open DivineDominion opened 3 years ago
An important reason for the mode is to have more context around the cursor. Therefore it's only right to not center at the end of the file, just like it is on the beginning of the file. I would like to find a more performant solution to this feature before releasing instead of just leaving it out. I think most of the users using this.
I had some problems with calculating the right values (see e.g. https://stackoverflow.com/questions/23923371/emacs-calculating-new-window-start-end-without-redisplay/24216247#24216247).
Then I'd like to have more compatibility with other packages and functions. The last thing I was tinkering with was the scroll bar. Clicking and dragging behaviour is wrong. But that was some months ago. Not so much time for emacs nowadays.
A better description page in github would also be nice. Perhaps with a demo gif.
Oh, I totally forgot that scroll bars exist in Emacs -- yikes, that sounds a bit hairy. Thanks for the clarification!
I lived with CCM's default for ages and always wanted to eventually look into that weird bug where typing at the end of the document would put the cursor at the bottom of the screen, and when I move up 1 line to edit a typo it'd recenter again, and all this back and forth was rather annoying while actually writing a text where point is naturally at EOF.
Today I find out this can be disabled with a variable. And the new, faster dev branch doesn't even ship with that feautre.
To me, and I may be super biased because I suffered from the annoying ups and down for so long :), not having this functionality at all sounds like a really good idea. I wouldn't know why anyone wants centered cursor at all but not at the EOF.
So I'd like to suggest to whip up a version 2 release for the public. If you need any help @andre-r, what would you like to finish before merging dev into master?