From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: how to filter CATEGORY entries in org-agenda-custom command (agenda)? Date: Sat, 26 Feb 2011 10:27:05 +0100 Message-ID: <87oc5yg41v.fsf@altern.org> References: <87oc6iyi8b.fsf@gnu.org> <4D63BCE8.5080503@diplan.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=50991 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtMtd-0004sD-Jr for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 11:21:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtMtY-0007IG-HQ for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 11:21:29 -0500 Received: from mail-fx0-f41.google.com ([209.85.161.41]:46629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtMtY-0007Hy-9l for emacs-orgmode@gnu.org; Sat, 26 Feb 2011 11:21:24 -0500 Received: by fxm5 with SMTP id 5so3080472fxm.0 for ; Sat, 26 Feb 2011 08:21:23 -0800 (PST) In-Reply-To: <4D63BCE8.5080503@diplan.de> (Rainer Stengele's message of "Tue, 22 Feb 2011 14:40:56 +0100") 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: Rainer Stengele Cc: emacs-orgmode@gnu.org Hi Rainer, Rainer Stengele writes: > Hi Bastien, > > I am in the middle of my org file, having a > > #+CATEGORY: TEST > > in line 1 of the file. Putting the code > > (org-entry-get (point) "CATEGORY") As Sebastian said please use CATEGORY as a property instead of a general metadata. org-entry-get will match properties in :PROPERTIES:. Thanks, -- Bastien