From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: nested org-headlines Date: Wed, 28 Nov 2012 14:19:51 +0100 Message-ID: <87r4nd985k.fsf@gmail.com> References: <878v9m2yb3.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdhcY-0002Lk-2Q for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 08:24:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdhcU-0007q8-25 for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 08:24:10 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:56479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdhcT-0007pw-Sc for emacs-orgmode@gnu.org; Wed, 28 Nov 2012 08:24:06 -0500 Received: by mail-we0-f169.google.com with SMTP id t49so4058896wey.0 for ; Wed, 28 Nov 2012 05:24:04 -0800 (PST) In-Reply-To: <878v9m2yb3.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Wed, 28 Nov 2012 11:36:48 +0800") 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: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hello, Eric Abrahamsen writes: > 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? It is a design decision. Note that "greater element" only means that the element can contain other elements (i.e. a paragraph.). Also, according to org-element.el comments: With the exception of `headline' and `item' types, greater elements cannot contain other greater elements of their own type. A drawer is a way to hide some contents (and optionally remove them from export) without adding any specific meaning to them. What would a drawer within another drawer mean: hide stuff even more? Also, adding recursive drawers has a cost (for parsing speed, with visibility cycling features...) with no real benefit, which explains why it wasn't implemented. Regards, -- Nicolas Goaziou