emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stig Brautaset <stig@brautaset.org>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: show only top level TODO in agenda and ignore sub level TODOS in agenda?
Date: Sat, 24 Dec 2016 17:20:47 +0000	[thread overview]
Message-ID: <m2fuldb5w0.fsf@Margil.home> (raw)
In-Reply-To: <CAOQHXPoQrfYVPdPc7tkBgx1422oAUOMoaoak5R+B1PfV9dSEgA@mail.gmail.com>


Xebar Saram <zeltakc@gmail.com> 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

  reply	other threads:[~2016-12-24 17:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-22 13:01 show only top level TODO in agenda and ignore sub level TODOS in agenda? Xebar Saram
     [not found] ` <E40FF04D-A043-41B8-B127-71A226B2D25F@icloud.com>
2016-12-23 18:52   ` Xebar Saram
2016-12-24 17:20     ` Stig Brautaset [this message]
     [not found] <2e73f9759d5a4b329e76150651fbeec2@HE1PR01MB1898.eurprd01.prod.exchangelabs.com>
2016-12-23 11:47 ` Eric S Fraga
2016-12-27 10:36   ` Marcin Borkowski
2016-12-28  7:53     ` Xebar Saram

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2fuldb5w0.fsf@Margil.home \
    --to=stig@brautaset.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).