Le dimanche 14 oct 2012 à 09:00:05 (+0000), Renger van Nieuwkoop a écrit :
> Hi
>  
> I have the following agenda-view in Org-Mode
>                  ("p" "Week plan"
>                   ((tags-todo "Monday")
>                   (tags-todo "Tuesday")
>                   (tags-todo "Wednesday")
>                   (tags-todo "Thursday")
>                   (tags-todo "Friday")
>                   (tags-todo "Saturday")
>                   (tags-todo "Sunday"))
>                                    nil)
>  
> And would like to have a heading for every day. I tried using
>    (org-agenda-overriding-header "Monday"),
>     (org-agenda-overriding-header "Tuesday"), etc.
> at several positions, but I did not manage, to get the headers.
> Any hint would be more than welcome.
> Cheers
> Renger

Hi Renger,

The following works for me:

  ("p" "Week plan"
    ((tags-todo "Monday" ((org-agenda-overriding-header "Monday")))
    (tags-todo "Tuesday" ((org-agenda-overriding-header "Tuesday")))
    (tags-todo "Wednesday" ((org-agenda-overriding-header "Wednesday")))
    (tags-todo "Thursday" ((org-agenda-overriding-header "Thursday")))
    (tags-todo "Friday" ((org-agenda-overriding-header "Friday")))
    (tags-todo "Saturday" ((org-agenda-overriding-header "Saturday")))
    (tags-todo "Sunday" ((org-agenda-overriding-header "Sunday"))))
    ((org-agenda-compact-blocks t)) nil)

PS: I have added compact block, just because I find it looks nicer; feel
free to remove it!

Best,

François.

-- 
http://francois.allisson.co

Reply via email to