emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Wiskey 5 Alpha <wiskey5alpha@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Showing only subprojects in the agenda
Date: Tue, 19 Feb 2013 18:56:13 -0500	[thread overview]
Message-ID: <87ip5ndfj6.fsf@norang.ca> (raw)
In-Reply-To: <CAE89rnzXWdkPrTkg6oZSpACyr985Yfk3WghcXa7C5V28UadJjw@mail.gmail.com> (Wiskey's message of "Mon, 18 Feb 2013 22:45:35 -0500")

Wiskey 5 Alpha <wiskey5alpha@gmail.com> writes:

>     I'm sure this is not as complicated as i am making it out to be, but i have tried every option i can think of.
>
>     My org files consist of three todo states : TODO NEXT | DONE
> Any TODO is a project, and it may have sub projects like so :
>
> * TODO Make dinner
> ** TODO Make homemade pizza
> *** NEXT roll out the crust
> *** NEXT add sauce
> *** NEXT add cheese
> ** TODO Make a side salad
> *** NEXT chop lettuce
> *** NEXT chop tomatos
>
> What I would like is to have my projects list agenda show :
> TODO Make homemade pizza
> TODO Make side salad
>
> Basically, my projects are any TODO that has no TODO children, but may have NEXT children.
>
> How can i get the agenda view to only show them ?
>
> thanks
> -Tim

Hi Tim,

You should be able to achieve what you are looking for with a custom
agenda skip function.  I have skip functions to show (or skip) projects
in my setup and you should be able to adapt some of that for your needs.

See

http://doc.norang.ca/org-mode.html#CustomAgendaViewSetup and 
http://doc.norang.ca/org-mode.html#Projects

for examples of what I use.

Regards,
Bernt

  reply	other threads:[~2013-02-19 23:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19  3:45 Showing only subprojects in the agenda Wiskey 5 Alpha
2013-02-19 23:56 ` Bernt Hansen [this message]
2013-02-20  4:06   ` Tim
2013-02-20 11:54     ` Bernt Hansen
2013-02-28  3:41       ` Tim

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=87ip5ndfj6.fsf@norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=wiskey5alpha@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).