From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Filter weekly/daily agenda by tag Date: Sun, 28 Oct 2012 13:53:33 +0100 Message-ID: <87390yiwqa.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSSMc-00082I-5z for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 08:53:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TSSMb-0002jV-E4 for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 08:53:14 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:33829) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TSSMb-0002jP-7P for emacs-orgmode@gnu.org; Sun, 28 Oct 2012 08:53:13 -0400 Received: by mail-wi0-f171.google.com with SMTP id hj13so1171168wib.12 for ; Sun, 28 Oct 2012 05:53:12 -0700 (PDT) In-Reply-To: (Alexander Baier's message of "Sun, 28 Oct 2012 12:58:04 +0100") 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: Alexander Baier Cc: emacs-orgmode@gnu.org 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