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