[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] missing element in org-element.el
From: |
Nicolas Goaziou |
Subject: |
Re: [O] missing element in org-element.el |
Date: |
Fri, 19 Apr 2013 16:37:36 +0200 |
Hello,
Thorsten Jolitz <address@hidden> writes:
> comparing this
>
> ,----------------------------------------------------------------------------
> | (defconst org-element-all-elements
> | '(babel-call center-block clock comment comment-block diary-sexp drawer
> | dynamic-block example-block export-block fixed-width
> | footnote-definition headline horizontal-rule inlinetask item
> | keyword latex-environment node-property paragraph plain-list
> | planning property-drawer quote-block quote-section section
> | special-block src-block table table-row verse-block)
> | "Complete list of element types.")
> `----------------------------------------------------------------------------
>
>
> to this
>
> ,------------------------------------------------------------------
> | (defconst org-element-secondary-value-alist
> | '((headline . :title)
> | (inlinetask . :title)
> | (item . :tag)
> | (footnote-reference . :inline-definition))
> | "Alist between element types and location of secondary value.")
> `------------------------------------------------------------------
>
> reveals that 'footnote-reference' is missing in the first list.
A `footnote-reference' is an object type (see
`org-element-all-objects'), not an element: as such it doesn't belong to
`org-element-all-elements'.
`org-element-secondary-value-alist' is a list of elements and objects
containing a secondary string.
Regards,
--
Nicolas Goaziou