Skip to content

REPL buffer scrolls uncontrollably #121

@arichiardi

Description

@arichiardi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions