[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Org mode and "shunt" exporters?
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Org mode and "shunt" exporters? |
Date: |
Fri, 13 Dec 2013 20:05:56 +0100 |
Hello,
Brett Viren <address@hidden> writes:
> However this method only works for a very simple org document. I'm
> successfully filtering out the :parent properties of (most of) the
> elements but as soon as my document produces a plain text element like:
>
> #("Text" 0 4 (:parent #1))
>
> then two problems occcur:
>
> First, I'm simply failing to see how to set this :parent property to nil
> like I do with the others.
Like any other construct, with `org-element-put-property'.
> (let* ((tree (org-element-parse-buffer 'object nil)))
> (org-element-map tree org-element-all-elements
You're only mapping over elements. You need to add
`org-element-all-objects' and `plain-text'.
Regards,
--
Nicolas Goaziou
Re: [O] Org mode and "shunt" exporters?, John Kitchin, 2013/12/06
- Re: [O] Org mode and "shunt" exporters?, Brett Viren, 2013/12/12
- Re: [O] Org mode and "shunt" exporters?, John Kitchin, 2013/12/12
- Re: [O] Org mode and "shunt" exporters?, Eric Schulte, 2013/12/12
- Re: [O] Org mode and "shunt" exporters?, Aaron Ecay, 2013/12/12
- Re: [O] Org mode and "shunt" exporters?, Matt Price, 2013/12/12
- Re: [O] Org mode and "shunt" exporters?, John Kitchin, 2013/12/12
- Re: [O] Org mode and "shunt" exporters?, Brett Viren, 2013/12/13