From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Rettke Subject: Re: [BUG][babel] Tangling into directories does not add directories to org file Date: Thu, 9 Oct 2014 21:13:44 -0500 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53804) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcPiE-0003LV-3h for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 22:13:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XcPiC-0007ve-S6 for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 22:13:46 -0400 Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:47981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XcPiC-0007vV-Mz for emacs-orgmode@gnu.org; Thu, 09 Oct 2014 22:13:44 -0400 Received: by mail-oi0-f48.google.com with SMTP id g201so5179179oib.35 for ; Thu, 09 Oct 2014 19:13:44 -0700 (PDT) In-Reply-To: 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: Rainer M Krug Cc: "emacs-orgmode@gnu.org" Sounds like a valuable use of R. Do you have a writeup on the approach or is it a standard feature of org and ess? On Thu, Oct 9, 2014 at 7:37 AM, Rainer M Krug wrote: > > 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 =3DprodMixStands.org=3D: >> >> ,---- >> | :PROPERTIES: >> | :header-args+: :tangle ./R/update.cache.R >> | :END: >> | #+begin_src R >> | test >> | #+end_src >> `---- >> >> results in the file =3Dupdate.cache.R=3D in a link to the file >> =3DprodMixStands.org=3D and not =3D./../prodMixstands.org=3D: >> >> ,---- >> | ## [[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 > --=20 Grant Rettke gcr@wisdomandwonder.com | http://www.wisdomandwonder.com/ =E2=80=9CWisdom begins in wonder.=E2=80=9D --Socrates ((=CE=BB (x) (x x)) (=CE=BB (x) (x x))) =E2=80=9CLife has become immeasurably better since I have been forced to st= op taking it seriously.=E2=80=9D --Thompson