wbolster / emacs-python-pytest

run pytest inside emacs
BSD 3-Clause "New" or "Revised" License
147 stars 25 forks source link

Switch to `compilation-mode' after pytest process finishes #62

Closed juergenhoetzel closed 2 years ago

juergenhoetzel commented 2 years ago

This makes the standard `compilation-mode' commands and keybindings available.

Rebind "g" to `python-pytest-repeat'.

Closes #47.

juergenhoetzel commented 2 years ago

comint-mode is still required while pytest is running because the debugger --pdb might be invoked.

wbolster commented 2 years ago

oh this is a smart idea! 😍 it never occurred to me that a major mode change can be used for ‘running’ vs ‘finished’ states, with all benefits for error jumping etc

juergenhoetzel commented 2 years ago

thank you for your quick feedback. I amended the commit!

wbolster commented 2 years ago

🚢