emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] feature-request: colorize diary entries in agenda


From: Carsten Dominik
Subject: Re: [Orgmode] feature-request: colorize diary entries in agenda
Date: Thu, 17 Dec 2009 20:23:38 +0100


On Dec 17, 2009, at 10:25 AM, Thierry Volpiatto wrote:

Hi, should be great to be able to colorize diary entries in agenda.
I didn't find customisation for that apart modifying:
,----
| (defun org-get-entries-from-diary (date)
|   "Get the (Emacs Calendar) diary entries for DATE."
|
| [...]
|
|              (org-add-props x (text-properties-at (1- (length x)) x)
|                'type "diary" 'date date 'face 'tv-org-diary))
|            entries)))))
`----
Did i miss something?

Hmm, maybe that is overwritten later by Org?  Quite possible.
But you code *looks* ok.

I will work better if you put a function into org-finalize-agenda-hook
that will search for entries with the right category and add the face then.

- Carsten





reply via email to

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