Hi Bastien, Christoph and Eric,

Bastien wrote:
> Christoph LANGE <ch.la...@jacobs-university.de> writes:
>
>> 1. font lock (aka syntax highlighting) does not yet
>> recognize :PROPERTY+:
>
> I just fixed this, thanks.
>
>> 2. accumulation doesn't work within the same entry; details follow:
>>
>> So when I changed the above contact entry to
>>
>> * Contact Name
>>   :PROPERTIES:
>>   :EMAIL:    f...@bar.org
>>   :EMAIL+:   b...@baz.org
>>   :END:
>>
>> I would have expected (org-entry-get (point) "EMAIL" t) to evaluate to, well,
>> at least "f...@bar.org b...@baz.org" (and in some later version of org-mode
>> maybe to a two-item list, for even easier automated processing).  But I got
>> the following unexpected results, which indicate that accumulation is not yet
>> supported in this context (well, if it was ever _intended_…):
>
> I let Eric answer this -- I'm not familiar enough with accumulating
> properties.

I'll try to answer that one, under the supervision of the guru...

Well, the following works:

  :PROPERTIES:
  :var:      foo=7
  :var+:     baz=3
  :END:

so your syntax looks correct, but AFAIK the `+' is only supported at this
stage for the `var' property: you can't take any property and add a `+' to
transform it in an accumulative property.

Whether this should be restricted by default or open by default, I have no
opinion at this stage.

I know, however, multivalued properties are sort of already well supported.
See http://orgmode.org/manual/Using-the-property-API.html for more info.

Best regards,
  Seb

-- 
Sebastien Vauban


Reply via email to