From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [BUG][babel] Tangling into directories does not add directories to org file Date: Thu, 09 Oct 2014 14:37:08 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcCyC-0007iN-Mw for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 08:37:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcCy6-0003m9-Fa for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 08:37:24 -0400 Received: from mail-wi0-f173.google.com ([209.85.212.173]:47117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcCy6-0003m2-9Y for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 08:37:18 -0400 Received: by mail-wi0-f173.google.com with SMTP id fb4so12979266wid.12 for ; Thu, 09 Oct 2014 05:37:13 -0700 (PDT) Received: from Rainers-MacBook-Pro-3.local (arn78-1-88-186-171-7.fbx.proxad.net. [88.186.171.7]) by mx.google.com with ESMTPSA id ga7sm5457041wic.5.2014.10.09.05.37.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 09 Oct 2014 05:37:12 -0700 (PDT) In-Reply-To: (Rainer M. Krug's message of "Wed, 08 Oct 2014 15:21:12 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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 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: Rainerkrugsde PGP: 0x0F52F982