From: Ihor Radchenko <yantar92@posteo.net>
To: Pierre-Henri Trivier <phtrivier@yahoo.fr>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
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 [thread overview]
Message-ID: <87a5yxtprt.fsf@localhost> (raw)
In-Reply-To: <1513516023.10763084.1682269758814@mail.yahoo.com>
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>
prev parent reply other threads:[~2023-04-24 12:41 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1513516023.10763084.1682269758814.ref@mail.yahoo.com>
2023-04-23 17:09 ` [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/)] Pierre-Henri Trivier
2023-04-24 12:42 ` Ihor Radchenko [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5yxtprt.fsf@localhost \
--to=yantar92@posteo.net \
--cc=emacs-orgmode@gnu.org \
--cc=phtrivier@yahoo.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).