From: Mohamed HIBTI <mohamed.hibti@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel (org-babel-detangle)
Date: Wed, 13 Apr 2011 20:01:10 +0200 [thread overview]
Message-ID: <39568.8753495508$1302717703@news.gmane.org> (raw)
In-Reply-To: 874o62m6xz.fsf@gmail.com
"Eric Schulte" <schulte.eric@gmail.com> writes:
Hi Eric,
Thanks for this swift reply. I will try :)
Best regards,
Mohamed
> Hi Mohamed,
>
> You have a small typo in your header arguments, ":comment" should be
> ":comments". After that change then code block should be tangled
> wrapped in comments, and then Babel can use these comments to jump back
> to the original org-mode file.
>
> That said, the detangle mechanisms are in need of some work,
> specifically regarding their use of the Org-mode's link resolution,
> which doesn't currently make it possible to programmatically jump to the
> results of a link. So, until some time is spent fixing up the
> detangling machinery inside of Babel, you may not find detangling to be
> extremely robust.
>
> Best -- Eric
>
> Mohamed HIBTI <mohamed.hibti@gmail.com> writes:
>
>> Dear all,
>> I have a problem with detangling org-babel fragments.
>> May be this is because XML is not a supported feature/or I use it in a wrong way.
>> Any help is welcome.
>>
>> My org-file is below. I can tangle this file to obtain the XML file but
>> when I try to jump to org I get the message "not in tangled code".
>>
>> *** TODO Question that needs validation
>> :PROPERTIES:
>> :ID: 2788f65d-5613-40c1-80ae-ae966f4bb398
>> :END:
>> #+BEGIN_SRC XML :tangle ./sample04.xml :comment yes
>> <define-fault-tree name="ACP-2">
>> <!-- Le problme de cette question -->
>> <!---->
>> <label>AC Power System Bus 2</label>
>> <define-gate name="@ACP-2-1" code:calctype="Q">
>> <label>AC Power System Bus 2 fails</label>
>> <and>
>> <gate name="@ACP-2-2"/>
>> <gate name="@ACP-2-3"/>
>> </and>
>> </define-gate>
>> </define-fault-tree>
>> #+END_SRC
>>
>> Best regards,
>>
>> Mohamed
>>
>>
>>
next prev parent reply other threads:[~2011-04-13 18:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-13 13:16 org-babel (org-babel-detangle) Mohamed HIBTI
2011-04-13 16:50 ` Eric Schulte
2011-04-13 18:01 ` Mohamed HIBTI [this message]
2011-04-14 9:19 ` Mohamed HIBTI
2011-04-14 14:47 ` Eric Schulte
2011-04-15 8:36 ` Mohamed HIBTI
2011-04-15 16:45 ` Mohamed HIBTI
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='39568.8753495508$1302717703@news.gmane.org' \
--to=mohamed.hibti@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.