emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Alekseyev <dnquark@gmail.com>
To: Giovanni Giorgi <jj@gioorgi.com>, Emacs orgmode <emacs-orgmode@gnu.org>
Subject: Re: Minor org mode for achieve code folding effects
Date: Wed, 11 Jan 2012 20:12:12 -0600	[thread overview]
Message-ID: <CADzxs1nREpKsWXS4wNNharhRUhMMJwv_cFEMHw7Fpng0K25qQQ@mail.gmail.com> (raw)
In-Reply-To: <877h0ycmov.fsf@ucl.ac.uk>

> For instance, when I was doing a lot of Java programming, I used
> hideshow.el all the time to hide block and function bodies.  Works very
> well (although the default key bindings are annoying to me).  Have a
> look!  It's a standard package in emacs, at least in Emacs 24 but much
> earlier than that I believe.
>
> There's a small add-on called hideshow-org.el which may be useful as
> well:

Having read the OP, I'll second Eric's vote for hideshow-org.  It's a
better solution for folding functions.  However, the combination of
org/outline-minor-mode/Tassilo's code works well for splitting a file
into foldable sections.  Incidentally, you can use both of these
methods at the same time; they don't conflict too much.

--l

  reply	other threads:[~2012-01-12  2:12 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-09 15:14 Minor org mode for achieve code folding effects Giovanni Giorgi
2012-01-09 15:23 ` Carsten Dominik
2012-01-10 21:08 ` Eric S Fraga
2012-01-10 22:47   ` Leo Alekseyev
2012-01-11 14:56 ` Eric S Fraga
2012-01-12  2:12   ` Leo Alekseyev [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-01-11  0:34 David Rogoff
2012-01-11  1:21 ` David Rogoff
2012-01-11  6:23   ` Leo Alekseyev
2012-01-11  7:43     ` Tassilo Horn
2012-01-12 22:58 ` David Rogoff
2012-01-16 18:19   ` David Rogoff

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADzxs1nREpKsWXS4wNNharhRUhMMJwv_cFEMHw7Fpng0K25qQQ@mail.gmail.com \
    --to=dnquark@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jj@gioorgi.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).