From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jean-Marie Gaillourdet Subject: Not a bug, but ... Date: Sun, 27 Jun 2010 11:41:01 +0200 Message-ID: <7B46216F-526B-448A-9518-31F0034C496B@gaillourdet.net> References: <877hlmkgpq.fsf@fastmail.fm> Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=47925 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OSoMM-00054c-0P for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 05:41:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OSoMK-0000yi-Co for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 05:41:05 -0400 Received: from smtprelay04.ispgateway.de ([80.67.31.42]:52681) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OSoMJ-0000yV-WB for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 05:41:04 -0400 Received: from [188.97.245.235] (helo=defiant.fritz.box) by smtprelay04.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1OSoMI-0004SB-71 for emacs-orgmode@gnu.org; Sun, 27 Jun 2010 11:41:02 +0200 In-Reply-To: <877hlmkgpq.fsf@fastmail.fm> 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: emacs-orgmode@gnu.org Hi, On 25.06.2010, at 22:19, Matt Lundin wrote: > Jean-Marie Gaillourdet writes: >=20 >> I've been trying to make org-stuck-projects work as advertised, but >> wasn't successfull. >>=20 >> 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. >>=20 >> After reading the manual and the doc-string of org-stuck-projects. I >> think the following value should achieve this. >>=20 >> (setq org-stuck-projects '("/PROJECT" ("TODO" "STARTED") nil "")) >>=20 >> 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. >>=20 >> * PROJECT Testprojekt = :inproject: >> *** DELEGATED a delegated subtask >>=20 >=20 > I cannot replicate this. Using the setting above, I called > org-agenda-list-stuck-projects on the following file: >=20 > --8<---------------cut here---------------start------------->8--- > #+TODO: TODO PROJECT DELEGATED WAITING | DONE >=20 > * PROJECT Testprojekt = :inproject: > ** DELEGATED a delegated subtask > * PROJECT Another test > ** TODO A todo =09 > --8<---------------cut here---------------end--------------->8--- >=20 > The agenda yielded the correct results: >=20 > --8<---------------cut here---------------start------------->8--- > List of stuck projects:=20 > test: PROJECT Testprojekt = :inproject: > --8<---------------cut here---------------end--------------->8--- Finally, I've understood the problem. Testprojekt does not appear on my = stuck projects list, because I've enabled org-enforce-todo-dependencies = and I use (org-agenda-dim-blocked-tasks 'invisible). Testprojekt is just = hidden in the stuck projects, as is every project with any kind of = non-closed sub task. Perhaps org-agenda-list-stuck-projects should = ignore the value of org-agenda-dim-blocked-tasks in general? Currently, I use the following function to circumvent the hiding of my = stuck projects. (defun jmg/stuck-projects () (interactive) (let ((org-agenda-dim-blocked-tasks nil)) (org-agenda-list-stuck-projects) )) Is it possible to bind it to the standard agenda shortcut C-c a # ? Or = to achieve the same effect just with special agenda command = configuration? Thanks, for your help. Regards, Jean=