Search code examples
emacsorg-mode

org-mode agenda view matching tag and todo state


I would like to create an agenda view with org-agenda-custom-commands, which will connect capabilities todo-tree and tags-tree.

That's what I want to achieve, this sparse tree suited to such a search

C-c / m

JOB+TODO="NEXT"


Solution

  • I was able to find the answer. In .emacs I must add:

    (setq org-agenda-custom-commands
    '(
    ("j" "JOB next" tags-tree "JOB+TODO=\"NEXT\"" )))