Hi Christian,
I took a look at these functions, while they do seem to work they don't
provide for any inheritance from higher-level subtrees. I think this is
a deal-breaker for use resolving header arguments as inheritance is
generally more useful than multiple values.
Thanks for pointing these
I think that a solution more integrated with the rest of Org-mode's
property handling would be preferable. That is to say, there should be
a way to collect multiple value for a property in Org-mode, and Babel
should simply make use of the more general facility.
This doesn't exist yet, but I'd
Hi again,
I was referring to these functions:
- org-entry-put-multivalued-property
- org-entry-get-multivalued-property
- org-entry-add-to-multivalued-property
- org-entry-remove-from-multivalued-property
- org-entry-member-in-multivalued-property
described here:
One of the things I tried (that didn't work, otherwise I would not have
sent any e-mail) was
:PROPERTY:
:var: variable1=value1 :var variable2=value2
:END:
I thought that maybe babel would just ask org what is the value of :var:,
put :var before it, and include this in the block header. Therefore
I'm using org-babel to automate a few tasks and I'd like to define a few
variables that are common to several code blocks as sub-tree properties.
It works when I have only one variable, where I can use
--8---cut here---start-8---
* Heading
:PROPERTY:
:var:
Unfortunately org-mode properties only allow a single entry for any
given key, so you can only specify one variable using properties.
However the following workaround does exist.
*** alternative
:PROPERTIES:
:var: vars=variables
:END:
#+tblname: variables
| var1 | 1 |
| var2 |
Hi Christian,
That's the first I've heard of that variable? If you do get something
working with multivalued properties please do share.
Cheers -- Eric
Christian Moe m...@christianmoe.com writes:
Hi, Eric,
Just curious: What about the org-entry--multivalued-property functions
mentioned in
Hi, Eric,
Just curious: What about the org-entry--multivalued-property functions
mentioned in Using the properties API?
Is anybody using multivalued properties for anything?
Yours,
Christian
On 6/21/11 10:17 PM, Eric Schulte wrote:
Unfortunately org-mode properties only allow a single
Thanks Eric,
I'll minimize the need of this by using #+babel: var=something for
variables that are common to many blocks.
The tip with the table is a good one also.
--
Darlan Cavalcante
At Tue, 21 Jun 2011 13:17:17 -0700,
Eric Schulte wrote:
Unfortunately org-mode properties only allow a