emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] changing face (color) on tags-todo agenda headlines


From: Sullivan, Gregory (US SSA)
Subject: [Orgmode] changing face (color) on tags-todo agenda headlines
Date: Tue, 8 Dec 2009 11:46:25 -0500

I'd like to process agenda headlines and apply face (color) to ones with given 
tags.

It seems like I should add a function to org-finalize-agenda-hook.  When that 
hook is invoked, how do I iterate over agenda headlines?

I thought I could use org-map-entries, on the current buffer, as follows:

(add-hook 'org-finalize-agenda-hook
          (lambda ()
             (message "starting agenda-hook")
             (org-map-entries
              '(message "hi")
              "+highlight" nil)))

But I never get "hi" despite there being agenda items with the "highlight" tag.

Any help would be much appreciated.
Thanks!

--Greg

--
Gregory T. Sullivan, Ph.D.
BAE Systems Advanced Information Technologies
6 New England Executive Park, Burlington, MA 01803
781-262-4553 (office),  978-430-3461 (cell)
address@hidden 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]