[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] (no subject)
From: |
Tom Regner |
Subject: |
Re: [O] (no subject) |
Date: |
Tue, 24 Jan 2012 02:55:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux) |
Eric Schulte <address@hidden> 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
--------------------------->%--------------------------------