emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Girard <girard.nicolas@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion
Date: Sun, 18 Mar 2012 21:23:47 +0100	[thread overview]
Message-ID: <CANMKmec9OLCt76gOVNiA5-Fr-BTxhm73amA455Y2vROnXXP5_w@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 854 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 4517 bytes --]

             reply	other threads:[~2012-03-18 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-18 20:23 Nicolas Girard [this message]
2012-03-19 14:39 ` [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion Eric Schulte
2012-03-19 17:24   ` Nicolas Girard
2012-03-19 19:56     ` Eric Schulte
2012-03-20  1:41   ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANMKmec9OLCt76gOVNiA5-Fr-BTxhm73amA455Y2vROnXXP5_w@mail.gmail.com \
    --to=girard.nicolas@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).