From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien 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 Message-ID: <874nn3z6ja.fsf@altern.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:56527) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBnTI-0005bq-RZ for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 09:59:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBnT9-00086D-AS for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 09:59:16 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:54865) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBnT9-000863-1G for emacs-orgmode@gnu.org; Wed, 12 Sep 2012 09:59:07 -0400 Received: by weys10 with SMTP id s10so1120025wey.0 for ; Wed, 12 Sep 2012 06:59:06 -0700 (PDT) In-Reply-To: (Marcelo de Moraes Serpa's message of "Fri, 7 Sep 2012 17:33:48 -0500") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Marcelo de Moraes Serpa Cc: Org Mode Hi Marcelo, Marcelo de Moraes Serpa 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