From mboxrd@z Thu Jan 1 00:00:00 1970 From: SW Subject: Re: Agenda Upcoming Faces Date: Sun, 5 Aug 2012 10:59:02 +0000 (UTC) Message-ID: References: <87bojui3uq.fsf@gnu.org> <878vdvb071.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57127) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxyYG-0005U9-7k for emacs-orgmode@gnu.org; Sun, 05 Aug 2012 06:59:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SxyYF-00023y-7R for emacs-orgmode@gnu.org; Sun, 05 Aug 2012 06:59:16 -0400 Received: from plane.gmane.org ([80.91.229.3]:49773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SxyYF-00023n-08 for emacs-orgmode@gnu.org; Sun, 05 Aug 2012 06:59:15 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1SxyYC-0006YQ-TD for emacs-orgmode@gnu.org; Sun, 05 Aug 2012 12:59:12 +0200 Received: from 197.106.10.220 ([197.106.10.220]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Aug 2012 12:59:12 +0200 Received: from sabrewolfy by 197.106.10.220 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 05 Aug 2012 12:59:12 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I wrote: > > > http://imgur.com/ge0hY > > 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 :)