* 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:29 Peter Davis
@ 2015-11-18 20:35 ` John Hendy
2015-11-18 20:51 ` Nick Dokos
2015-11-20 16:21 ` Brett Viren
1 sibling, 1 reply; 11+ messages in thread
From: John Hendy @ 2015-11-18 20:35 UTC (permalink / raw)
To: Peter Davis; +Cc: emacs-orgmode
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.
Even better would be a minimal configuration file that also replicates
your issue. In this way, users can replicate your exact setup with:
- emacs -Q
- M-x load-file RET ~/path/to/your/provided/min-config
- navigate to subtree you've indicated
- C-c C-e C-s H O
Make sense? This should be standard for any error you encounter sent
to the list, as a lot of these are likely going to come down to a
nuance in your actual file, your emacs config, or possible an actual
bug (in which case M-x org-version is also very helpful).
Thanks,
John
>
> 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-18 20:35 ` John Hendy
@ 2015-11-18 20:51 ` Nick Dokos
0 siblings, 0 replies; 11+ messages in thread
From: Nick Dokos @ 2015-11-18 20:51 UTC (permalink / raw)
To: 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.
>
> Even better would be a minimal configuration file that also replicates
> your issue. In this way, users can replicate your exact setup with:
>
> - emacs -Q
> - M-x load-file RET ~/path/to/your/provided/min-config
> - navigate to subtree you've indicated
> - C-c C-e C-s H O
>
> Make sense? This should be standard for any error you encounter sent
> to the list, as a lot of these are likely going to come down to a
> nuance in your actual file, your emacs config, or possible an actual
> bug (in which case M-x org-version is also very helpful).
>
>
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".
^ 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
2015-11-19 1:20 ` Peter Davis
0 siblings, 1 reply; 11+ messages in thread
From: John Hendy @ 2015-11-18 22:30 UTC (permalink / raw)
To: Peter Davis; +Cc: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Exporting a subtree
2015-11-18 22:30 ` John Hendy
@ 2015-11-19 1:20 ` Peter Davis
0 siblings, 0 replies; 11+ messages in thread
From: Peter Davis @ 2015-11-19 1:20 UTC (permalink / raw)
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 <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
> >
> 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
^ 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
* Re: Exporting a subtree
2015-11-19 13:32 Peter Davis
@ 2015-11-19 13:55 ` Nick Dokos
0 siblings, 0 replies; 11+ messages in thread
From: Nick Dokos @ 2015-11-19 13:55 UTC (permalink / raw)
To: emacs-orgmode
Peter Davis <pfd@pfdstudio.com> writes:
> 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.
>
I understand the sentiment, but you will find out eventuallly that it
takes only a few minutes to do all that: the descriptions seem to make
it long and difficult but once you get down to brass tacks, it turns out
to be pretty simple ("it is easier done than said"). In particular, you
don't need to stop/start your current emacs: you can start a new one as
John described specially for this problem, do what you need to do to
reproduce the problem and kill it afterwards. It does take a little time
to come up with a minimal init file that sets up things, but there have
been examples posted on the list that you can adapt to your situation -
once you have one, just keep it around and modify it slightly for each
new situation.
In any case, the trouble here is that it does not seem to be
reproducible: at first sight at least, it seems to be related to your
particular setup, so nobody else can debug it.
And one more thing, now that I remember it: always provide versions
of your OS, emacs and org-mode. It is possible that the particular
version you are using exhibits the problem but earlier or later ones
don't. Of cource, if you update regularly, that is less of a concern,
but if you provide the version, then other people can try it with
that particular version (thanks to git, it's easy).
--
Nick
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Exporting a subtree
2015-11-19 13:51 Exporting a subtree Peter Davis
@ 2015-11-19 14:39 ` Nick Dokos
0 siblings, 0 replies; 11+ messages in thread
From: Nick Dokos @ 2015-11-19 14:39 UTC (permalink / raw)
To: emacs-orgmode
Peter Davis <pfd@pfdstudio.com> writes:
> 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.
>
Oh, lovely! Everybody loves heisenbugs...
You might try just recompiling your org mode then and see if it goes
away.
--
Nick
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Exporting a subtree
2015-11-18 20:29 Peter Davis
2015-11-18 20:35 ` John Hendy
@ 2015-11-20 16:21 ` Brett Viren
1 sibling, 0 replies; 11+ messages in thread
From: Brett Viren @ 2015-11-20 16:21 UTC (permalink / raw)
To: Peter Davis; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
Peter Davis <pfd@pfdstudio.com> writes:
> 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)))
FWIW, I had this problem on my home machine about a week ago or so. I
messed around with different versions of org and org-plus-contrib
installed from package-list-packages and eventually got it to go away.
Sorry I don't recall the specifics. But I just wanted to say it's not
just you.
Right now, on my work system your test succeeds:
Org-mode version 8.2.10 (8.2.10-41-g42228a-elpa @ /home/bviren/.emacs.d/elpa/org-20150622/)
-Brett.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 800 bytes --]
^ 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-19 13:51 Exporting a subtree Peter Davis
2015-11-19 14:39 ` Nick Dokos
-- strict thread matches above, loose matches on Subject: below --
2015-11-19 13:32 Peter Davis
2015-11-19 13:55 ` Nick Dokos
2015-11-18 20:43 Peter Davis
2015-11-18 22:30 ` John Hendy
2015-11-19 1:20 ` Peter Davis
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
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).