[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] nested org-headlines

From: Nicolas Goaziou
Subject: Re: [O] nested org-headlines
Date: Wed, 28 Nov 2012 14:19:51 +0100


Eric Abrahamsen <address@hidden> 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

    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.


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]