org-mode/testing/lisp
Nicolas Goaziou ca6ecf9e49 org-element: Remove :inline-definition from inline footnotes
* lisp/org-element.el (org-element-recursive-objects): Add
  `footnote-reference'.
(org-element-secondary-value-alist): Remove reference to
`footnote-reference'.
(org-element-footnote-reference-parser): Definition for inline
references is stored as the contents of the reference, not in
a secondary string.
(org-element-footnote-reference-interpreter): Apply changes from
parser.

* lisp/ox.el (org-export-get-footnote-definition,
  org-export-get-environment): Apply changes from parser.

* testing/lisp/test-org-element.el (test-org-element/footnote-reference-parser):
  Update test.
(test-org-element/context): Add test.

Storing definition in a secondary string was a poor design choice as
there is no "primary" string anyway.  This also prevents
`org-element-context' from finding objects within the inline
definition.
2014-07-06 11:24:12 +02:00
..
test-ob-awk.el awk code blocks handle tabular input 2014-06-07 11:16:55 -04:00
test-ob-C.el Babel C, C++, D support for non-homogeneous input tables 2014-06-08 19:20:16 -04:00
test-ob-emacs-lisp.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-exp.el ob-ref: Properly resolve references in ":post" arguments 2014-03-19 21:34:56 +01:00
test-ob-fortran.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-header-arg-defaults.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-lilypond.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-lob.el ob-ref: Properly resolve references in ":post" arguments 2014-03-19 21:34:56 +01:00
test-ob-maxima.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-octave.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-perl.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-python.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-R.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-ruby.el ob-ruby.el: fix result of :results output :session combination. 2013-10-21 13:09:28 -06:00
test-ob-shell.el ob-shell.el: export vars as arrays for 'sh' code blocks 2014-04-14 21:24:00 -06:00
test-ob-table.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-tangle.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob.el ob-core.el: allow the auto-generation of output file names for src blocks. 2014-05-11 16:33:22 -04:00
test-org-clock.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-org-element.el org-element: Remove :inline-definition from inline footnotes 2014-07-06 11:24:12 +02:00
test-org-footnote.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-org-list.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-org-macro.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-org-src.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-org-table.el Add ERT with org-lookup-all for GROUP BY and ranking 2014-02-22 21:18:28 +01:00
test-org.el Fix `org-drag-element-backward' 2014-06-25 10:49:52 +02:00
test-ox.el ox: implement additional #+INCLUDE markup 2014-06-07 18:02:52 +02:00
test-property-inheritance.el Update copyright years again. 2014-01-07 14:18:17 +01:00