From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: indenting nested TODOs in agenda views Date: Mon, 22 Aug 2011 19:56:47 +0800 Message-ID: <87aab1fym8.fsf@ericabrahamsen.net> References: <87ipppg0i2.fsf@ericabrahamsen.net> <8739gt4qyk.fsf@norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvT7o-0007MZ-T3 for emacs-orgmode@gnu.org; Mon, 22 Aug 2011 07:57:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvT7n-00024X-JR for emacs-orgmode@gnu.org; Mon, 22 Aug 2011 07:57:04 -0400 Received: from lo.gmane.org ([80.91.229.12]:55767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvT7n-00024L-D7 for emacs-orgmode@gnu.org; Mon, 22 Aug 2011 07:57:03 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QvT7m-0005Jr-Lh for emacs-orgmode@gnu.org; Mon, 22 Aug 2011 13:57:02 +0200 Received: from 123.115.198.185 ([123.115.198.185]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Aug 2011 13:57:02 +0200 Received: from eric by 123.115.198.185 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Aug 2011 13:57:02 +0200 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: emacs-orgmode@gnu.org On Mon, Aug 22 2011, Bernt Hansen wrote: > Eric Abrahamsen writes: > >> What would it take to get an Agenda tags view that indented nested >> TODOs? I've always been bothered by the fact that nested TODOs within a >> subtree are all flattened for the agenda view, so sometimes it's hard to >> tell that several TODOs all belong to one "bigger" TODO. >> >> I guess it would have to go in `org-finalize-agenda-entries', after the >> filter function is run, and somehow instead of the way org entries are >> currently fed to the sorting function. Would this be a desirable option? > > Set > > (org-tags-match-list-sublevels 'indented) > > in your agenda view. That's pretty interesting, but not quite what I meant: I was thinking that TODOs would be first sorted by outline level, and then only TODOs that belonged to a subtree with "higher" TODOs would be indented. With "indented", a second-level TODO can come after a first-level TODO and appear to be subordinate to it, though they belong to completely different subtrees. But stating the problem this way makes me realize it's more complicated than I thought… Eric