From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: skip-entry-if category Date: Sun, 23 Aug 2009 11:41:43 +0100 Message-ID: <5B1DCDDC-405B-4D37-AD03-81F13FF00F7D@gmail.com> References: <87vdkg5xws.fsf@mean.albasani.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfAWG-0005Gs-NN for emacs-orgmode@gnu.org; Sun, 23 Aug 2009 06:41:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfAWB-00055u-NX for emacs-orgmode@gnu.org; Sun, 23 Aug 2009 06:41:51 -0400 Received: from [199.232.76.173] (port=41527 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfAWB-000552-Kw for emacs-orgmode@gnu.org; Sun, 23 Aug 2009 06:41:47 -0400 Received: from mail-ew0-f211.google.com ([209.85.219.211]:64348) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MfAWA-00039g-Gf for emacs-orgmode@gnu.org; Sun, 23 Aug 2009 06:41:46 -0400 Received: by ewy7 with SMTP id 7so1694965ewy.31 for ; Sun, 23 Aug 2009 03:41:45 -0700 (PDT) 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: Matt Lundin Cc: Memnon Anon , emacs-orgmode@gnu.org On Aug 22, 2009, at 2:47 PM, Matt Lundin wrote: > Hi Memnon > > Memnon Anon wrote: >> However, there is one thing I am not able to figure out: >> >> Using skipping, it is easy to limit my daily agenda to certain tags >> like: >> (org-agenda-skip-function '(org-agenda-skip-entry-if 'notregexp >> ":STUDIUM:")))) >> >> Is it possible to do the same with Categories? >> I think there must be a way, but all my attempts did not work :(. > > I believe this is not possible with the built in org agenda skip > functions, since they search only the text within the subtree and do > not recognize inherited tags and properties. > > However, I suspect that one could build a skip function using > org-entry-properties that would accomplish this goal. Much faster in this special case will be to use `org-get-category' instead of accessing all properties of the entry with org-entry-properties. - Carsten