org-element: Interpret pseudo elements and objects
commitf1016634895b828d79f6ca09e4d9f75ad00261dd
authorNicolas Goaziou <n.goaziou@gmail.com>
Mon, 11 Nov 2013 12:16:43 +0000 (11 13:16 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Mon, 11 Nov 2013 12:16:43 +0000 (11 13:16 +0100)
tree9410a068d634730659da04a3e6cb362c450071ae
parente3033d35c9de5b336183bded43b7937983907e39
org-element: Interpret pseudo elements and objects

* lisp/org-element.el (org-element-interpret-data): Change signature.
  One can now define pseudo elements and objects types.
(org-element--interpret-data-1): New function.
* testing/lisp/test-org-element.el: Add tests.
* testing/lisp/test-ox.el: Update tests.

A pseudo element or object is a new element or object type that is
created and treated locally within an export back-end.  The back-end
provides a translator for it and it is ignored when interpreted back
into Org syntax.
lisp/org-element.el
testing/lisp/test-org-element.el
testing/lisp/test-ox.el