From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pohlack Subject: Re: skip entry with inherited tags Date: Tue, 18 May 2010 13:18:37 +0200 Message-ID: <4BF2778D.9070702@os.inf.tu-dresden.de> References: <20100518074232.GA10524@mteege.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=51524 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OEKox-00029c-AX for emacs-orgmode@gnu.org; Tue, 18 May 2010 07:18:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OEKor-00054E-3e for emacs-orgmode@gnu.org; Tue, 18 May 2010 07:18:45 -0400 Received: from os.inf.tu-dresden.de ([141.76.48.99]:51377) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OEKoq-00053V-Bv for emacs-orgmode@gnu.org; Tue, 18 May 2010 07:18:40 -0400 In-Reply-To: <20100518074232.GA10524@mteege.de> 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: Matthias Teege , emacs-orgmode@gnu.org Hi, On 18.05.2010 09:42, Matthias Teege wrote: > Moin, > > I'm using a simple skip-function to exclude todos from a list. > > (defun my-skip-someday-and-scheduled () > "" > (org-agenda-skip-entry-if 'scheduled 'regexp ":SOMEDAY:")) > > That works when the tag was assigned to an entry but not when it was > inherited from a parent. How do I get all tags for an entry? I have been using the same approach with the same limitations. I stumbled upon the "tags filter preset", which supposedly should filter out headlines with a specific tag set. I tried to set it to "-maybe" but it did not seem to have an effect with the default "Agenda" type. Is this supposed to work? Maybe this can help in your case: For custom "Tags search" agenda entries I directly inline all relevant tag queries like so: TODO="INBOX"-maybe|TODO="WAIT"-maybe+SCHEDULED<=""|TODO="TICK"-maybe+SCHEDULED<="" Cheers, Martin