Re: [O] match by property in agenda view

2017-09-09 Thread Matt Lundin
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




[O] match by property in agenda view

2017-09-07 Thread Xebar Saram
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

what am i missing?

thx

Z