On 3/19/2014 3:39 PM, Karl Voit wrote:
I am evaluating methods to fold Python source code.simply turn on orgstruct-mode in a python buffer and try M-x org-cycle RET on a def: it will fold it.
Another option is to use Thorsten Jolitz's excellent outshine mode ( http://orgmode.org/worg/org-tutorials/org-outside-org.html ). I've written a small extension that allows it to fold language elements: http://www.broadinstitute.org/~ilya/outshine-python.el