From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Girard Subject: [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion Date: Sun, 18 Mar 2012 21:23:47 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=14dae9cdc49d4244cb04bb8a3953 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9MeC-0007Mm-1X for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 16:24:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9MeA-0006g5-9N for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 16:24:11 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:54332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9MeA-0006fs-2H for emacs-orgmode@gnu.org; Sun, 18 Mar 2012 16:24:10 -0400 Received: by vcbfk14 with SMTP id fk14so7328861vcb.0 for ; Sun, 18 Mar 2012 13:24:07 -0700 (PDT) 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 --14dae9cdc49d4244cb04bb8a3953 Content-Type: text/plain; charset=ISO-8859-1 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<> #+end_src #+name: abc-d #+begin_src latex Def #+end_src #+begin_src latex :noweb yes :tangle test.tex <> #+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 --14dae9cdc49d4244cb04bb8a3953 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi all,
I've been succesfully using babel to=A0make various=A0literate<= /span>=A0programming=A0work. Unfo= rtunately, 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 janua= ry, but it has an undesirable side effect. Consider the following minimal e= xample:

#####
#+name: abc
#+begin_src latex
=A0 Abc<<abc-d>>
#+end_src

#+name: abc-d
#+begin_src latex
=A0 Def
#= +end_src

#+begin_src latex :noweb yes :tangle test.= tex
=A0 <<abc>>
#+end_src
<= div style=3D"color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13p= x"> #####

Tangling with=A0*org-babel-use-quick-and-d= irty-noweb-expansion* set to nil gives

#####
AbcDef
#####

while tangling with=A0*org-babel-use-quick-and-dirty-noweb-expansion* = set to t gives

#####
AbcDef=
Def
#####<= /font>

I'd be very happy if this bug could be tracked d= own.=A0
Thanks very much in advance !
Cheers,

Nicolas

--14dae9cdc49d4244cb04bb8a3953--