[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Odd behavior in custom agenda (was "done" keyword red)
From: |
John Hendy |
Subject: |
[O] Odd behavior in custom agenda (was "done" keyword red) |
Date: |
Wed, 10 Aug 2011 16:21:51 -0500 |
To add some more information, below is a sample file and here is a
screenshot of the custom agenda generated from it:
http://i.imgur.com/9eou6.png
#+begin_src org
#+todo: todo(t) next(n!) proj(p) | waiting(w@/@) done(d/@) cancelled(c@/@)
* done no schedule/no deadline
CLOSED: [2011-08-10 Wed 16:12]
* done scheduled
SCHEDULED: <2011-08-10 Wed>
CLOSED: [2011-08-10 Wed 16
* done deadline
DEADLINE: <2011-08-11 Thu> SCHEDULED: <2011-08-10 Wed>
CLOSED: [2011-08-10 Wed 16:12]
* done deadline + scheduled
DEADLINE: <2011-08-11 Thu> SCHEDULED: <2011-08-10 Wed>
CLOSED: [2011-08-10 Wed 16:12]
* DONE no schedule/no deadline
CLOSED: [2011-08-10 Wed 16:12]
* DONE scheduled
SCHEDULED: <2011-08-10 Wed>
CLOSED: [2011-08-10 Wed 16]
* DONE deadline
DEADLINE: <2011-08-11 Thu> SCHEDULED: <2011-08-10 Wed>
CLOSED: [2011-08-10 Wed 16]
* DONE deadline + scheduled
DEADLINE: <2011-08-11 Thu> SCHEDULED: <2011-08-10 Wed>
CLOSED: [2011-08-10 Wed 16]
#+end_src
Normally I just have a #+setupfile line, but I copied the custom todo
keyword information from it and pasted it into the file above instead.
As shown below, here is my custom agenda:
-----
> (setq org-agenda-custom-commands
> '(("w" "Agenda"
> ((agenda "" ((org-agenda-ndays 7)))
>
> (todo "next"
> ((org-agenda-overriding-header "Next Actions")))
>
> (todo "proj"
> ((org-agenda-overriding-header "Projects"))
> (org-agenda-sorting-strategy
> '(todo-state-down category-keep)))))
-----
It's as if the face changes based both on whether it's scheduled or
deadlined and what day it's showing up on. Any input on this, or is it
normal? I guess I'd expect the todo keyword "done" to be green no
matter what, but perhaps the headline is shown as red because the
deadline is soon/tomorrow?
Thanks,
John
On Wed, Aug 10, 2011 at 11:44 AM, John Hendy <address@hidden> wrote:
> Is there a way to make the green font face apply to custom agenda
> views? Here is an example:
>
> ----------
>
> (setq org-agenda-custom-commands
> '(("w" "Agenda"
> ((agenda "" ((org-agenda-ndays 7)))
>
> (todo "next"
> ((org-agenda-overriding-header "Next Actions")))
>
> (todo "proj"
> ((org-agenda-overriding-header "Projects"))
> (org-agenda-sorting-strategy
> '(todo-state-down category-keep)))))
> ----------
>
> My results:
> - C-a t, then 5 r (to show done items) produces all green "done" names
> - C-a a produces "done" items in green
> - C-a w (my custom agenda above) produces done items in the schedule area as
> red
>
> What am I goofing up?
>
> Perhaps this has been discussed before... I only found one previous
> mailing list item which was from quite some time ago and was reported
> as being fixed in v6.07
>
> [1] http://lists.gnu.org/archive/html/emacs-orgmode/2008-09/msg00276.html
>
>
> Thanks,
> John
>
- [O] Odd behavior in custom agenda (was "done" keyword red),
John Hendy <=