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: Rainerkrugsde PGP: 0x0F52F982