[Top][All Lists]

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

Re: [O] match by property in agenda view

From: Matt Lundin
Subject: Re: [O] match by property in agenda view
Date: Sat, 09 Sep 2017 17:33:10 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

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


reply via email to

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