[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion
From: |
Eric Schulte |
Subject: |
Re: [O] [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion |
Date: |
Mon, 19 Mar 2012 10:39:19 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) |
Hi Nicolas,
Thanks for bringing up this bug. I'm attaching a patch to this email,
once the current repositories issues are resolved I'll apply this patch
to the repository. In the interim, you can apply this patch to your
local copy of the git repository with.
$ cd your/path/to/org
$ git am /tmp/0001-fix-bug-in-src-name-regexp-when-using-org-babel-use-.patch
0001-fix-bug-in-src-name-regexp-when-using-org-babel-use-.patch
Description: Text Data
Best,
Nicolas Girard <address@hidden> writes:
> Hi all,
> I've been succesfully using babel to make various literate programming work.
> Unfortunately, tangling performance has dramatically decreased, to the
> point of being barely usable.
> I wish I could get advantage of the "quick & dirty noweb expansion" Eric
> introduced in january, but it has an undesirable side effect. Consider the
> following minimal example:
>
> #####
> #+name: abc
> #+begin_src latex
> Abc<<abc-d>>
> #+end_src
>
> #+name: abc-d
> #+begin_src latex
> Def
> #+end_src
>
> #+begin_src latex :noweb yes :tangle test.tex
> <<abc>>
> #+end_src
> #####
>
> Tangling with *org-babel-use-quick-and-dirty-noweb-expansion* set to nil
> gives
>
> #####
> AbcDef
> #####
>
> while tangling with *org-babel-use-quick-and-dirty-noweb-expansion* set to
> t gives
>
> #####
> AbcDef
> Def
> #####
>
> I'd be very happy if this bug could be tracked down.
> Thanks very much in advance !
> Cheers,
>
> Nicolas
--
Eric Schulte
http://cs.unm.edu/~eschulte/