org-mode/testing/lisp
Nicolas Goaziou 02c7850147 ob: Ignore data in COMMENTed headings
* lisp/ob-core.el (org-babel-read-element): New function.
* lisp/ob-ref.el (org-babel-ref-resolve): Use new function.  Refactor
  code.
(org-babel-ref-at-ref-p): Remove function.

* testing/lisp/test-ob.el (test-ob/ignore-reference-in-commented-headings):
  New test.
* testing/lisp/test-ob.el (test-ob/resolve-code-blocks-before-data-blocks):
  Remove test

The second test is removed because names are expected to be unique.
There is no order to expect when more than one uses the same name.

Reported-by: myq <myqlarson@gmail.com>
<http://permalink.gmane.org/gmane.emacs.orgmode/102464>
2015-11-05 15:44:22 +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: Code cleanup 2014-08-20 22:24:01 +02: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 ob: Ignore data in COMMENTed headings 2015-11-05 15:44:22 +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 Merge branch 'maint' 2015-10-16 23:20:57 +02:00
test-org-footnote.el org-footnote: Fix f8c4102cc6 2015-08-14 16:17:18 +02:00
test-org-list.el Remove `org-list-empty-line-terminates-plain-lists' 2015-08-14 16:34:37 +02:00
test-org-macro.el Allow optional argument to {{{property}}} for remote entries 2015-05-10 11:48:13 +02: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 radio tables containing macros 2015-09-19 13:25:12 +02: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 ox: Rename `org-export-collect-tree-properties' 2015-11-05 10:56:59 +01:00
test-property-inheritance.el Update copyright years again. 2014-01-07 14:18:17 +01:00