From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: nested org-headlines Date: Wed, 28 Nov 2012 11:36:48 +0800 Message-ID: <878v9m2yb3.fsf@ericabrahamsen.net> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55407) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdYOR-0007vJ-V7 for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 22:33:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdYOQ-0001Ib-W1 for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 22:32:59 -0500 Received: from plane.gmane.org ([80.91.229.3]:55405) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdYOQ-0001IU-PI for emacs-orgmode@gnu.org; Tue, 27 Nov 2012 22:32:58 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TdYOZ-00052h-60 for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 04:33:07 +0100 Received: from 114.250.110.27 ([114.250.110.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Nov 2012 04:33:07 +0100 Received: from eric by 114.250.110.27 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Nov 2012 04:33:07 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 42 147 writes: > (1) is possible, but not (2) and (3), (3) being what I want (though > (2) > would be nice). I was going to say you could use drawers instead of inline tasks (see section 2.8 of the manual), but they don't nest properly: if you put one inside the other and fold the outer one, it only folds to the next :END:. So if you've got this: #+DRAWERS: SOMEDRAWER ANOTHER * Header :SOMEDRAWER: Some stuff. :ANOTHER: More stuff here. :END: Some more stuff. :END: TAB on the top drawername gives you this: :SOMEDRAWER:... Some more stuff. :END: Rather than this: :SOMEDRAWER:... :END: Regular org uses `org-flag-drawer' for this, which just searches for the next :END: string. I thought org elements might handle it differently, but `org-element-drawer-parser' just does the same thing: searches for the next :END: string. If drawers are "greater elements" in org elements, perhaps they ought to be able to contain other drawers? Or is non-nesting drawers a design decision? E