From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: Bug: Definition of stuck projects [6.36trans (release_6.36.293.g2e73c)] Date: Fri, 25 Jun 2010 16:19:45 -0400 Message-ID: <877hlmkgpq.fsf@fastmail.fm> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=44092 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSFIT-0007ob-9T for emacs-orgmode@gnu.org; Fri, 25 Jun 2010 16:14:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSFIR-000227-U3 for emacs-orgmode@gnu.org; Fri, 25 Jun 2010 16:14:45 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:42048) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSFIR-00021w-R6 for emacs-orgmode@gnu.org; Fri, 25 Jun 2010 16:14:43 -0400 In-Reply-To: (Jean-Marie Gaillourdet's message of "Fri, 25 Jun 2010 17:05:13 +0200") 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: Jean-Marie Gaillourdet Cc: emacs-orgmode@gnu.org Jean-Marie Gaillourdet writes: > I've been trying to make org-stuck-projects work as advertised, but > wasn't successfull. > > But let's start with what I'd like to achieve. My projects are marked > with a todo keyword PROJECT. I would like to consider every project > which has neither a task with keyword TODO nor a task with keyword > STARTED as stuck. Especially, this means a project may contain tasks > with active todo keywords, e.g. DELEGATED or WAITING, but it is still > considered stuck. > > After reading the manual and the doc-string of org-stuck-projects. I > think the following value should achieve this. > > (setq org-stuck-projects '("/PROJECT" ("TODO" "STARTED") nil "")) > > But every sub task of the project with an active todo keywords make a > project unstuck. I have the impression the list ("TODO" "STARTED") is > completely ignored. The following project should appear on the list of > stuck projects, but it does not. > > * PROJECT Testprojekt :inproject: > *** DELEGATED a delegated subtask > I cannot replicate this. Using the setting above, I called org-agenda-list-stuck-projects on the following file: --8<---------------cut here---------------start------------->8--- #+TODO: TODO PROJECT DELEGATED WAITING | DONE * PROJECT Testprojekt :inproject: ** DELEGATED a delegated subtask * PROJECT Another test ** TODO A todo --8<---------------cut here---------------end--------------->8--- The agenda yielded the correct results: --8<---------------cut here---------------start------------->8--- List of stuck projects: test: PROJECT Testprojekt :inproject: --8<---------------cut here---------------end--------------->8--- Best, Matt