emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Agenda Upcoming Faces


From: SW
Subject: Re: [O] Agenda Upcoming Faces
Date: Sun, 5 Aug 2012 10:59:02 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

I wrote:

> <snip>
> 
> http://imgur.com/ge0hY
> 
> <snip>

In the example image above:

 1d is in org-upcoming-deadline face
 5d is in org-upcoming-deadline face
 8d is in default face
10d is in org-upcoming-deadline face
26d is in default face
45d is in default face

*However*, the entry for the "10d" line is:

*** TODO EXAMPLE
    DEADLINE: <2012-08-15 Wed 12:00 -30d>

If I remove the "-30d" advanced warning part, then "10d" appears in default
face. So this has to do with the "org-agenda-deadline-faces", which I have *not*
modified:

--------------------
Its value is ((1.0 . org-warning)
 (0.5 . org-upcoming-deadline)
 (0.0 . default))
--------------------

If EXAMPLE is due in 10 days and the advanced warning is 30 days, then 20 days
have already elapsed. Therefore, for this entry, more than 0.5 (50%) of the time
has passed, therefore triggering the use of org-upcoming-deadline face.

Solved :)





reply via email to

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