From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [help] A org agenda command Date: Mon, 23 Apr 2007 21:11:14 +0200 Message-ID: <9317ac8ef4b544f84de2011a23d769d8@science.uva.nl> References: <8bbaaec901190cf1570574695f22c1fa@science.uva.nl> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hg41v-0001RW-F6 for emacs-orgmode@gnu.org; Mon, 23 Apr 2007 15:16:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hg41u-0001RC-PE for emacs-orgmode@gnu.org; Mon, 23 Apr 2007 15:16:55 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hg41u-0001R9-Ky for emacs-orgmode@gnu.org; Mon, 23 Apr 2007 15:16:54 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hg3wT-0004C7-JI for emacs-orgmode@gnu.org; Mon, 23 Apr 2007 15:11:17 -0400 In-Reply-To: <8bbaaec901190cf1570574695f22c1fa@science.uva.nl> 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, Leo On Apr 23, 2007, at 15:24, Carsten Dominik wrote: > > (setq org-stuck-projects > '("+LEVEL=2/-DONE" ("*") ("*"))) In fact, the following will also be possible, allowing just what you asked for: (setq org-stuck-projects '("LEVEL=2/-DONE" ("*") ("*") "\\<\\(SCHEDULED\\|DEADLINE\\): <")) The last element is an arbitrary regular expression. If it matches in the project tree, the project is considered unstuck. - Carsten -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477