11
votes

This seems like a common use, so I suspect I'm missing something...

During my daily planning, I add or remove tasks for the day by changing the task's scheduled day (C-c s). I use column view while in the agenda view for the day to see how much I've scheduled for the day. When I complete a task, I mark it DONE.

I don't want the DONE tasks to show up in this view because their time still contributes to the total (I want a running total of what I have left in the day).

But I can't figure-out how to filter by TODO status. '/' lets me filter by tag, but how do I filter by status?

3

3 Answers

17
votes

I think what you want is to set org-agenda-skip-scheduled-if-done to t.

See the Manual: Deadlines and Scheduling. It will hide any scheduled tasks that are already completed.

1
votes

For those who stumbled on this and found toggling org-agenda-skip-scheduled-if-done not work, use C-c C-x C-a to add :ARCHIVE: tag. Org will skip tasks tagged ARCHIVE.

http://orgmode.org/manual/Archiving.html#Archiving

0
votes

The accepted answer did not work for me, so I came up with my own. Adding this line to your init file implements the desired behavior:

(setq org-agenda-skip-function-global '(org-agenda-skip-entry-if 'todo 'done))

Here is the source which led me to the answer https://orgmode.org/manual/Special-Agenda-Views.html.