From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Custom filtering the agenda by (file) tag Date: Wed, 5 Nov 2008 07:45:33 +0100 Message-ID: <2F829704-5F3A-4A73-BA9F-2D4CBA96AB5C@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kxc94-0005BU-Nv for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 01:45:38 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kxc94-0005BE-0c for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 01:45:38 -0500 Received: from [199.232.76.173] (port=60906 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxc93-0005B6-IB for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 01:45:37 -0500 Received: from ey-out-1920.google.com ([74.125.78.150]:43337) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kxc93-0001Ad-4t for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 01:45:37 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1259764eyg.24 for ; Tue, 04 Nov 2008 22:45:36 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Rick Moynihan Cc: emacs-orgmode@gnu.org Hi Rick, you would need to write your own skip function, using a call to (member "PERSONAL" (org-get-tags-at)) HTH - Carsten On Nov 5, 2008, at 12:18 AM, Rick Moynihan wrote: > Hi all, > > I've been setting up a whole bunch of org-agenda-custom-commands and > am having trouble setting up a filter to display ONLY items in the > agenda view which are tagged PERSONAL across all my org-agenda-files. > > I tried several ways to do this and ended up trying the following: > > (org-add-agenda-custom-command > '("b" agenda "Personal Agenda" > ((org-agenda-skip-function '(org-agenda-skip-subtree-if > 'notregexp ":PERSONAL:"))))) > > Unfortunately this doesn't appear to work with FILETAGS as it relies > on matching against a regex. How can I implement this view with full > tag support and inheritance? > > Thanks again, > > R. > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode