org-mode/testing/lisp
Nicolas Goaziou 9f47b37231 Ignore coderef labels when evaluating a code block
* lisp/ob-core.el (org-babel--normalize-body): New function.
(org-babel-get-src-block-info): Use new function.

* lisp/org-src.el (org-src-coderef-regexp): New function.
* lisp/ox.el (org-export-unravel-code): Use new function.

* testing/lisp/test-ob.el (test-ob/evaluate-body-with-coderefs): New
  test.
2016-08-08 14:04:11 +02: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 testing/lisp/test-ob-R.el: Initialize ESS vars for :session tests 2016-01-24 10:08:31 -08:00
test-ob-awk.el awk code blocks handle tabular input 2014-06-07 11:16:55 -04:00
test-ob-emacs-lisp.el Update copyright years 2016-01-09 17:12:03 -05:00
test-ob-exp.el ox: Remove `org-export-execute-babel-code' 2016-06-18 22:11:14 +02:00
test-ob-fortran.el Update copyright years again. 2014-01-07 14:18:17 +01:00
test-ob-header-arg-defaults.el Remove deprecated syntax for Babel properties 2016-07-04 00:41:56 +02:00
test-ob-lilypond.el ob-lilypond: Fix failing tests 2015-11-08 17:31:34 +01:00
test-ob-lob.el ox: Remove `org-export-execute-babel-code' 2016-06-18 22:11:14 +02: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 Replace TBLNAME with NAME in tests 2016-02-10 15:40:11 +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 `org-babel-tangle-jump-to-org' 2016-01-31 20:38:35 +01:00
test-ob.el Ignore coderef labels when evaluating a code block 2016-08-08 14:04:11 +02:00
test-org-attach-annex.el Silence byte-compiler in "testing/" 2016-06-04 21:12:30 +02:00
test-org-capture.el Add ERTs for feed templates 2016-01-13 08:19:23 +01:00
test-org-clock.el org-clock: Fix `org-clock-drawer-name' 2016-05-11 18:44:02 +02:00
test-org-colview.el Fix a test 2016-06-04 21:27:55 +02:00
test-org-datetree.el Fix failing test 2015-12-29 22:45:14 +01:00
test-org-element.el org-element: Fix inline src blocks parameter syntax 2016-06-10 23:42:50 +02:00
test-org-feed.el org-feed: Fix failing test 2016-01-13 17:08:58 +01:00
test-org-footnote.el org-footnote: Handle un-referenced definitions 2016-02-27 16:05:35 +01:00
test-org-inlinetask.el test-org-inlinetask: Testing inlinetasks 2015-12-04 19:59:52 +01:00
test-org-list.el Move `org-toggle-item' in "org-list.el" 2016-07-04 23:52:40 +02:00
test-org-macro.el org-macro: Fix expansion in narrowed buffers 2016-01-29 00:52:49 +01:00
test-org-pcomplete.el Silence byte-compiler in "testing/" 2016-06-04 21:12:30 +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 Remove final parts of XEmacs compatibility code 2016-05-26 13:56:25 +02:00
test-org-table.el Use `string-match-p' instead of `org-string-match-p' 2016-07-25 15:21: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 `org-get-heading' is more consistent on empty headlines 2016-07-30 22:30:19 +02:00
test-ox.el Create `org-link-parameters' 2016-07-18 22:47:42 +02:00
test-property-inheritance.el Remove deprecated syntax for Babel properties 2016-07-04 00:41:56 +02:00