Tom Regner <t...@goochesa.de> writes: > Eric Schulte <eric.schu...@gmx.com> writes: > >> I'd rather not change the default silently in this way. > I understand that.
My apologies, now that I understand the issue I see that the current behavior is most likely confusing and I agree with your original suggestion to change the default. > Example document: > --------------------------->%-------------------------------- > * Subtree > :PROPERTIES: > :noweb-ref: subtree > :END: > ** Part 1 > #+begin_src sh > Line One > #+end_src sh > ** Part 2 > #+begin_src sh > Line Two > #+end_src sh > * Assamble it > #+begin_src sh :tangle yes :noweb tangle > <<subtree>> > #+end_src sh I just pushed up a new customization variable named `org-babel-noweb-separator' which is used to join multiple accumulated noweb references like the above. The value defaults to a newline giving the same behavior resulting from your patch but can be set to any string. Thanks for pointing this out, -- Eric Schulte http://cs.unm.edu/~eschulte/