From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nikolaus Rath Subject: Re: Sparse tree for undated TODOs, or hierachical agenda? Date: Tue, 21 Apr 2015 08:35:12 -0700 Message-ID: <87zj614htm.fsf@thinkpad.rath.org> References: <87fv7yhzx3.fsf@vostro.rath.org> <87r3rdzi5z.fsf@yale.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkaCh-0003GD-Fw for emacs-orgmode@gnu.org; Tue, 21 Apr 2015 11:35:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkaCg-0002ee-Kn for emacs-orgmode@gnu.org; Tue, 21 Apr 2015 11:35:15 -0400 Received: from ebox.rath.org ([2600:3c01::f03c:91ff:fe69:db07]:34724) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkaCg-0002c2-Es for emacs-orgmode@gnu.org; Tue, 21 Apr 2015 11:35:14 -0400 Received: from thinkpad ([192.168.12.2]) by ebox.rath.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.80) (envelope-from ) id 1YkaCe-00017h-7D for emacs-orgmode@gnu.org; Tue, 21 Apr 2015 15:35:12 +0000 In-Reply-To: <87r3rdzi5z.fsf@yale.edu> (Jorge A. Alfaro-Murillo's message of "Tue, 21 Apr 2015 10:10:16 -0400") 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 Apr 21 2015, jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) wro= te: > Hi, Nikolaus. > > Nikolaus Rath writes: > >> Hello,=20 >>=20 >> I'm starting to like orgmode more and more. Thanks for working=20 >> on this!=20 >>=20 >> However, for me the global todo list in the Agenda very hard to=20 >> digest (even when excluding sublevels), so I'd rather have a=20 >> view that conserves the document structure. > > If you want to restrict to your current document before building=20 > the agenda use '<', so if 'C-c a' calls your agenda (suggested org=20 > key), then you can do 'C-c a < a' to get the agenda restricted to=20 > the buffer that you are in. Well, yes, but that still throws away all the headings. E.g. * Task 1 ** TODO Do A ** Other stuff * Task 2 ** TODO Do B ** TODO Do C SCHEDULED: <2015-05-31 Sun> becomes (after C-c a t): * TODO Do A * TODO Do B What I would like to get is * Task 1 ** TODO Do A * Task 2 ** TODO Do B >=20=20 >> Is there a way to create a sparse tree that shows only undated=20 >> TODOs (i.e., excludes anything that scheduled or has a=20 >> deadline)? > > I do not know what you mean by sparse tree, The sparse tree is what you get with C-c \ t (org-sparse-tree). For the above example, you get: * Task 1 ** TODO Do A * Task 2 ** TODO Do B ** TODO Do C SCHEDULED: <2015-05-31 Sun> so the structure is conserved like I want, but even with.. > but this excludes=20 > anything scheduled or with a deadline from the global todo list: > > #+BEGIN_SRC emacs-lisp > (setq org-agenda-todo-ignore-scheduled 'all) > (setq org-agenda-todo-ignore-deadlines 'all) > #+END_SRC .. the scheduled items are still included (because the todo-* settings apply only to the Agenda view, not the sparse tree view). Best, -Nikolaus --=20 GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F =C2=BBTime flies like an arrow, fruit flies like a Banana.=C2= =AB