emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Eric S Fraga <ucecesf@ucl.ac.uk>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: [Babel] detangle
Date: Fri, 29 Oct 2010 09:01:48 -0600	[thread overview]
Message-ID: <87eib9t543.fsf@gmail.com> (raw)
In-Reply-To: <87wrp16pem.fsf@ucl.ac.uk> (Eric S. Fraga's message of "Fri, 29 Oct 2010 15:32:01 +0100")

Hi Eric,

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

,----[c6565eaa43d398f6771edd59c2bfe7ca54e4a93e]
| commit c6565eaa43d398f6771edd59c2bfe7ca54e4a93e
| Author: Eric Schulte <schulte.eric@gmail.com>
| 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 <ucecesf@ucl.ac.uk> writes:

> "Eric Schulte" <schulte.eric@gmail.com> 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	other threads:[~2010-10-29 15:01 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-29  8:15 [Babel] detangle Eric Schulte
2010-10-29 14:32 ` Eric S Fraga
2010-10-29 15:01   ` Eric Schulte [this message]
2010-10-29 15:36     ` Eric S Fraga
2010-11-04 13:53       ` Eric Schulte
2010-11-04 16:01         ` Eric S Fraga
2010-10-31 16:56 ` David Maus

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=87eib9t543.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ucecesf@ucl.ac.uk \
    /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).