From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Re: BUG-Export level 1 subtree fails Date: Mon, 01 Nov 2010 15:19:24 -0400 Message-ID: <87mxpsq2bn.fsf@gollum.intra.norang.ca> References: <871v75opqw.fsf@gollum.intra.norang.ca> <87fwvlrier.fsf@gollum.intra.norang.ca> <87eib4n9qm.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=49885 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCzur-0001MR-7Q for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 15:19:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCzup-0002NM-6b for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 15:19:37 -0400 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:61895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCzup-0002M5-4i for emacs-orgmode@gnu.org; Mon, 01 Nov 2010 15:19:35 -0400 In-Reply-To: <87eib4n9qm.wl%dmaus@ictsoc.de> (David Maus's message of "Mon, 01 Nov 2010 20:07:29 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: David Maus Cc: emacs-orgmode@gnu.org David Maus writes: > At Sun, 31 Oct 2010 20:34:20 -0400, > Bernt Hansen wrote: >> >> Bernt Hansen writes: >> >> > Hi, >> > >> > Using the following commit >> > ed5665e (babel: Use `copy-sequence' instead of `copy-tree', 2010-10-31) >> > >> > if I mark a level 1 subtree with C-c @ and then try to export to HTML >> > with C-c C-e b I get the following stack dump: >> > >> > Exporting a level 2 subtree works. >> >> This seems to be related to my use of archive properties. > > Not exactly. If you export a subtree, Org uses the heading as the > exported document's title and marks the headline for removal by > the :org-license-to-kill text property. > > Now the error kicks in `org-export-remove-archived-trees' because at > this point the headline is already removed but the function is set to > 'headline, e.g. tries to export this headline. > > Not sure how to solve this problem. I believe Carsten has a fix for this: adede9f (Fix export bug of a region with an ARCHIVE property set, 2010-11-01) but I haven't verified it yet. Regards, Bernt