From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Exporting a subtree Date: Wed, 18 Nov 2015 20:20:33 -0500 Message-ID: <1447896033.2833795.443857521.11B0CE12@webmail.messagingengine.com> References: <6sw6c7wptfghsb.fsf@pfdstudio.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59355) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzDtu-0007Vs-44 for emacs-orgmode@gnu.org; Wed, 18 Nov 2015 20:20:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzDtr-0004mW-0n for emacs-orgmode@gnu.org; Wed, 18 Nov 2015 20:20:38 -0500 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:39787) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzDtq-0004mQ-PM for emacs-orgmode@gnu.org; Wed, 18 Nov 2015 20:20:34 -0500 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 195CB20810 for ; Wed, 18 Nov 2015 20:20:34 -0500 (EST) In-Reply-To: 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: John Hendy Cc: emacs-orgmode On Wed, Nov 18, 2015, at 05:30 PM, John Hendy wrote: > On Wed, Nov 18, 2015 at 2:43 PM, Peter Davis wrote: > > John Hendy writes: > > > >> On Wed, Nov 18, 2015 at 2:29 PM, Peter Davis wrote: > >>> > >>> For the first time, I'm trying to export just a single subtree of my overall document, by typing > >>> > >>> C-c C-e C-s H O > >>> > >>> However, I get this error: > >>> > >>> apply: Wrong type argument: listp, #("Details, November 2015" 0 22 (:parent (#0))) > >>> > >>> The portion in quotes is the overall title of my document. > >>> > >>> Should this work? Is there something I need to do differently? > >> > >> Would you kindly provide a minimal working example? Perhaps create a > >> dummy tree and indicate an analogous subtree export target so that the > >> list can try to reproduce. Perhaps someone will catch from the error > >> what the problem is, but having something to try is extremely helpful. > >> Since my subtree export works, I'm at a loss for how to diagnose why > >> yours doesn't. > > > > > > Thanks, John. I think the problem lies with the #+title: option. If it's present, as in the short example below, then I get the > > error. If not, it seems to work ok. > > > > +------------test.org------ > > #+title: Here's a document title > > > > * NOTE h1 > > > > * TODO h1 also > > > > ** NOTE h2 > > > > * Another subtree > > > > Here's some stuff I want to export to HTML. > > > > +------------------------ > > > > Is the attached what you'd expect? It works for me, and no issues with > the title (which I don't think will apply since you're just exporting > the subtree, but could be wrong). > > > John > > > Thanks, > > -pd > > > Email had 1 attachment: > + 2015-11-18_162910.png > 33k (image/png) That looks right, but, as I said, it doesn't work for me if the #+title: option is included. Thanks, -- Peter Davis www.techcurmudgeon.com www.timebums.com