This makes using compile mode in python easier by doing the following:
added python compile command
- automatically changes compile command to
for python buffers
- automatically starts comint mode in python mode to allow interaction
Excellent ! 👍
I reworked it like this:
Cherry-picked in develop, you can safely delete your branch.
oh you got the 400th PR congratulation ! :-)
Thanks for making functions out of it, way cleaner.
I tested it and found a problem when the compile-command is already set to e..g a first python file and you want to execute a second python file. I also moved point to the end of Buffer if we are switching to the comint buffer, so we can directly interact with the debugger. see PR #824
Yay 400th 😄