From: Bastien <bzg@altern.org>
To: Marcelo de Moraes Serpa <celoserpa@gmail.com>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Quick poll - do you use the agenda more as a query interface or as your main view
Date: Wed, 12 Sep 2012 15:59:05 +0200 [thread overview]
Message-ID: <874nn3z6ja.fsf@altern.org> (raw)
In-Reply-To: <CACHMzOHStWVz3Meh2YADovMjrJQL-5La+Fc0wtyi=19zkPJy0w@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Fri, 7 Sep 2012 17:33:48 -0500")
Hi Marcelo,
Marcelo de Moraes Serpa <celoserpa@gmail.com> writes:
> In fact, it would be nice if we could have an agenda view that showed
> items hierarchically
This has been often requested and I made a step toward this.
`org-agenda-prefix-format' now understands a new specifier %l.
When used in a format string, it will insert X spaces for the
X level of the entry.
Imagine you have a file like:
* NEXT Level 1
SCHEDULED: <2012-09-12 mer.>
** NEXT Level 2
SCHEDULED: <2012-09-12 mer.>
and `org-agenda-prefix-format' is
(setq org-agenda-prefix-format
'((agenda . " %i %-12:c%?-12t% s %l") <= note the %l here
(timeline . " % s")
(todo . " %i %-12:c")
(tags . " %i %-12:c")
(search . " %i %-12:c"))
Then M-x org-agenda RET a will output this:
Week-agenda (W37):
Monday 10 September 2012 W37
Tuesday 11 September 2012
Wednesday 12 September 2012
test: Scheduled: NEXT Level 1
test: Scheduled: NEXT Level 2 <= added one space
Thursday 13 September 2012
Friday 14 September 2012
Saturday 15 September 2012
Sunday 16 September 2012
It would be nice to toggle this display on the fly -- this is on my
TODO list.
Best,
--
Bastien
prev parent reply other threads:[~2012-09-12 13:59 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-07 22:33 Quick poll - do you use the agenda more as a query interface or as your main view Marcelo de Moraes Serpa
2012-09-11 11:20 ` Bernt Hansen
2012-09-11 17:06 ` Samuel Wales
2012-09-11 17:17 ` Manuel Hermenegildo
2012-09-11 18:44 ` Charles Philip Chan
2012-09-11 21:47 ` Moritz Ulrich
2012-09-12 13:59 ` Bastien [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=874nn3z6ja.fsf@altern.org \
--to=bzg@altern.org \
--cc=celoserpa@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).