[O] searching properties, not tags

2012-12-27 Thread Christopher W. Ryan
From what I have seen, most of the org-mode manual documentation about
searching or matching tags and properties is about the former, rather
than the latter. How would I search out all the headlines that have a
property of a certain value?  For example:

** Tigger
   :PROPERTIES:
   :species:  tiger
   :color:striped
   :clothing: none
   :END:
** Eeyore
   :PROPERTIES:
   :species:  donkey
   :color:grey
   :clothing: none
   :END:
** Winnie The Pooh
   :PROPERTIES:
   :species:  bear
   :color:yellow
   :clothing: red shirt
   :END:

How would I search for all the tigers?

Thanks.

--Chris Ryan



Re: [O] searching properties, not tags

2012-12-27 Thread Bastien
Hi Christopher,

Christopher W. Ryan cr...@binghamton.edu writes:

 How would I search for all the tigers?

(setq org-agenda-custom-commands
  '((o List of tigers
 ((tags +species=\tiger\)

HTH,

-- 
 Bastien



Re: [O] searching properties, not tags

2012-12-27 Thread Christopher W. Ryan
Well, that put me on the right track. I wasn't looking for a persistent
custom search command, just one I could execute ad hoc, since sometimes
I'd be looking for tigers and sometimes for bears, etc.

But with this to go on, I found that

C-c a m species=tiger

does what I want.

Previously, my problem was I was not using the quotes.

Thanks.

--Chris

Bastien wrote:
 Hi Christopher,
 
 Christopher W. Ryan cr...@binghamton.edu writes:
 
 How would I search for all the tigers?
 
 (setq org-agenda-custom-commands
   '((o List of tigers
((tags +species=\tiger\)
 
 HTH,