emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Exporting a subtree
Date: Wed, 18 Nov 2015 15:43:32 -0500	[thread overview]
Message-ID: <6sw6c7wptfghsb.fsf@pfdstudio.com> (raw)

John Hendy <jw.hendy@gmail.com> writes:

> On Wed, Nov 18, 2015 at 2:29 PM, Peter Davis <pfd@pfdstudio.com> 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.

+------------------------

Thanks,
-pd

             reply	other threads:[~2015-11-18 20:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 20:43 Peter Davis [this message]
2015-11-18 22:30 ` Exporting a subtree John Hendy
2015-11-19  1:20   ` Peter Davis
  -- strict thread matches above, loose matches on Subject: below --
2015-11-19 13:51 Peter Davis
2015-11-19 14:39 ` Nick Dokos
2015-11-19 13:32 Peter Davis
2015-11-19 13:55 ` Nick Dokos
2015-11-18 20:29 Peter Davis
2015-11-18 20:35 ` John Hendy
2015-11-18 20:51   ` Nick Dokos
2015-11-20 16:21 ` Brett Viren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6sw6c7wptfghsb.fsf@pfdstudio.com \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).