In message <i9q2go$5...@reader1.panix.com>, kj <no.em...@please.post> wrote:
> What's wrong with it is that what python thinks is a "reasonable > state" is actually wrong in this case (it differs from the default > setting established by the Emacs shell). I personally wouldn’t try to run one program that wants to do its own interactive terminal control from within another such program; that’s just asking for trouble. I wrote an Emacs function called make-command-buffer (available as part of <http://github.com/ldo/emacs-prefs>) which feeds a selected part of the buffer’s contents to a predefined command (which can be an interpreter like python, bash, perl, bc or whatever you want), and inserts any returned output into the same buffer. That way you keep all the necessary editing and history management within Emacs. -- http://mail.python.org/mailman/listinfo/python-list