PythonNut / quark-emacs

:rocket: An incredible wonderland of code
MIT License
137 stars 6 forks source link

Keep context lines above/below cursor #114

Open PythonNut opened 6 years ago

PythonNut commented 6 years ago

I used to do this, but it was appalling. Perhaps a more performant solution exists now.

PythonNut commented 6 years ago

smooth-scrolling should be doing this?

PythonNut commented 6 years ago

Okay so hl-line-mode actually interferes with scroll-margin when positive. Namely, the behavior is that scrolling becomes choppy at the bottom of a file.

PythonNut commented 6 years ago

The solution may be to reimplement smooth-scrolling.