From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Lazy project definitions Date: Mon, 17 May 2010 08:14:17 -0400 Message-ID: <878w7ipvxi.fsf@gollum.intra.norang.ca> References: <878w7jbl6m.fsf@gollum.intra.norang.ca> <2C475BA4-862D-434D-A123-8AADAF8A8EB2@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=48676 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ODzDE-0005bP-09 for emacs-orgmode@gnu.org; Mon, 17 May 2010 08:14:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ODzDC-00078q-86 for emacs-orgmode@gnu.org; Mon, 17 May 2010 08:14:23 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:52809) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ODzDC-00078l-5h for emacs-orgmode@gnu.org; Mon, 17 May 2010 08:14:22 -0400 In-Reply-To: <2C475BA4-862D-434D-A123-8AADAF8A8EB2@gmail.com> (Carsten Dominik's message of "Mon\, 17 May 2010 11\:43\:17 +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: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik writes: > In the stuck project definition, adding "^\\*\\{3,\\}" as the 4th > element should exclude anything that has level 3 or up in the subtree. I don't think this will work. The regexp matches all tasks with level 3 or higher subtrees ... which is all projects so all projects are considered unstuck. I need to be able to somehow say a project is not stuck if it doesn't have a level 3 task (ie. no children) because it's not a project in this case. Is there a way to do that? Regards, Bernt