org-mode/testing/lisp
Nicolas Goaziou 539eac9211 org-element: Recognize planning info only right after a headline
* lisp/org.el (org-planning-line-re): New variable.  Renamed from
  `org-planning-or-clock-line-re'.

* lisp/org-element.el (org-element-paragraph-separate,
  org-element-headline-parser, org-element-inlinetask-parser, ,
  org-element--current-element): Use new variable.
(org-element-planning-parser): Check previous line before parsing
planning info.  When right after a headline, fallback to paragraph
parsing.

* testing/lisp/test-org-element.el (test-org-element/planning-parser):
  Add a test.  Update others.
(test-org-element/timestamp): Remove a test.
* testing/lisp/test-ox.el (test-org-export/handle-options): Update
  test.
2014-08-31 15:39:35 +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-core: Preserve inline-ness of source blocks when inserting results 2014-08-22 14:39:39 +02: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: Code cleanup 2014-08-20 22:24:01 +02: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: Support for exporting inline source code 2014-08-22 14:39:38 +02:00
test-org-clock.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-org-element.el org-element: Recognize planning info only right after a headline 2014-08-31 15:39:35 +02:00
test-org-footnote.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-org-list.el org-list: Fix failing test 2014-08-15 21:51:42 +02: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 block hiding 2014-08-01 10:50:36 +02:00
test-ox.el org-element: Recognize planning info only right after a headline 2014-08-31 15:39:35 +02:00
test-property-inheritance.el Update copyright years again. 2014-01-07 14:18:17 +01:00