emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Accessing CATEGORY for custom agenda command
@ 2011-02-11 19:00 Markus Heller
  2011-02-11 19:39 ` Bastien
  2011-03-18 23:10 ` Matt Lundin
  0 siblings, 2 replies; 5+ messages in thread
From: Markus Heller @ 2011-02-11 19:00 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I'm trying to get the following to work:

(org-add-agenda-custom-command
 '("X" tags "Task"
   ((org-agenda-skip-function '(org-agenda-skip-entry-if 
				'notregexp "Admin"))
    (org-agenda-overriding-header "  Test"))))


I want all entries that have the tag "TASK" and that have the category
"Admin" shown in the agenda.

I set the category in my org files like this:

#+CATEGORY: Admin
#+FILETAGS: ADMIN
* Tasks [5/6]							       :TASK:
** TODO Drop off Stuff
** DONE F'up on other stuff

I also tried using 'notregexp "ADMIN" to go after the FILETAG, but
either way, the search yields no hits.

I have the feeling that I'm misunderstanding something pretty badly and
would appreciate any help :-)

Thanks and Cheers
Markus

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-03-21 20:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-11 19:00 Accessing CATEGORY for custom agenda command Markus Heller
2011-02-11 19:39 ` Bastien
2011-02-11 23:28   ` Markus Heller
2011-03-18 23:10 ` Matt Lundin
2011-03-21 20:32   ` Markus Heller

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).