org-mode/doc
Daniel Ziltener 5e0c5c186d
org-babel: Add new "strip-tangle" :noweb argument value
* lisp/ob-tangle.el (org-babel-tangle-single-block): Strip noweb tags
from block if :noweb has been set to "strip-tangle".
* lisp/ob-core.el (org-babel-common-header-args-w-values): Add
"strip-tangle" as new allowed value.
* lisp/ob-core.el (org-babel-noweb-p): Add "strip-tangle" at the
appropriate positions.
* testing/lisp/test-ob-tangle.el (ob-tangle/strip-tangle): Add new test
case for "strip-tangle".
* doc/org-manual.org (Noweb Reference Syntax): Adjust documentation for
the noweb header argument.
* etc/ORG-NEWS: Add entry for new header argument value.

This patch adds the "strip-tangle" option for the :noweb header
argument.  This strips the noweb tags before tangling the block.  This can
be useful for e.g. testing purposes where one wants to use a block as
test case that can be both run inline as well as tangled into a file for
automated testing.

TINYCHANGE
2022-11-07 10:54:13 +08:00
..
.aspell.org.conf Fix typos 2019-11-16 17:17:36 -05:00
.nosearch Add .nosearch file to the doc/ subdirectory. 2008-12-17 17:25:31 +01:00
Documentation_Standards.org org-manual: Inline single-sentence footnotes 2022-10-04 10:18:26 +08:00
Makefile doc/Makefile: Limit memory consumption when generating docs 2022-06-17 13:18:39 +08:00
dir Add org-guide.org to the build process 2019-03-19 02:25:18 +01:00
doc-setup.org ox-texinfo: Add function for use by kbd macro 2022-02-08 22:45:27 +01:00
fdl.org Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
htmlxref.cnf Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
org-guide.org Prefer "website" to "homepage" 2022-06-26 10:10:48 +08:00
org-manual.org org-babel: Add new "strip-tangle" :noweb argument value 2022-11-07 10:54:13 +08:00
orgcard.tex Update copyright year to 2022 2022-01-01 15:17:08 -05:00
pdflayout.sty Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
texinfo.tex Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00