From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: match by property in agenda view Date: Sat, 09 Sep 2017 17:33:10 -0500 Message-ID: <87efrfjye1.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35902) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dqoJR-0007S9-NS for emacs-orgmode@gnu.org; Sat, 09 Sep 2017 18:33:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dqoJN-00043u-Pr for emacs-orgmode@gnu.org; Sat, 09 Sep 2017 18:33:17 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:44557) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dqoJN-00042c-Eg for emacs-orgmode@gnu.org; Sat, 09 Sep 2017 18:33:13 -0400 In-Reply-To: (Xebar Saram's message of "Thu, 7 Sep 2017 20:55:10 +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 Xebar Saram writes: > Hi all > > i Have this item in a property drawer: > > :people: %^{people?|-|allan|bob|joel} > > now i have this custom agenda view defined > > (add-to-list 'org-agenda-custom-commands > '("sk" "wtd" > tags "people=\"allan\"" > ((org-agenda-sorting-strategy '(priority-down effort-down))) > )) > > yet when i launch it it never finds any items which have a :people: > allan entry in the drawer I believe you need to use regexp syntax. The above command will find only find property values that exactly match "allan". The following command will find property values containing "allan". (add-to-list 'org-agenda-custom-commands '("sk" "wtd" tags "people={allan}" ((org-agenda-sorting-strategy '(priority-down effort-down))) )) Best, Matt