org-mode/testing/lisp
Nicolas Goaziou 8eb318f2d0 org-footnote: Update library wrt new footnote syntax
* lisp/org-footnote.el (org-footnote-re):
(org-footnote-definition-re): Do not match [1]-like constructs.

(org-footnote): Fix typo.

(org-footnote-auto-label): Do not offer to create [1]-like constructs
anymore.

(org-footnote-new): Remove reference to obsolete value in
`org-footnote-auto-label'.

(org-footnote-at-reference-p):
(org-footnote-get-next-reference):
(org-footnote-next-reference-or-definition):
(org-footnote-goto-definition):
(org-footnote-goto-previous-reference): Use new regexp.

(org-footnote-normalize-label): Remove "fn:" prefix instead of adding
it.

(org-footnote-get-definition):
(org-footnote-all-labels):
(org-footnote-unique-label): Small refactoring.

(org-footnote-create-definition):
(org-footnote-delete-definitions):

(org-footnote--clear-footnote-section):
(org-footnote--collect-references):
(org-footnote--collect-definitions):
(org-footnote--set-label):
(org-footnote-sort): New functions.

(org-footnote-auto-adjust-maybe):
(org-footnote-action): Use new functions.  Small refactoring.

(org-footnote-renumber-fn:N): Refactor code.  Handle nested footnotes.

(org-footnote-normalize): Turn footnotes into [fn:N] construct instead
of [N].
* testing/lisp/test-org-footnote.el (test-org-footnote/delete):

(test-org-footnote/goto-definition):
(test-org-footnote/normalize): Update test

(test-org-footnote/sort):
(test-org-footnote/renumber-fn:N): New tests.

(test-org-footnote/normalize-outside-org): Remove test.
2015-12-22 16:55:17 +01: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-R.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-awk.el awk code blocks handle tabular input 2014-06-07 11:16:55 -04:00
test-ob-emacs-lisp.el Replace `org-ctrl-c-ctrl-c' by `org-babel-execute-maybe' 2015-01-30 18:28:05 +01:00
test-ob-exp.el Update some copyright years 2015-02-16 01:40:07 +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 ob-lilypond: Fix failing tests 2015-11-08 17:31:34 +01:00
test-ob-lob.el Update some copyright years 2015-02-16 01:40:07 +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-ruby.el Replace `org-ctrl-c-ctrl-c' by `org-babel-execute-maybe' 2015-01-30 18:28:05 +01:00
test-ob-sed.el Org Babel now supports sed scripts 2015-05-30 14:59:01 +02: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 ob-tangle: Fix commenting links at column 0 2015-09-10 11:12:20 +02:00
test-ob.el Change export block syntax 2015-12-20 21:56:27 +01:00
test-org-capture.el org-capture: Prevent recursive evaluation of %(...) placeholders 2015-11-29 16:58:14 +01:00
test-org-clock.el test-org-clock: Fix failing test (again) 2015-07-18 18:58:12 +02:00
test-org-datetree.el org-datetree: Fix DATE_TREE search 2015-08-22 21:40:54 +02:00
test-org-element.el org-element: Ignore plain footnotes 2015-12-22 16:55:17 +01:00
test-org-footnote.el org-footnote: Update library wrt new footnote syntax 2015-12-22 16:55:17 +01:00
test-org-inlinetask.el test-org-inlinetask: Testing inlinetasks 2015-12-04 19:59:52 +01:00
test-org-list.el org-list: Fix sending empty lists 2015-12-08 18:45:21 +01:00
test-org-macro.el Allow optional argument to {{{property}}} for remote entries 2015-05-10 11:48:13 +02:00
test-org-protocol.el org-protocol: Allow key=val&key2=val2-style URLs 2015-12-22 13:41:45 +01:00
test-org-src.el org-src: Preserve tab characters unrelated to indentation 2015-10-08 18:57:30 +02:00
test-org-table.el org-table: Fix "$<" constructs in formulas 2015-12-18 22:30:41 +01:00
test-org-timer.el org-timer.el: hh:mm:ss format for setting a timer 2015-06-02 23:18:13 +02:00
test-org.el Refuse to follow link right after the link 2015-10-31 23:32:47 +01:00
test-ox.el org-element: Ignore plain footnotes 2015-12-22 16:55:17 +01:00
test-property-inheritance.el Update copyright years again. 2014-01-07 14:18:17 +01:00