Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-26 Thread Viktor Rosenfeld
Hi Eric, Eric Schulte wrote: > However try replacing > > :var: foo="a" > with > > :var+: foo="a" > which is valid and should work for your use case below. I'm not sure if I understood you correctly, but even if I replace "var" with "var+" in the child's property drawer, the value of bar that is

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-25 Thread Eric Schulte
Hi, Viktor Rosenfeld writes: > Hi Eric, > > Eric Schulte wrote: > >> Viktor Rosenfeld writes: >> >> > Hi Eric, >> > >> > thanks for your input. I just pulled the latest code from git and while >> > my original example works, the following does not: >> > >> > :PROPERTIES: >> > :var: foo=1 >> >

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-20 Thread Viktor Rosenfeld
Hi Eric, Eric Schulte wrote: > Viktor Rosenfeld writes: > > > Hi Eric, > > > > thanks for your input. I just pulled the latest code from git and while > > my original example works, the following does not: > > > > :PROPERTIES: > > :var: foo=1 > > :var+: bar=2 > > :var+: baz=3 > > :END: > > > >

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-18 Thread Eric Schulte
Viktor Rosenfeld writes: > Hi Eric, > > thanks for your input. I just pulled the latest code from git and while > my original example works, the following does not: > > :PROPERTIES: > :var: foo=1 > :var+: bar=2 > :var+: baz=3 > :END: > > #+BEGIN_SRC sh > echo foo: $foo > echo bar: $bar > echo ba

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-15 Thread Viktor Rosenfeld
Hi Eric, thanks for your input. I just pulled the latest code from git and while my original example works, the following does not: :PROPERTIES: :var: foo=1 :var+: bar=2 :var+: baz=3 :END: #+BEGIN_SRC sh echo foo: $foo echo bar: $bar echo baz: $baz #+END_SRC If I evaluate the source block I ge

Re: [O] Setting multiple variables for code blocks in one property drawer

2012-02-15 Thread Eric Schulte
Viktor Rosenfeld writes: > Hi, > > after following the discussion about the new BABEL syntax I was under > the impression that the following should work to set two variables in > one PROPERTIES drawer: > > :PROPERTIES: > :var: foo=1 > :var+: bar=2 > :END: > > However, the definition of bar is ign

[O] Setting multiple variables for code blocks in one property drawer

2012-02-09 Thread Viktor Rosenfeld
Hi, after following the discussion about the new BABEL syntax I was under the impression that the following should work to set two variables in one PROPERTIES drawer: :PROPERTIES: :var: foo=1 :var+: bar=2 :END: However, the definition of bar is ignored. It turns out that there can only be one :v