emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] [Babel] detangle


From: Eric Schulte
Subject: Re: [Orgmode] [Babel] detangle
Date: Fri, 29 Oct 2010 09:01:48 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Eric,

The bug you mentioned should have been fixed by yesterday's commit

,----[c6565eaa43d398f6771edd59c2bfe7ca54e4a93e]
| commit c6565eaa43d398f6771edd59c2bfe7ca54e4a93e
| Author: Eric Schulte <address@hidden>
| Date:   Fri Oct 29 01:37:28 2010 -0600
| 
|     fixed typos in tangle comment link format strings
|     
|     * lisp/ob-tangle.el (org-babel-tangle-comment-format-beg): fix typo
|       (org-babel-tangle-comment-format-end): fix typo
`----

is it possible you haven't "make clean && make"'d your repo since the
last push?

Best -- Eric

Eric S Fraga <address@hidden> writes:

> "Eric Schulte" <address@hidden> writes:
>
>> Hi,
>>
>> I've just added functions for detangling code from pure source code
>> files back into code blocks in the org-mode files from whence they were
>> tangled.
>
> Wow.  It just gets better all the time!! :-)
>
>> This is done by the new `org-babel-detangle' function.
>> Additionally the new `org-babel-tangle-jump-to-org' function can be used
>> to navigate from a pure source code file back to the related code block
>> in the original Org-mode file.
>>
>> Both of these new functions require that the code block was tangled with
>> comments which can be accomplished by setting the :comments header to
>> "yes".
>
> I've tried the first couple of steps: added the comments header and
> tangled my code, ledger in this case.  I've had a looked at the tangled
> code and I get lines such as this one inserted:
>
> : ; [[id:8fe917c4-257f-45f7-839b-68b5772e5443][%sourcename]]
>
> Obviously, =%sourcename= should have been replaced by something in the
> tangling operation as, subsequently, the jump command doesn't work.  I
> assume that the detangling won't work either.
>
> Is there something I (or you?) should add to =ob-ledger.el= perhaps?
>
> I've not tried any other codes as I don't /tangle/ often.
>
> Thanks,
> eric



reply via email to

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