From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?UmFkb3PFgmF3IEdyemFua2E=?= Subject: Filtering agenda by tags. Date: Wed, 20 Apr 2011 12:17:50 +0200 Message-ID: <4DAEB2CE.2040708@gmail.com> Reply-To: radoslawg@gmail.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCUU0-00025P-5d for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 06:18:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QCUTz-0005KU-Do for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 06:18:04 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:38233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QCUTz-0005KN-8v for emacs-orgmode@gnu.org; Wed, 20 Apr 2011 06:18:03 -0400 Received: by bwz17 with SMTP id 17so592240bwz.0 for ; Wed, 20 Apr 2011 03:18:02 -0700 (PDT) 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: Org-mode ml Hello, I have another problem which I fail on resolving. Let's say I have a org file -------------- #+FILETAGS: work * Do something at work * Do something at the internet :internet: -------------- and another file: -------------- * Do something at home :home: * Do something at the internet :internet: * Some other untagged task -------------- I'd like to have two agenda views: 1. should show things I can do at work and internet and untagged tasks 2. should show things I can do at home and internet and untagged tasks I fail with defining custom agenda views. I've browsed google and already tried: - org-agenda-filter-preset - but that seems not to support "or" (maybe I'm missing something?) - org-agenda-skip-function - which I found googling around - with regexp like '(org-agenda-skip-subtree-if 'regexp ":work:")' - but that seems not to support "inherited" tags. I'm using latest git checkout org and emacs 23.3.1 on windows. Thanks for any tip Radek.