Re: [Orgmode] how to filter CATEGORY entries in org-agenda-custom command (agenda)?

2011-02-26 Thread Bastien
Hi Rainer,

Rainer Stengele rainer.steng...@diplan.de 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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] how to filter CATEGORY entries in org-agenda-custom command (agenda)?

2011-02-22 Thread Rainer Stengele
Am 11.02.2011 11:32, schrieb Bastien:
 Hi Rainer,

 Rainer Stengele rainer.steng...@diplan.de 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

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] how to filter CATEGORY entries in org-agenda-custom command (agenda)?

2011-02-11 Thread Bastien
Hi Rainer,

Rainer Stengele rainer.steng...@diplan.de 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,

-- 
 Bastien

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] how to filter CATEGORY entries in org-agenda-custom command (agenda)?

2010-12-21 Thread Rainer Stengele
Hi all!

how to filter CATEGORY entries in org-agenda-custom command (agenda)?

Sorry I cannot find it. I know how to filter such entries in tags-todo blocks:

tags-todo -CATEGORY=\PADUA\-CATEGORY=\PADUA-LH\-CATEGORY=\PADUA-PH\

but I cannot find an equivalent for the (agenda) part of my custom command.

- Rainer



___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode