[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] how to filter CATEGORY entries in org-agenda-custom comman
From: |
Rainer Stengele |
Subject: |
Re: [Orgmode] how to filter CATEGORY entries in org-agenda-custom command (agenda)? |
Date: |
Tue, 22 Feb 2011 14:40:56 +0100 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.17) Gecko/20080914 Lightning/0.8 Thunderbird/2.0.0.17 Mnenhy/0.7.5.666 |
Am 11.02.2011 11:32, schrieb Bastien:
> Hi Rainer,
>
> Rainer Stengele <address@hidden> writes:
>
>> how to filter CATEGORY entries in org-agenda-custom command (agenda)?
> You can do this by setting `org-agenda-skip-function' to a function
> that matches CATEGORY. You can find a subtree's category through
>
> (org-entry-get (point) "CATEGORY")
>
> HTH,
>
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")
in the middle of my file under any headline and evaluating it gives me "nil".
Shouldn't the code give me "TEST"?
- Rainer