From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Thorsten Jolitz <tjolitz@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: missing element in org-element.el
Date: Fri, 19 Apr 2013 16:37:36 +0200 [thread overview]
Message-ID: <8761zipowf.fsf@gmail.com> (raw)
In-Reply-To: <87wqryd24s.fsf@gmail.com> (Thorsten Jolitz's message of "Fri, 19 Apr 2013 16:30:11 +0200")
Hello,
Thorsten Jolitz <tjolitz@gmail.com> 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
next prev parent reply other threads:[~2013-04-19 14:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-19 14:30 missing element in org-element.el Thorsten Jolitz
2013-04-19 14:37 ` Nicolas Goaziou [this message]
2013-04-19 15:35 ` Thorsten Jolitz
2013-04-19 16:31 ` Nicolas Goaziou
2013-04-19 16:41 ` Thorsten Jolitz
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=8761zipowf.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tjolitz@gmail.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).