Eric Schulte <eric.schu...@gmx.com> writes: > I'd rather not change the default silently in this way. I understand that. > > Could you provide a minimal example of the difference you describe? I > just tried viewing the expanded form of the following code block and saw > no difference between :noweb-ref and normal #+name: based expansions. > > * examples > > #+name: first > #+begin_src sh > echo 1 > #+end_src > > #+begin_src sh :noweb-ref second > echo 2 > #+end_src > #+begin_src sh :noweb yes > <<first>> > <<second>> > #+end_src > > Thanks, >
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 --------------------------->%-------------------------------- tangled without my patch: --------------------------->%-------------------------------- Line OneLine Two --------------------------->%-------------------------------- tangled with my patch --------------------------->%-------------------------------- Line One Line Two --------------------------->%--------------------------------