[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Any way to identify a DEADLINE or SCHEDULED item via org-agenda-
From: |
Matt Lundin |
Subject: |
Re: [O] Any way to identify a DEADLINE or SCHEDULED item via org-agenda-prefix-format? |
Date: |
Fri, 06 May 2011 09:00:49 -0400 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
Anupam Sengupta <address@hidden> writes:
> 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.
AFAIK, scheduling information is not included when constructing tags or
todo views.
> 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.
You can control the display of scheduled and deadline information with
org-agenda-scheduled-leaders and org-agenda-deadline-leaders, but I
believe this only applies to the agenda view.
Best,
Matt
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] Any way to identify a DEADLINE or SCHEDULED item via org-agenda-prefix-format?,
Matt Lundin <=