emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] string joining accumulated noweb references Was: (no subject)


From: Eric Schulte
Subject: Re: [O] string joining accumulated noweb references Was: (no subject)
Date: Mon, 23 Jan 2012 19:49:28 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux)

Tom Regner <address@hidden> writes:

> Eric Schulte <address@hidden> 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/



reply via email to

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