[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Headings in agenda view

From: François Allisson
Subject: Re: [O] Headings in agenda view
Date: Sun, 14 Oct 2012 13:56:30 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

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!




reply via email to

[Prev in Thread] Current Thread [Next in Thread]