From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Baier Subject: Re: Filter weekly/daily agenda by tag Date: Sun, 28 Oct 2012 16:28:50 +0100 Message-ID: References: <87390yiwqa.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:44317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSUnF-000302-FJ for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 11:28:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSUnD-0004Qh-GO for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 11:28:53 -0400 Received: from mail-vc0-f169.google.com ([209.85.220.169]:44133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSUnD-0004QW-C5 for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 11:28:51 -0400 Received: by mail-vc0-f169.google.com with SMTP id fl17so5091112vcb.0 for ; Sun, 28 Oct 2012 08:28:50 -0700 (PDT) In-Reply-To: <87390yiwqa.fsf@bzg.ath.cx> 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: Bastien Cc: emacs-orgmode@gnu.org 2012/10/28 Bastien : > Hi Alexander, > > Alexander Baier writes: > >> (setq org-agenda-custom-commands >> '(("d" "Test Tag Filter" >> ((agenda "" >> ((org-agenda-files '("~/org/WeeklyFilterTest.org")) >> (org-agenda-filter "-EXCL"))))))) > > You need to locally bind `org-agenda-tag-filter-preset' to a list of > tags like '("-EXCL"). > > I did not test, but this should be okay: > > (setq org-agenda-custom-commands > '(("d" "Test Tag Filter" > ((agenda "" > ((org-agenda-files '("~/org/WeeklyFilterTest.org")) > (org-agenda-tag-filter-preset '("-EXCL")))))))) > > PS: You're right that org-agenda-filter does not exist. > > -- > Bastien This works as wanted it to, thank you! Another question: Do you know if there is any documentation on the settings i can pass to the commands in org-agenda-custom-commands? Regards Alexander