Fork me on GitHub
#emacs
<
2017-08-15
>
hlolli11:08:00

how do you make emacs start scrolling earlier than when the cursor is jumping from the upmost or lowest position of the window?

hlolli11:08:30

I used to have better scrolling config, but I was refactoring my config and must have deleted that.

chrisjd11:08:09

@hlolli On your question yesterday (sorry, I was walking around town when I saw it!): brew does indeed appear to recognise the --with-modules option for brew reinstall emacs. 🙂

hlolli12:08:30

ok thanks a bunch for checking that out. I guess this option would have to be done in the brew package manager itself, or I just wait until Emacs includes this option by default in future versions.

dpsutton12:08:50

@hlolli i think you want (setq scroll-margin 6)

hlolli12:08:04

ahhh, @dpsutton smooth, thanks

escherize16:08:33

Oh that's a good one, @dpsutton.

dpsutton16:08:04

if there are any vimmers in here its equivalent to scroll-off. I can't stand a curson at the extreme of the buffer

escherize16:08:23

I thought it was going to be like (setq recenter-positions '(middle 0.05 0.93)) but instead it's for moving the cursor up one at a time ( right? )