Agenda: Do not make tasks invisible if they are blocked by checkboxes.
commit06056781fef0df592c3cf974807092c896227723
authorCarsten Dominik <carsten.dominik@gmail.com>
Thu, 19 Feb 2009 10:12:52 +0000 (19 11:12 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Thu, 19 Feb 2009 10:12:52 +0000 (19 11:12 +0100)
tree15f6ef244ca0d01d2b4c90d43dd05ce50c572ff0
parentfa54d8104a4fa84924c1ce13cd8153b12c10f110
Agenda: Do not make tasks invisible if they are blocked by checkboxes.

John Rakestraw writes:

>  I noticed today that, at least in my set-up, setting these variables
>  this way:
>
>    (setq org-agenda-dim-blocked-tasks 'invisible)
>    (setq org-enforce-todo-checkbox-dependencies t)
>
>  means that a TODO task with checkboxes doesn't get included in the
>  agenda. However, the sub-tasks in the checkbox list don't get included,
>  either. So the TODO task with checkboxes doesn't show up in the agenda.
>
>  It makes sense given the way the variables work. However, I wonder if
>  it makes more sense for a task with checklisted sub-tasks to be
>  included in the agenda so that the tasks and sub-tasks don't get lost.
>  Or, to put the point slightly differently, I think that a TODO that's
>  blocked because it has dependent TODOs might be treated differently in
>  agenda listings than a TODO that's blocked because it has dependent
>  checklist items.
>
>  Not a big deal to me because I don't typically use checkboxes for TODO
>  items. But I thought I'd raise it for consideration.

I agree with this view and the commit implements exactly this.
lisp/ChangeLog
lisp/org-agenda.el
lisp/org.el