Next: , Previous: Global TODO list, Up: Built-in agenda views


10.3.3 Matching tags and properties

If headlines in the agenda files are marked with tags (see Tags), you can select headlines based on the tags that apply to them and collect them into an agenda buffer.

C-c a m
Produce a list of all headlines that match a given set of tags. The command prompts for a selection criterion, which is a boolean logic expression with tags, like `+work+urgent-withboss' or `work|home' (see Tags). If you often need a specific search, define a custom command for it (see Agenda dispatcher).
C-c a M
Like C-c a m, but only select headlines that are also TODO items and force checking subitems (see variable org-tags-match-list-sublevels). Matching specific TODO keywords together with a tags match is also possible, see Tag searches.

The commands available in the tags list are described in Agenda commands.