Treat no effort defined as 0 minutes.
commitdc438851021ba340bbff3462671e2b142ff6bdbf
authorCarsten Dominik <carsten.dominik@gmail.com>
Tue, 11 Nov 2008 05:56:32 +0000 (11 06:56 +0100)
committerCarsten Dominik <carsten.dominik@gmail.com>
Tue, 11 Nov 2008 05:56:32 +0000 (11 06:56 +0100)
tree8838fd88662d5f061b47428c9f86486c51f58613
parent87949df70ed0c6d3541d767c3414fef84b13dbd8
Treat no effort defined as 0 minutes.

Bernt Hanses writes:

This changes the default value for Effort during agenda filtering so
that an undefined Effort value is treated as 0 instead of nil.  Tasks
with no effort defined now return zero effort when selecting tasks for
the filter.

There was effectively no way to select 'tasks with no effort defined'
using the agenda effort filter.  The '<' operator is interpreted as
'<=' and the default effort selection defined in
org-agenda-filter-by-tag starts with zero ("0 0:10 ...") so this
change just treats tasks with no effort defined the same as tasks with
an effort of 0.

This allows fast selection of NEXT tasks with no effort defined.
Column view with follow-mode active in the agenda is great for quickly
filling in the agenda estimated effort values for tasks.  Just display
your Next tasks, then / 0 to select tasks with no effort and enter
column mode (C-c C-x C-c) and fill in your effort values with the
quick keys (0-9) for all of the tasks that have blanks in the effort
column.
lisp/ChangeLog
lisp/org-agenda.el