Pierre-Henri Trivier <phtriv...@yahoo.fr> writes: > I'm using an org file like this one: > ... > #+name: main > #+begin_src rust :tangle main.rs :noweb yes :comments noweb > <<imports>> > fn main() { > <<gather-input>> > <<count>> > } > #+end_src > When I visit the generated file, modify it, and I run > org-babel-detangle, I'm execting the org file to be changed. > > Instead, I always get the error "Not in tangled code"
AFAIU, `org-babel-detangle' does not support nested noweb blocks. The last discussion was in https://orgmode.org/list/20211017021707.horde.p9ib-mmooanjoruucbc5...@www.vfemail.net Confirmed. -- 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>