gerard.vermeu...@posteo.net writes: > org-babel-detangle is an interactive command but > M-x org-babel-detangle always replies "Detangled 0 code blocks" > This patch makes org-babel-detangle prompt for a source code file. > > Obviously, I got bitten by this.
I suspect that you may have some misunderstanding about how `org-babel-detangle' works. Its docstring says: Propagate changes in source file back original to Org file. So, it is expected to run from the tangled file; not from the Org file. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>