Skip to content
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

Dismissable, read-only results #45

Open
omgitsaheadcrab opened this issue Feb 23, 2021 · 1 comment
Open

Dismissable, read-only results #45

omgitsaheadcrab opened this issue Feb 23, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@omgitsaheadcrab
Copy link

Currently the results buffer is derived from comint-mode to facilitate using the debugger. This makes the buffer less user friendly in normal use.

In the current workflow running a test opens a new editable results window, which (for me at least) is out of focus. To close it I need to switch focus C-x o and then hide that window C-x 0.

An improved situation would be if the results window took focus, much like a compilation buffer and was read-only (special-mode maybe?). This could then easily be dismissed by pressing q.

To make this work the buffer would have to toggle read-only states when writing test results and disable it when a debugger is in-use.

@wbolster wbolster added the enhancement New feature or request label Feb 23, 2021
@wbolster
Copy link
Owner

i don't think there's an (easy) way to distinguish between non-interactive use and interactive use (e.g. debugger breakpoint).

re the window behaviour: i think display-buffer-alist may help here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants