[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Any way to identify a DEADLINE or SCHEDULED item via org-agenda-pref
From: |
Anupam Sengupta |
Subject: |
[O] Any way to identify a DEADLINE or SCHEDULED item via org-agenda-prefix-format? |
Date: |
Thu, 28 Apr 2011 20:42:54 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3.50 (darwin) |
Hello,
In my custom agenda block, I wanted to distinguish between SCHEDULED and
DEADLINE items using a small character flag. The docstring for
`org-agenda-prefix-format' mentions %s as the one to use for the
scheduled/deadline string (as is used in the default agenda) - however,
this string does not seem to be working for me (orgmode 7.5).
As an example of a custom agenda block:
(tags-todo
"+TODO=\"TODO\"+SCHEDULED>=\"<today>\"+SCHEDULED<\"<tomorrow>\"|+TODO=\"TODO\"+DEADLINE>=\"<today>\"+DEADLINE<\"<tomorrow>\"|+TODO=\"TODO\"+TIMESTAMP>=\"<today>\"+TIMESTAMP<\"<tomorrow>\""
((org-agenda-overriding-header "\nToday's Action
Items\n====================")
(org-agenda-prefix-format " [ ] %12:c%?-12t % s")))
Note the % s in the `org-agenda-prefix-format' setting. All other
settings are showing up fine, but the schedule information is missing in
the display.
As an aside, %s is not exactly what I need, as I was looking for a way
to display a single character flag (S or D for scheduled or deadline),
but this is also fine.
Regards,
--
Anupam
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] Any way to identify a DEADLINE or SCHEDULED item via org-agenda-prefix-format?,
Anupam Sengupta <=