[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] show only top level TODO in agenda and ignore sub level TODOS in
From: |
Stig Brautaset |
Subject: |
Re: [O] show only top level TODO in agenda and ignore sub level TODOS in agenda? |
Date: |
Sat, 24 Dec 2016 17:20:47 +0000 |
User-agent: |
mu4e 0.9.19; emacs 25.1.1 |
Xebar Saram <address@hidden> writes:
> Thx stig. while thats an option i would prefer to keep the actual TODOS and
> not use lists for this
Another option is to use a different keyword, for example "PROJECT", for
things that have sub-TODOs, e.g.
,----
| * PROJECT start writing paper
| ** TODO Collect data
| ** TODO add references
`----
For that to work you may want to put something like this at the top of
the file:
,----
| #+TODO: TODO(t) PROJECT(p) | DONE(d@) CANCELLED(c@)
`----
Finally, a third option is to add a TODO (or TOPLEVEL) *TAG* and do
something like this at the top:
,----
| #+TAGS: { TOPLEVEL(t) SUBTASK(t) }
`----
Then, you can do
,----
| * TODO start writing paper :TOPLEVEL:
| ** TODO Collect data :SUBTASK:
| ** TODO add references :SUBTASK:
`----
You can filter for :TOPLEVEL: or :SUBTASK: from the agenda view. Of
course, you don't need both and it may be easier to just add one or the
other.
Hope this helps!
Stig