From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: #+include doesn't export anything? Date: Sun, 26 Jan 2014 17:52:58 +0100 Message-ID: <87r47uy9at.fsf@gmail.com> References: <87vbx6ya2h.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52746) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Sws-0005rs-QY for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 11:52:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7Swn-0007EY-Nz for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 11:52:42 -0500 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:37460) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Swn-0007ET-Gv for emacs-orgmode@gnu.org; Sun, 26 Jan 2014 11:52:37 -0500 Received: by mail-wg0-f52.google.com with SMTP id b13so4643405wgh.31 for ; Sun, 26 Jan 2014 08:52:36 -0800 (PST) In-Reply-To: (James Harkins's message of "Mon, 27 Jan 2014 00:49:32 +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: James Harkins Cc: orgmode James Harkins writes: > I suppose it's actually debatable. But, I would have assumed that the last > heading level in an included file would be "unwound" before including the > next file. That is: > > ~~ > #+include "something.org" > * Heading > #+include "something-else.org" > ~~ > > ... would denote everything in something-else.org by one level, while... > > ~~ > #+include "something.org" > > #+include "something-else.org" > ~~ > > ... would leave something-else.org's levels untouched, regardless of the > headline levels in something.org. > > Hm. It looks like my whole idea about structuring this project was badly > conceived from the beginning :( either that, or the include mechanism is > not thoroughly thought-through. See (info "(org) Include files"), in particular :minlevel keyword. Regards, -- Nicolas Goaziou