From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: multiple property values possible similar to multiple tags?
Date: Sun, 10 Sep 2017 10:11:45 +0200 [thread overview]
Message-ID: <87r2vf0y7y.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAOQHXPo5mPMzgrqvuKpq-WTh2dcwCpHkiP7WRywLoZaAY5-uDQ@mail.gmail.com> (Xebar Saram's message of "Fri, 8 Sep 2017 09:45:34 +0300")
Hello,
Xebar Saram <zeltakc@gmail.com> 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
prev parent reply other threads:[~2017-09-10 8:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-08 6:45 multiple property values possible similar to multiple tags? Xebar Saram
2017-09-10 8:11 ` Nicolas Goaziou [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2vf0y7y.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=zeltakc@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).