From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rick Moynihan" Subject: Custom filtering the agenda by (file) tag Date: Tue, 4 Nov 2008 23:18:01 +0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxV9y-0005kk-6E for emacs-orgmode@gnu.org; Tue, 04 Nov 2008 18:18:06 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxV9v-0005i9-Jr for emacs-orgmode@gnu.org; Tue, 04 Nov 2008 18:18:04 -0500 Received: from [199.232.76.173] (port=44018 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxV9v-0005i6-Dc for emacs-orgmode@gnu.org; Tue, 04 Nov 2008 18:18:03 -0500 Received: from wf-out-1314.google.com ([209.85.200.173]:17214) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KxV9v-0001Om-BP for emacs-orgmode@gnu.org; Tue, 04 Nov 2008 18:18:03 -0500 Received: by wf-out-1314.google.com with SMTP id 28so4430583wfc.18 for ; Tue, 04 Nov 2008 15:18:01 -0800 (PST) Content-Disposition: inline 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: emacs-orgmode@gnu.org 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.