From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: multiple property values possible similar to multiple tags? Date: Sun, 10 Sep 2017 10:11:45 +0200 Message-ID: <87r2vf0y7y.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqxLI-0002jM-U6 for emacs-orgmode@gnu.org; Sun, 10 Sep 2017 04:11:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqxLI-0002DL-2p for emacs-orgmode@gnu.org; Sun, 10 Sep 2017 04:11:48 -0400 Received: from relay2-d.mail.gandi.net ([2001:4b98:c:538::194]:56357) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqxLH-0002Cu-TR for emacs-orgmode@gnu.org; Sun, 10 Sep 2017 04:11:48 -0400 In-Reply-To: (Xebar Saram's message of "Fri, 8 Sep 2017 09:45:34 +0300") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Xebar Saram Cc: org mode 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