From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josh Berry Subject: Re: Custom Agenda View for Projects Date: Fri, 18 Mar 2011 12:31:19 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from [140.186.70.92] (port=58126 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0fOL-0001Le-IV for emacs-orgmode@gnu.org; Fri, 18 Mar 2011 15:31:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0fOK-0002CG-AE for emacs-orgmode@gnu.org; Fri, 18 Mar 2011 15:31:21 -0400 Received: from mail-qw0-f41.google.com ([209.85.216.41]:58265) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0fOK-0002CB-6P for emacs-orgmode@gnu.org; Fri, 18 Mar 2011 15:31:20 -0400 Received: by qwa26 with SMTP id 26so3921540qwa.0 for ; Fri, 18 Mar 2011 12:31:19 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jason McBrayer Cc: emacs-orgmode@gnu.org, Christian Zang On Fri, Mar 18, 2011 at 10:57, Jason McBrayer wrote: > On Thu, Mar 17, 2011 at 6:55 PM, Josh Berry wrote: > >> 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. > > That's a logical explanation, but shouldn't this only be the case if > the parent has the :ORDERED: property set? No, if :ORDERED: is set, then each child is a dependency of the next child. So if you have: * TODO top ... :ORDERED: t ... ** TODO a ** TODO b ** TODO c Only "a" will appear in your agenda view. But if you have: * TODO top ** TODO a ** TODO b ** TODO c All children of "top"--that is, "a", "b" and "c"--will appear. However, in neither case will "top" appear, because it has children that are not yet completed. >> Have you tried just a "tags" view with a match of "TODO=\"PROJ\""? >> IIRC this will do what you want. > > I gave this a test, and apparently it does not. What's shown is still > dependent on the value of org-enforce-todo-dependencies. I see, it does not, my bad. I tried experimenting a bit on my own, and didn't find an easy way using just agendas. You might consider experimenting with Stuck Projects though. If you consider all projects to be "stuck", you could probably build an agenda view that shows you all projects regardless of what's in them. (I don't use stuck projects myself, so YMMV.) -- Josh