From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neilen Marais Subject: Custom agenda: tasks scheduled today or earlier and tags Date: Fri, 7 Oct 2011 08:41:14 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:37981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RC5zk-0007WP-67 for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 04:41:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RC5zj-0002A0-4N for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 04:41:28 -0400 Received: from lo.gmane.org ([80.91.229.12]:34839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RC5zi-00029u-St for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 04:41:27 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RC5zh-0007u0-Qk for emacs-orgmode@gnu.org; Fri, 07 Oct 2011 10:41:26 +0200 Received: from 196.24.41.254 ([196.24.41.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Oct 2011 10:41:25 +0200 Received: from nmarais by 196.24.41.254 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 07 Oct 2011 10:41:25 +0200 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: emacs-orgmode@gnu.org Hi, I would like to make a custom agenda that 1) filters based on tags then 2) filters on TODO status then 3a) shows all un-scheduled tasks 3b) shows all tasks scheduled for today or earlier I am doing this to implement a kind of "tickler" file for GTD. Currently I have custom agenda that does 1) and 2): ("c" "Context Next Tasks" tags-todo ("@context1|@contex2") ((org-agenda-skip-function '(org-agenda-skip-entry-if 'nottodo '("NEXT"))) (org-agenda-sorting-strategy '(tag-up)) (org-agenda-overriding-header "Context Next Tasks") )) I tried defining a lambda around the org-agenda-skip-entry-if to combine logical conditions and also tried to figure out how to find out if the schedule date is today or earlier, but my rather weak elisp-foo let me down. Anyone done something similar? Thanks Neilen