On 3/19/2014 9:19 PM, Ilya Shlyakhter wrote:
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
Apologies, correct link is https://github.com/notestaff/outshine/blob/outshine-lang/outshine-lang.el