Context: I am using idle for taking python classes. Finish the class and run out usually in a hurry and forget to save the idle interaction window. Would like to save it so that I can mail it to the students.
In emacs I could set a hook to make arbitrary 'buffers' like the python-idle shell become 'saving-buffers' like typical file buffers. ie in emacs like most other editors, a modified file is ask-to-save The same can be setup for other (non-file) buffers like a python interaction shell Can I do the same for idle. [Note it would be great to have this feature in idle but I am only looking for a hand in where in the idle sources I an fudge a patch for my own use ] -- https://mail.python.org/mailman/listinfo/python-list