Am 30.10.22 um 05:12 schrieb Ihor Radchenko: > Daniel Ziltener writes: > >> From: Daniel Ziltener >> >> * 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. >> * 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. > Thanks, but it looks like your PGP signature corrupted the email patch. > Could you please create a separate patch file and attach it in the > reply? Sure, here's the patch attached, as generated by "git format-patch origin/main".