From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Showing scheduled blocked tasks [SEC=UNCLASSIFIED] Date: Thu, 18 Mar 2010 06:59:01 +0100 Message-ID: <44FF7B70-3FEF-4A9F-AFA3-223D61B7D8E7@gmail.com> References: <2E4514CA-FE52-4608-B0A7-B2D99C2C0591@dsto.defence.gov.au> <3902E439-068D-43D6-9B29-BC409CFD41C5@gmail.com> <1C4ED174-A357-47BC-966A-193C3B1660BC@dsto.defence.gov.au> <9C287CA8-8B1D-4DF0-A25A-238F15D2F8A7@gmail.com> <1B58A011-6717-4DD9-A776-029E0E011122@dsto.defence.gov.au> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ns9jk-00006c-CB for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 03:01:44 -0400 Received: from [140.186.70.92] (port=54499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ns9jd-0008VE-Ds for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 03:01:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ns9jY-0002ou-GZ for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 03:01:36 -0400 Received: from mail-ew0-f227.google.com ([209.85.219.227]:62046) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ns9jX-0002Yu-Ka for emacs-orgmode@gnu.org; Thu, 18 Mar 2010 03:01:32 -0400 Received: by mail-ew0-f227.google.com with SMTP id 27so1039911ewy.14 for ; Thu, 18 Mar 2010 00:01:31 -0700 (PDT) In-Reply-To: <1B58A011-6717-4DD9-A776-029E0E011122@dsto.defence.gov.au> 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: Matthew Phillips Cc: Matthew Phillips , emacs-orgmode@gnu.org On Mar 17, 2010, at 1:53 AM, Matthew Phillips wrote: > On 16/03/2010, at 6:21 PM, Carsten Dominik wrote: > >> On Mar 16, 2010, at 1:36 AM, Matthew Phillips wrote: >> >>> On 16/03/2010, at 12:24 AM, Carsten Dominik wrote: >>> >>>> On Mar 15, 2010, at 1:23 AM, Matthew Phillips wrote: >>> >>> >>> >>>>> So, is there any way I can use a custom skip function in the =20 >>>>> TODO block to remove blocked tasks? Is there a way of getting =20 >>>>> the blocked status of a task from such a function? >>>> >>>> Yes, BLOCKED is a virtual property which does this. I think you =20= >>>> can just do a tags/property/todo search like this >>>> >>>> "-BLOCKED/+TODO=94 >>> >>> That query still shows the blocked tasks, unfortunately. >> >> My mistake: >> >> +BLOCKED<>"t"/+TODO >> >> This means that the BLOCKED property should not be equal to =93t=94. > > Hmm, the following query still does not work (still shows greyed =20 > blocked tasks) > > (tags "+BLOCKED<>\"t\"/+TODO") > > And using "+BLOCKED=3D\"t\"/TODO" selects nothing. I just tested it, and this is working properly for me. Are you running a recent version of Org-mode? The BLOCKED property was only added in 6.34. - Carsten