[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] About commit named "Allow multi-line properties to be specified
Re: [O] About commit named "Allow multi-line properties to be specified in property blocks"
Mon, 31 Oct 2011 22:33:31 +0100
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0
On 10/31/11 9:49 PM, Nicolas Goaziou wrote:
#+property: :var foo=1
#+property: :var bar=2
#+property: :var baz=3
#+property: :var qux=4
1) You need to drop the colons before var.
2) The outcome is not what you expect.
#+property: var foo=1
#+property: var bar=2
#+property: var baz=3
#+property: var qux=4
#+begin_src perl :results output
print "foo is $foo, bar is $bar, baz is $baz, qux is $qux"
: foo is 1, bar is , baz is , qux is
Because as things currently work, further assignments to the same
property (var) by subsequent #+PROPERTY lines are ignored. (Whereas
further assignments to the same property in property drawers further
down an outline tree will `overwrite' assignments higher up.)