emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion
@ 2012-03-18 20:23 Nicolas Girard
  2012-03-19 14:39 ` Eric Schulte
  0 siblings, 1 reply; 5+ messages in thread
From: Nicolas Girard @ 2012-03-18 20:23 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-03-20  1:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-18 20:23 [babel] [bug] org-babel-use-quick-and-dirty-noweb-expansion Nicolas Girard
2012-03-19 14:39 ` Eric Schulte
2012-03-19 17:24   ` Nicolas Girard
2012-03-19 19:56     ` Eric Schulte
2012-03-20  1:41   ` Bastien

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).