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 <rai...@krugs.de> 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