From: Ilya Shlyakhter <ilya_shl@alum.mit.edu>
To: emacs-orgmode@gnu.org
Subject: Re: OrgStruct for Python source code
Date: Wed, 19 Mar 2014 21:19:41 -0400 [thread overview]
Message-ID: <532A422D.7010100@alum.mit.edu> (raw)
In-Reply-To: <2014-03-19T20-39-18@devnull.Karl-Voit.at>
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
next prev parent reply other threads:[~2014-03-20 1:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-19 16:54 OrgStruct for Python source code Karl Voit
2014-03-19 17:03 ` Bastien
2014-03-19 19:39 ` Karl Voit
2014-03-20 1:19 ` Ilya Shlyakhter [this message]
2014-03-20 1:30 ` Ilya Shlyakhter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=532A422D.7010100@alum.mit.edu \
--to=ilya_shl@alum.mit.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.