From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Agenda view filter Date: Wed, 27 Jul 2011 18:18:22 +0200 Message-ID: <878vrju27l.fsf@gnu.org> References: <2152B3DFC552DE47A0A36CCC93D73531043A04C1@mx01.ecoplan.local> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm6oB-000152-WF for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 12:18:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qm6o5-0000Dt-OV for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 12:18:08 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:34700) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qm6o5-0000Dn-G9 for emacs-orgmode@gnu.org; Wed, 27 Jul 2011 12:18:01 -0400 Received: by wwf22 with SMTP id 22so1248289wwf.30 for ; Wed, 27 Jul 2011 09:18:00 -0700 (PDT) In-Reply-To: <2152B3DFC552DE47A0A36CCC93D73531043A04C1@mx01.ecoplan.local> (Renger van Nieuwkoop's message of "Tue, 26 Jul 2011 13:17:22 +0000") 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: Renger van Nieuwkoop Cc: "emacs-orgmode@gnu.org" Hi Renger, Renger van Nieuwkoop writes: > I try to define a view that should show me my agenda for today with > all NEXT/TODO items with priority A. > I found some code for the priority but did not manage to get it > running with filtering for NEXT/TODO (I tried adding (todo “NEXT| > TODO”) but that did not work). > > (setq org-agenda-custom-commands > '(("p" "Prio A and scheduled" agenda "" > ((org-agenda-entry-types '(:scheduled)) > (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp "\\[# > A\\]")))) > ) I don't have time to help more right now but I suggest you read this great tutorial: http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html Best, -- Bastien