This is quite annoying in my opinion, every time the point is on a symbol (say def in lumo) that does not have arglists and then one that has arglists, you see the REPL buffer scrolling up or down.
I dug into it and it seems that this var in comint sets comint-postoutput-scroll-to-bottom which is responsible for the scrolling.
I could not find a way to customize the behavior, except from removing it from the var completely with:
(seq-filter (lambda (sym) (not (eq 'comint-postoutput-scroll-to-bottom sym))) comint-output-filter-functions)
I know it is extreme but I would like to set this as default. An alternative would be to pass in a custom lambda in comint-output-filter-functions that checks what is the REPL return and decides whether to scroll or not - it seems quite some work for no gain.
Thoughts?
This is quite annoying in my opinion, every time the point is on a symbol (say
definlumo) that does not have arglists and then one that has arglists, you see the REPL buffer scrolling up or down.I dug into it and it seems that this var in comint sets
comint-postoutput-scroll-to-bottomwhich is responsible for the scrolling.I could not find a way to customize the behavior, except from removing it from the var completely with:
I know it is extreme but I would like to set this as default. An alternative would be to pass in a custom lambda in
comint-output-filter-functionsthat checks what is the REPL return and decides whether to scroll or not - it seems quite some work for no gain.Thoughts?