emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] [BUG][babel] Tangling into directories does not add directories


From: Rainer M Krug
Subject: Re: [O] [BUG][babel] Tangling into directories does not add directories to org file
Date: Thu, 09 Oct 2014 14:37:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (darwin)

I'd like to ping this as I think it
is an important bug. It e.g. make debugging of R packages, whose source
is in org, more difficult, (the .R files are tangled into ./R/) as ess
does not find the source of the R code in R as it uses the links in the
comments to find the org file.

Temporary solution: I created a link to the org file in the ./R directory.

Cheers,

Rainer

Rainer M Krug <address@hidden> writes:

> When in the tangling taerget a directory is specified, this is not
> reflected in the comments in the tangled file when comments are set to
> include links:
>
> ,----
> |    * `link' The code block is wrapped in comments which contain
> |      pointers back to the original Org file from which the code was
> |      tangled.
> `----
>
> In the org file =prodMixStands.org=:
>
> ,----
> | :PROPERTIES:
> | :header-args+: :tangle ./R/update.cache.R
> | :END:
> | #+begin_src R 
> | test
> | #+end_src
> `----
>
> results in the file =update.cache.R= in a link to the file
> =prodMixStands.org= and not =./../prodMixstands.org=:
>
> ,----
> |  ## [[file:prodMixStands.org::*Begin][Begin:1]]
> `----
>
> This is particularly bad when using ess and developer mode to develop a
> package.
>
> Cheers,
>
> Rainer

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982



reply via email to

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