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)
[email protected]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode