emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Nicolas Goaziou
Subject: Re: [O] multiple property values possible similar to multiple tags?
Date: Sun, 10 Sep 2017 10:11:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hello,

Xebar Saram <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]