0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-08-21 03:48:34 +00:00
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
include.html
include.org
include2.org org-export: Fix bug with recursive file inclusion and relative paths 2012-02-23 21:28:15 +01:00
link-in-heading.org
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
ob-awk-test.in
ob-awk-test.org
ob-C-test.org
ob-fortran-test.org
ob-header-arg-defaults.org Simplify Babel calls evaluation 2016-06-16 23:15:01 +02:00
ob-lilypond-broken.ly
ob-lilypond-broken.org
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.org
ob-maxima-test.org
ob-octave-test.org
ob-screen-test.org Map "screen" to shell-script-mode 2012-01-20 11:47:13 -07:00
ob-sed-test.org
ob-shell-test.org
org-exp.org test of comma stripping behavior 2011-09-06 21:58:51 -06:00
property-inheritance.org
setupfile.org
setupfile3.org fix SETUPFILE pathname expansion with subdirectories 2015-09-24 10:16:04 +02:00