From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Agenda filtering Date: Mon, 03 Jul 2017 06:12:41 +0200 Message-ID: <871spy3rut.fsf@bzg.fr> References: <87h98194od.fsf@aquinas.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dRvj1-0001aQ-V3 for emacs-orgmode@gnu.org; Mon, 03 Jul 2017 03:24:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dRvj0-0007X5-ML for emacs-orgmode@gnu.org; Mon, 03 Jul 2017 03:24:51 -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" To: Richard Lawrence Cc: emacs-orgmode@gnu.org Hi Richard, Richard Lawrence writes: > Is there a simple way for me to say to the agenda, "Show me all (and > only) the NEXT tasks that are part of a project whose deadline is before > (say) 2016-11-01"? It seems like this should be possible with the > built-in agenda but I can't quite figure it out. The tricky thing is > filtering by the deadline of the parent project, which might be several > levels up. I would add a category to each project, then use something along this: ("N" "My important tasks" tags-todo "CATEGORY={cat1\\|cat2}+TODO={NEXT}+DEADLINE<=\"<+3d>\"") HTH, -- Bastien