[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Irrelevant src blocks can break noweb expansion

From: Berry, Charles
Subject: [O] Irrelevant src blocks can break noweb expansion
Date: Mon, 11 Dec 2017 03:13:41 +0000

I used to avoid this by `(setq org-babel-use-quick-and-dirty-noweb-expansion 

This illustrates the issue:

#+begin_src org

  ,* abc

  ,#+begin_src R :comment (message "running on empty")


  ,#+begin_src R :noweb yes


The irrelevant, unnamed, empty src block its consulted via 
org-babel-get-src-block-info.  This runs the (message ...) expression.  Not 
much of a problem here, but I sometimes have a src block in my buffer that is a 
work-in-progress and has a header arg that calls a function I would not 
ordinarily have loaded.  When noweb does its thing, it chokes on the lack of a 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]