[issue29339] Interactive: Move to same indentation level as previous line

2017-02-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Any autoindetation breaks pasting from the clipboard since there is no way to distinguish characters entered from the keyboard from characters pasted from the clipboard. In IDLE or other visual shell we can add a special menu entry and hotkeys for pasting fr

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread Emily Morehouse
Changes by Emily Morehouse : -- nosy: +emilyemorehouse ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread 12345 67890
12345 67890 added the comment: In addition, windows allows direct console control via the win32 API and the code for that isn't too lengthy. -- ___ Python tracker ___ __

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread 12345 67890
12345 67890 added the comment: It probably won't be trivial, but it definitely is possible. Suplemon has the exact functionality needed and it's only dependency is CPython. The only question is: how much code is this going to add? [1]: https://github.com/richrd/suplemon -- __

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: The point I was trying to get at above is that simply printing a prompt and making the use enter the entire line should work on every console, while anything fancier may not be so reliable. Thinking more, I realize that my patch outline is incomplete. After '

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: Thanks for the standard explanation, Brett. I was just following the devguide too strictly and assumed python-ideas is the first place one should go :-). As for the idea, it seems others wish/wished it too (first paragraph: https://docs.python.org/3/tu

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Adding at least 'dumb indentation' (repeat last indent) to the REPL would make it at least a bit more usable. (This still would not be a good as an IDE, like IDLE, that does smarter indentation, such as adding an additional indent after a compound statement h

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread Brett Cannon
Brett Cannon added the comment: No, I don't think you were rude, 12345 67890. I was just giving the standard explanation as some people are not pleasant and you never know who might read this issue later and benefit from the reminder. -- ___ Python

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread 12345 67890
12345 67890 added the comment: I hope I haven't been rude; the idea here was to see what the feeling of the core developers was about this idea. As for the patch, that will probably come after the Python workflow has been fixed because doing it then will save everyone time and as I have said,

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread Brett Cannon
Brett Cannon added the comment: Posting an idea directly to the issue tracker is fine as long as it's done in a reasonable fashion (i.e. not rudely). As for the specific idea, I assume this is for the REPL as used in a shell and not in IDLE. If you want to propose a patch that can work cross-p

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread 12345 67890
12345 67890 added the comment: I did not mark this as a bug. I marked it as an "enhancement" and I said that the priority was low. "I'm not exactly sure what you mean" In an IDE when developing in python, each time you press enter, the cursor is set to the same indentation level as the previo

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-23 Thread Jim Fasarakis-Hilliard
Jim Fasarakis-Hilliard added the comment: I'm not exactly sure what you mean but, since this isn't a bug per se and is more of a subjective opinion on how the REPL should handle the indentation level, you should probably ask *first* on python-ideas to get input from other members. (See https:/

[issue29339] Interactive: Move to same indentation level as previous line

2017-01-21 Thread 12345 67890
New submission from 12345 67890: Not sure if anyone has ever thought about this, but it would be nice if the interactive interpreter set the same indentation level as the previous line. Of course this isn't urgent, but what do others think? -- messages: 285970 nosy: 12345 67890 priorit