Re: [O] multiple property values possible similar to multiple tags?

2017-09-10 Thread Nicolas Goaziou
Hello,

Xebar Saram  writes:

> Hi all
>
> I have this example property drawer in a capture template
>
> :PROPERTIES:
> :ID: %(org-id-uuid)
> :PLACE: %^{Place?|-|@work|@home|@pc|@family|@shop}
> :END:
>
> i was wondering, is it possible for a single property to take multiple
> value?

It is, per (info "(org) Using the property API"). See, e.g.,
`org-entry-get-multivalued-property'.

It is meant to be used in Elisp function, not as-is in an usual Org
workflow, though.

> im thinking something similar to tags like
>
> :TAG1:TAG2:
>
> i would have a property value of
>
> :PLACE: @home @ shop
>
> and if its possible will i be able to search agenda etc values based on
> just 1 of these properties?

You would need to use it within a custom search (or filter) function,
I guess. I haven't checked if and how that's possible.

Regards,

-- 
Nicolas Goaziou



[O] multiple property values possible similar to multiple tags?

2017-09-08 Thread Xebar Saram
Hi all

I have this example property drawer in a capture template

:PROPERTIES:
:ID: %(org-id-uuid)
:PLACE: %^{Place?|-|@work|@home|@pc|@family|@shop}
:END:

i was wondering, is it possible for a single property to take multiple
value? im thinking something similar to tags like

:TAG1:TAG2:

i would have a property value of

:PLACE: @home @ shop

and if its possible will i be able to search agenda etc values based on
just 1 of these properties?

best

Z