From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Agenda todo filter order Date: Sun, 08 May 2011 12:01:47 -0400 Message-ID: <87pqntfafo.fsf@norang.ca> References: <87zknlhici.fsf@norang.ca> <87tydthi1x.fsf@norang.ca> <08D28BBE-80FF-4754-97BB-9674D2EB7CB5@gmail.com> <878vujiv6x.fsf@norang.ca> <87tyd5fapn.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:40864) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJ6Qa-0005h1-BZ for emacs-orgmode@gnu.org; Sun, 08 May 2011 12:01:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QJ6QZ-0006hu-2Y for emacs-orgmode@gnu.org; Sun, 08 May 2011 12:01:52 -0400 Received: from mho-04-ewr.mailhop.org ([204.13.248.74]:25056 helo=mho-02-ewr.mailhop.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJ6QY-0006ho-Vj for emacs-orgmode@gnu.org; Sun, 08 May 2011 12:01:50 -0400 In-Reply-To: <87tyd5fapn.fsf@norang.ca> (Bernt Hansen's message of "Sun, 08 May 2011 11:55:48 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Bernt Hansen writes: > Carsten Dominik writes: > >> On 6.5.2011, at 19:40, Bernt Hansen wrote: >> >>> Hi Carsten, >>> >>> Thanks for the patch! This almost does what I want :) >>> >>> This patch works for TODO agendas but not tags match agendas which is >>> what I am trying to use. >>> >>> C-c a y returns the result I want >>> C-c a x should be identical and is not. >> >> >> Hi Bernt, >> >> here is a patch to *replace* the other patch I sent earlier. This one >> should also work for tags-todo searches.... >> >> Completely untested...... > > Hi Carsten, > > This patch works for me. I'll be running with it on my master branch > until further notice. > > Thanks!! > > Bernt Bah. I spoke too soon on that. It works great for the minimal example I sent earlier but as soon as I applied to to my regular files my list of REFILE tasks is broken. (tags "LEVEL=1+REFILE" ((org-agenda-overriding-header "Notes and Tasks to Refile") (org-agenda-overriding-header "Tasks to Refile"))) This now returns tasks without REFILE as a tag -- I think maybe it's getting ALL level 1 headings. So tag filtering is broken with this patch. -Bernt