org-mode/testing/lisp
Kyle Meyer df5a836375 ob-core: Call org-confirm-babel-evaluate with expanded noweb refs
* lisp/ob-core.el (org-babel-check-confirm-evaluate): Expand noweb
references in the body passed to org-confirm-babel-evaluate.
* testing/lisp/test-ob.el (test-ob/check-eval-noweb-expanded): New
test.

When noweb references are set to be expanded for evaluation,
org-confirm-babel-evaluate should receive the expanded body so that it
can make its decision based on what actually will be evaluated
(without resorting to calling org-babel-get-src-block-info itself).

Note that this results in up to three calls to
org-babel-expand-noweb-references.  Possible ways to avoid this are
discussed at the thread referenced below.

Reported-by: Tom Gillespie <tgbugs@gmail.com>
https://orgmode.org/list/CA+G3_PNi3uMvBiWgBdKuC3C6VJt1T1j-RKH43LRqYbr+4NS8ZA@mail.gmail.com/
2020-08-02 22:55:16 -04:00
..
test-ob-C.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-R.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-awk.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-clojure.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
test-ob-emacs-lisp.el Update copyright year to 2020 2020-01-01 13:38:46 -05:00
test-ob-eshell.el ob-eshell.el: Add Eshell support for Babel 2018-10-03 18:44:34 +02:00
test-ob-exp.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-fortran.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-header-arg-defaults.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-lilypond.el testing/lisp/test-ob-lilypond.el: Delete test 2020-02-11 10:42:49 +01:00
test-ob-lob.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-lua.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-maxima.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-octave.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-perl.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-plantuml.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-python.el ob-python: Slightly refactor tests 2019-12-22 14:51:57 +01:00
test-ob-ruby.el Ruby tests 2019-05-16 10:43:14 +02:00
test-ob-scheme.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-sed.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-shell.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-sqlite.el Fix typos 2019-11-16 17:17:36 -05:00
test-ob-table.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob-tangle.el ob-tangle: Restore handling of relative file links 2020-06-08 20:25:22 -04:00
test-ob-vala.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ob.el ob-core: Call org-confirm-babel-evaluate with expanded noweb refs 2020-08-02 22:55:16 -04:00
test-ol-bbdb.el Prefix link-related libraries filenames with "ol" 2019-03-10 18:00:36 +01:00
test-ol.el Link syntax require to escape every square bracket 2019-12-22 14:52:53 +01:00
test-org-agenda.el Fix typos 2019-11-16 17:17:36 -05:00
test-org-archive.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-attach-git.el Fix problems with org-attach-git, failed tests 2019-09-08 14:43:46 +02:00
test-org-attach.el Fix typos 2019-11-16 17:17:36 -05:00
test-org-capture.el Fix capturing plain text with :unnarrowed property and no "%?" marker 2020-05-07 22:35:13 +02:00
test-org-clock.el org-clock: Fix tests 2019-12-22 14:51:31 +01:00
test-org-colview.el colview: Display active time stamps as inactive 2020-05-12 22:44:57 -04:00
test-org-datetree.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-duration.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-element.el Fix exporting visible parts of a buffer 2020-01-11 20:13:39 +01:00
test-org-feed.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-footnote.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-info.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-inlinetask.el Use `org-flag-subtree' instead of `outline-hide-subtree' 2019-05-11 09:48:53 +02:00
test-org-lint.el Merge branch 'maint' 2019-03-14 18:12:08 +01:00
test-org-list.el org-list: Another fix to item insertion 2020-04-10 16:06:05 +02:00
test-org-macro.el org-macro: Fix {{{author}}} expansion without AUTHOR keyword 2020-03-11 16:24:26 +01:00
test-org-macs.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-num.el org-num: Fix failing tests 2019-01-08 11:32:34 +01:00
test-org-pcomplete.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-protocol.el org-protocol: Fix URL handling -- add tests 2019-03-10 18:20:58 +01:00
test-org-src.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-table.el table: Small fix to column deletion 2020-04-18 18:33:07 +02:00
test-org-tempo.el Update copyright year 2019-01-01 11:50:56 +01:00
test-org-timer.el When testing, fake the current time more robustly 2019-02-12 19:34:08 -05:00
test-org.el org.el: Fix org-todo argument handling when looping over region 2020-06-28 02:13:58 -04:00
test-ox-publish.el Update copyright year 2019-01-01 11:50:56 +01:00
test-ox.el test-ox: Fix comment. 2020-02-11 19:11:11 +01:00
test-property-inheritance.el org-test, test-org-element, test-org, test-ox, test-property-inheritance 2019-07-07 19:42:50 +02:00