From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: orgstruct minor mode Date: Sat, 25 Jul 2009 16:52:08 -0700 Message-ID: <20524da70907251652u4504cad5l4ff12c1e201d9515@mail.gmail.com> References: <878wiiriuz.fsf@cuma.i-did-not-set--mail-host-address--so-tickle-me> <87zlaylr33.fsf@stats.ox.ac.uk> <20524da70907251651o7ace016do41fbbdb84486dbd3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MUr2G-0005HP-0p for emacs-orgmode@gnu.org; Sat, 25 Jul 2009 19:52:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MUr2A-0005FP-Bq for emacs-orgmode@gnu.org; Sat, 25 Jul 2009 19:52:15 -0400 Received: from [199.232.76.173] (port=40190 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MUr29-0005FG-Od for emacs-orgmode@gnu.org; Sat, 25 Jul 2009 19:52:09 -0400 Received: from mail-gx0-f219.google.com ([209.85.217.219]:36746) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MUr29-00072g-AR for emacs-orgmode@gnu.org; Sat, 25 Jul 2009 19:52:09 -0400 Received: by gxk19 with SMTP id 19so4531040gxk.18 for ; Sat, 25 Jul 2009 16:52:08 -0700 (PDT) In-Reply-To: <20524da70907251651o7ace016do41fbbdb84486dbd3@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: maurizio.vitale@polymath-solutions.com, emacs-orgmode@gnu.org I should point out that I am assuming that #2 supersedes previous solutions in which structure information is put in comments. On 2009-07-25, Samuel Wales wrote: > It might be nice to have these solutions in one place. > > I know of hideshow, hideshow-org, the email thread, > outline-minor-mode plus regexp fixes, orgstruct, orgstruct++, > orgtbl, and org-babel so far. > > I guess there are several categories. This is very rough. > > 1) code folding (e.g. hiding the contents of a defun) > 2) as much of org as possible without changing the > behavior of the mode itself too much. plain lists and > headlines can go inside comments or docstrings. > 3) literate programming. compile in two steps: > compile from org and compile to binary. > -- Myalgic encephalomyelitis makes you die decades early (Jason et al. 2006) and suffer severely. Conflicts of interest are destroying research. Silence = death. http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm