-
-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
REPL buffer scrolls uncontrollably #121
Comments
Can you share some gif recording of this or something? I'm having a hard time understanding what exactly is happening. |
Yep I will, you can try to open an |
I guess what puzzles me is what is this output that's triggering this. |
Looks like comint calculates the amount it scrools based on the characters returned in the response, but we hide the returned characters for our actions. So it scrolls but really should not. |
What should we do about this? defcustom? |
autogenerated with https://github.com/MalloZup/doghub: issue inactive since 450 days. Please update the issue or close it |
This is quite annoying in my opinion, every time the point is on a symbol (say
def
inlumo
) 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:
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?
The text was updated successfully, but these errors were encountered: