emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "François Allisson" <francois@allisson.co>
To: Renger van Nieuwkoop <renger@vannieuwkoop.ch>
Cc: Org mode <emacs-orgmode@gnu.org>
Subject: Re: Headings in agenda view
Date: Sun, 14 Oct 2012 13:56:30 +0200	[thread overview]
Message-ID: <20121014115630.GA16006@debian> (raw)
In-Reply-To: <5E17CCD4AACE3A4C8CFF411186AE819024E823AE@EXDAG30-N2.hostallapps.net>

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	other threads:[~2012-10-14 11:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-14  9:00 Headings in agenda view Renger van Nieuwkoop
2012-10-14 11:56 ` François Allisson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20121014115630.GA16006@debian \
    --to=francois@allisson.co \
    --cc=emacs-orgmode@gnu.org \
    --cc=renger@vannieuwkoop.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).