org-mode/testing/examples
Nicolas Goaziou dbb375fdfc Simplify Babel calls evaluation
* lisp/ob-lob.el (org-babel-default-lob-header-args): Merge value with
  `org-babel-default-header-args' since this variable is meant to
  replace the latter.
(org-babel-lob-ingest): Make sure `org-babel-default-lob-header-args' is
used instead of `org-babel-default-header-args'.
(org-babel-lob--src-info): New function.
(org-babel-lob-get-info): Use new function.  Make return value
a replacement for `org-babel-get-src-block-info'.
(org-babel-lob-execute): Use `org-babel-execute-src-block' instead of
duplicating functionalities.
* lisp/ob-exp.el (org-babel-exp-process-buffer): Apply changes to
  `org-babel-lob-get-info' return value.

* testing/examples/ob-header-arg-defaults.org:
* testing/lisp/test-ob-header-arg-defaults.el (test-ob-header-arg-defaults/tree/accumulate/call):
(test-ob-header-arg-defaults/tree/complex/call):
(test-ob-header-arg-defaults/tree/overwrite/call):
* testing/lisp/test-ob-lob.el (test-ob-lob/caching-call-line):
(test-ob-lob/named-caching-call-line): Update tests.

The purpose of this commit is to make Babel calls more
predictable (e.g., wrt property inheritance) and to remove code
duplication.  Also, Babel calls results are no longer treated as Emacs
Lisp values.
2016-06-16 23:15:01 +02:00
..
subdir fix SETUPFILE pathname expansion with subdirectories 2015-09-24 10:16:04 +02:00
babel-dangerous.org change this failing test so that it no longer fails 2013-04-03 11:30:14 -06:00
babel.org ob: Remove `org-babel-get-inline-src-block-matches' 2016-02-10 23:50:45 +01:00
include.html ox: implement additional #+INCLUDE markup 2014-06-07 18:02:52 +02:00
include.org ox: Update INCLUDE keywords wrt property drawers 2014-10-28 14:23:52 +01:00
include2.org Fix the maint branch. 2012-03-19 20:27:28 +01:00
link-in-heading.org test: re-arranging example files into their own directory 2010-10-05 11:54:48 -06:00
links.org Add links.org to testing/examples/ 2011-01-17 18:23:45 +01:00
macro-templates.org Remove useless data in test file 2012-10-10 22:46:50 +02:00
no-heading.org ob-exp: fixed export when headings have links, with tests 2010-10-05 11:54:48 -06:00
normal.org Fix the master branch. 2012-03-19 22:01:29 +01:00
ob-C-test.org Replace TBLNAME with NAME in tests 2016-02-10 15:40:11 +01:00
ob-awk-test.in Awk can be called with no in-file: and no :stdin 2011-07-24 14:05:55 -06:00
ob-awk-test.org awk code blocks handle tabular input 2014-06-07 11:16:55 -04:00
ob-fortran-test.org Replace TBLNAME with NAME in tests 2016-02-10 15:40:11 +01:00
ob-header-arg-defaults.org Simplify Babel calls evaluation 2016-06-16 23:15:01 +02:00
ob-lilypond-broken.ly ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-lilypond-broken.org ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-lilypond-test.error ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-lilypond-test.ly ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-lilypond-test.org ob-lilypond: test suite, all tests passing 2011-07-01 12:22:33 -07:00
ob-maxima-test.org Replace TBLNAME with NAME in tests 2016-02-10 15:40:11 +01:00
ob-octave-test.org ob-octave.el: Add graphical output 2011-12-17 09:04:20 -07:00
ob-screen-test.org Map "screen" to shell-script-mode 2012-01-20 11:47:13 -07:00
ob-sed-test.org Org Babel now supports sed scripts 2015-05-30 14:59:01 +02:00
ob-shell-test.org ob-shell.el: export vars as arrays for 'sh' code blocks 2014-04-14 21:24:00 -06:00
org-exp.org test of comma stripping behavior 2011-09-06 21:58:51 -06:00
property-inheritance.org property names ending in plus accumulate 2011-11-15 08:56:24 -07:00
setupfile.org fix SETUPFILE pathname expansion with subdirectories 2015-09-24 10:16:04 +02:00
setupfile3.org fix SETUPFILE pathname expansion with subdirectories 2015-09-24 10:16:04 +02:00