emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Josh Berry <des@condordes.net>
To: Christian Zang <christian.zang@googlemail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Custom Agenda View for Projects
Date: Thu, 17 Mar 2011 15:55:32 -0700	[thread overview]
Message-ID: <AANLkTikap6UdPq_axtzta=8XQ9KcSiWbVvrX8U81BZTc@mail.gmail.com> (raw)
In-Reply-To: <AANLkTiks5PfhNLDWHRrBCF4wiAYRjFnQfZPDvm4GPNCT@mail.gmail.com>

On Tue, Mar 15, 2011 at 14:35, Christian Zang
<christian.zang@googlemail.com> wrote:
> 2011/3/15 Christian Zang <christian.zang@googlemail.com>:
>> 2011/3/15 Manish <mailtomanish.sharma@gmail.com>:
>>> On Tue, Mar 15, 2011 at 11:54 AM, Christian Zang wrote:
>>>> 2011/3/15 Manish:
>>>>> On Tue, Mar 15, 2011 at 12:54 AM, Christian Zang wrote:
>>>>>> Dear all,
>>>>>>
>>>>>> I might be overlooking something very obvious, but I cannot find the
>>>>>> solution: I have various org files, in which "projects" (anything
>>>>>> requiring more than one action step...) are first level headings
>>>>>> marked using the TODO kwd PROJ. If I tell my agenda to list all items
>>>>>> with kwd PROJ (either via C-a T PROJ or as a custom agenda view via
>>>>>> "tags-todo "LEVEL=1""), only the ones without siblings are returned.
>>>>>> I've looked into "org-tags-match-list-sublevels" but this is not quite
>>>>>> the right thing to calibrate...
...
> Update: I found the culprit in "org-enforce-todo-dependencies", set to
> nil and all projects labeled as PROJ are displayed again. Have to
> think about why this affects the agenda views in that way...

Someone correct me if I'm wrong, but:

I think org considers child tasks to be dependencies of the parent
task -- so if a parent task (such as your PROJ) has children, it won't
be displayed in a tags-todo agenda view, because that takes
dependencies into account.

Have you tried just a "tags" view with a match of "TODO=\"PROJ\""?
IIRC this will do what you want.

So it would be:

       ("P" "Projects" tags "TODO=\"PROJ\""
        ((org-agenda-overriding-header "List of Projects")))

-- Josh

  parent reply	other threads:[~2011-03-17 22:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14 19:24 Christian Zang
2011-03-15  4:26 ` Manish
2011-03-15  6:24   ` Christian Zang
2011-03-15 17:12     ` Manish
2011-03-15 20:56       ` Christian Zang
2011-03-15 21:35         ` Christian Zang
2011-03-16 19:24           ` Jason McBrayer
2011-03-18 15:03             ` Bernt Hansen
2011-03-17 22:55           ` Josh Berry [this message]
2011-03-18 17:57             ` Jason McBrayer
2011-03-18 19:31               ` Josh Berry
2011-03-19  8:22                 ` Christian Zang

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='AANLkTikap6UdPq_axtzta=8XQ9KcSiWbVvrX8U81BZTc@mail.gmail.com' \
    --to=des@condordes.net \
    --cc=christian.zang@googlemail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: Custom Agenda View for Projects' \
    /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

Code repositories for project(s) associated with this 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).