emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Unable to detangle code with noweb comments [9.6.1 (9.6.1-??-f


From: Ihor Radchenko
Subject: Re: [BUG] Unable to detangle code with noweb comments [9.6.1 (9.6.1-??-fe92a3c @ /home/phtrivier/.emacs.d/.local/straight/build-28.1/org/)]
Date: Mon, 24 Apr 2023 12:42:46 +0000

Pierre-Henri Trivier <phtrivier@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-mMooANjOrUuCbc5EPl@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>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]