[Top][All Lists]

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

[O] [PATCH] Add new '[not]todo-unblocked tests to org-agenda-skip-if

From: Toby Cubitt
Subject: [O] [PATCH] Add new '[not]todo-unblocked tests to org-agenda-skip-if
Date: Sun, 12 Feb 2012 22:18:44 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

This patch adds two new tests to `org-agenda-skip-if': 'todo-unblocked
and 'nottodo-unblocked. These match like 'todo and 'nottodo, but only on
unblocked todo items. This type of test is useful when compiling custom
agenda views containing lists of currently actionable todo items.

Whilst it's possible to code such tests in `org-agenda-custom-commands'
directly (well, Elisp is Turing-complete: you can in principle code
anything!), it's far less convenient than a simple `org-agenda-skip-if'
test which can reuse much of the existing machinery.

Note that the attached patch applies on top of my other "Fix
org-agenda-skip-if bug" patch, though this new feature is independent of
that bug-fix.

Dr T. S. Cubitt
Mathematics and Quantum Information group
Department of Mathematics
Complutense University
Madrid, Spain

email: address@hidden
web:   www.dr-qubit.org

Attachment: 0002-Agenda-Add-new-todo-unblocked-and-nottodo-unblocked-.patch
Description: Text Data

reply via email to

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