From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Bug in :minlevel for INCLUDE Date: Thu, 05 May 2011 19:03:28 -0400 Message-ID: <7063.1304636608@alphaville.dokosmarshall.org> References: <4DC32813.5090103@sift.info> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39795) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI7aN-0003Tn-RP for emacs-orgmode@gnu.org; Thu, 05 May 2011 19:03:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QI7aM-0007BI-TM for emacs-orgmode@gnu.org; Thu, 05 May 2011 19:03:55 -0400 Received: from vms173013pub.verizon.net ([206.46.173.13]:51386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QI7aM-0007BD-O3 for emacs-orgmode@gnu.org; Thu, 05 May 2011 19:03:54 -0400 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173013.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LKQ00E8IW1TE820@vms173013.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 05 May 2011 18:03:51 -0500 (CDT) In-reply-to: Message from Robert Goldman of "Thu, 05 May 2011 17:43:31 CDT." <4DC32813.5090103@sift.info> 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: rpgoldman@sift.info Cc: nicholas.dokos@hp.com, Org Mode Robert Goldman wrote: > AFAICT there is an off-by-one-error here. I.e., if I tell it that the > :minlevel is 2, then my included level one headers get level 3, and if I > tell it that the :minlevel is 1, then they get level 2. > I think that's the desired behavior. That allows text before the first headline in the included file (level 0) to properly take its place in the result tree. > So it seems like :minlevel is actually being interpreted as a level > *increment*, rather than a minimum... > I don't really understand your comment: level N in the included file becomes level :minlevel+N in the result (N = 0, 1, 2, ...). What were you expecting? Nick