emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: SW <sabrewolfy@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Agenda Upcoming Faces
Date: Sun, 5 Aug 2012 10:59:02 +0000 (UTC)	[thread overview]
Message-ID: <loom.20120805T124844-714@post.gmane.org> (raw)
In-Reply-To: loom.20120805T115954-409@post.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	other threads:[~2012-08-05 10:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-04 12:36 Agenda Upcoming Faces SW
2012-07-05 16:12 ` Bastien
2012-07-09  7:45   ` SW
2012-08-03 20:57   ` SW
2012-08-04  7:12     ` Bastien
2012-08-05 10:04       ` SW
2012-08-05 10:59         ` SW [this message]
2012-08-05 17:38           ` Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20120805T124844-714@post.gmane.org \
    --to=sabrewolfy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).