emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Exporting a subtree
@ 2015-11-18 20:29 Peter Davis
  2015-11-18 20:35 ` John Hendy
  2015-11-20 16:21 ` Brett Viren
  0 siblings, 2 replies; 11+ messages in thread
From: Peter Davis @ 2015-11-18 20:29 UTC (permalink / raw)
  To: emacs-orgmode


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?

Thank you!

-pd

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Exporting a subtree
@ 2015-11-18 20:43 Peter Davis
  2015-11-18 22:30 ` John Hendy
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Davis @ 2015-11-18 20:43 UTC (permalink / raw)
  To: John Hendy; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Exporting a subtree
@ 2015-11-19 13:32 Peter Davis
  2015-11-19 13:55 ` Nick Dokos
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Davis @ 2015-11-19 13:32 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> 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?
>
> You should also provide a backtrace (with uncompiled code) if possible.
> See
>
>  (info "(org) Feedback")
>
> and, in particular, the subsection "How to create a useful backtrace".

Thanks for the tips. I was hoping this would be simple to answer. I don't really have hours of time to keep stopping and re-starting
emacs with uncompiled org-mode files, with minimal startup, etc. If I get a chance, I'll post the details. Meanwhile, I'll live
without this feature.

Thank you!

-pd

^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Exporting a subtree
@ 2015-11-19 13:51 Peter Davis
  2015-11-19 14:39 ` Nick Dokos
  0 siblings, 1 reply; 11+ messages in thread
From: Peter Davis @ 2015-11-19 13:51 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Nick Dokos <ndokos@gmail.com> writes:

> 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?
>>
>
> You should also provide a backtrace (with uncompiled code) if possible.
> See
>
>  (info "(org) Feedback")
>
> and, in particular, the subsection "How to create a useful backtrace".

Thanks very much, John and Nick. I didn't realize it was so easy to reload with uncompiled lisp. I tried this, but the export worked
with the uncompiled code! No error, so no debug backtrace.

Thanks,
-pd

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-11-20 16:50 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-18 20:29 Exporting a subtree Peter Davis
2015-11-18 20:35 ` John Hendy
2015-11-18 20:51   ` Nick Dokos
2015-11-20 16:21 ` Brett Viren
  -- strict thread matches above, loose matches on Subject: below --
2015-11-18 20:43 Peter Davis
2015-11-18 22:30 ` John Hendy
2015-11-19  1:20   ` Peter Davis
2015-11-19 13:32 Peter Davis
2015-11-19 13:55 ` Nick Dokos
2015-11-19 13:51 Peter Davis
2015-11-19 14:39 ` Nick Dokos

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).