Skip to content

Let pytest compilation buffer respect compilation-window-height #83

@swinkels

Description

@swinkels

As the title says, when the pytest compilation buffer opens, it doesn't respect a compilation-window-height that is set. As the call to display-buffer that shows the pytest compilation buffer is "buried" in python-pytest--run-as-comint, it's also not easy to override/advice that behavior.

Related, when the pytest buffer is displayed for the first time, it's not yet a compilation buffer. Because of that, Emacs also doesn't respect any window placement rules that might have been setup for compilation buffers.

I have a proof-of-concept that addresses both issues (and which I'll add in a later comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions