emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Peter Davis <pfd@pfdstudio.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Exporting a subtree
Date: Wed, 18 Nov 2015 16:30:29 -0600	[thread overview]
Message-ID: <CA+M2ft9GZPwQLwZK3a2LTz9NQLCNe1oLy4UpqJmDuhrYrGPsBQ@mail.gmail.com> (raw)
In-Reply-To: <6sw6c7wptfghsb.fsf@pfdstudio.com>

[-- Attachment #1: Type: text/plain, Size: 1560 bytes --]

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

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
>

[-- Attachment #2: 2015-11-18_162910.png --]
[-- Type: image/png, Size: 24578 bytes --]

  reply	other threads:[~2015-11-18 22:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-18 20:43 Exporting a subtree Peter Davis
2015-11-18 22:30 ` John Hendy [this message]
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=CA+M2ft9GZPwQLwZK3a2LTz9NQLCNe1oLy4UpqJmDuhrYrGPsBQ@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=pfd@pfdstudio.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).