added python compile command#806
Closed
cpaulik wants to merge 1 commit into
Closed
Conversation
- automatically changes compile command to ```python (buffer-file-name``` for python buffers - automatically starts comint mode in python mode to allow interaction with debugger
fded81b to
ef4d48a
Compare
Owner
|
Excellent ! 👍 I reworked it like this:
Commit: 3098a1a Thank you! |
Owner
|
oh you got the 400th PR congratulation ! :-) |
Contributor
Author
|
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 😄 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This makes using compile mode in python easier by doing the following:
python (buffer-file-namefor python buffers
with debugger
Fixes #805