From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Showing DONE tasks in agenda? Date: Thu, 01 Oct 2015 14:16:47 -0400 Message-ID: <87k2r6cv3k.fsf@alphaville.usersys.redhat.com> References: <6sw6c7twqa8yd0.fsf@dhcp-10-92-132-16.hmco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhiPg-0005W5-0N for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 14:17:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhiPa-0004y4-Nu for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 14:17:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:60021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhiPa-0004wy-Ab for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 14:16:58 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZhiPX-0008Ii-8x for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 20:16:55 +0200 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Oct 2015 20:16:55 +0200 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 01 Oct 2015 20:16:55 +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 Peter Davis writes: > Eric S Fraga writes: > >> On Wednesday, 30 Sep 2015 at 12:13, Peter Davis wrote: >>> When I display my TODO items (with C-c a t), there's a line at the top >>> of the buffer that says: >>> >>> Available with `N r': (0)[ALL] (1)TODO (2)DONE >>> >>> but I don't know what this means. How can I display all (TODO, DONE, >>> whatever) items? >>> >>> Typing 'N r' in the buffer doesn't do it. >> >> I think the N refers to the numeric choice (0, 1 or 2). Have you tried, >> for instance, typing "2 r"? > > Ah! Thank you, Eric. That seems to explain it, except ... > > '0 r' and '1 r' both show the same thing ... just TODO items. '2 r' > shows me just DONE items, so none of the options shows both TODO > and DONE items. > That's because you only have a TODO|DONE state sequence. I have a few more: ,---- | org-todo-keywords-for-agenda is a variable defined in ‘org.el’. | Its value is ("APPT" "DONE" "TODO" "CANCELLED") `---- I believe that value was constructed by org, because I have the following #+TODO: lines in (one or another of) my agenda files: #+TODO: APPT | DONE #+TODO: TODO | DONE CANCELLED APPT and TODO are on the left of the '|' - DONE and CANCELLED are on the right. See (info "(org) Workflow states") for the meaning of "left and right of '|'". So when I do ``C-c a t'' I get: ,---- | Available with ‘N r’: (0)[ALL] (1)APPT (2)DONE (3)TODO (4)CANCELLED `---- 0 r gives me all APPT and TODO (N.B.: you still only get the left-of-'|' states) 1 r gives me APPT 3 r gives me TODO 2 r gives me DONE 4 r gives me CANCELLED AFAIK, there is no way to get both the left-of-'|' *and* the right-of-'|' states in one display, unless maybe you write your own view (which I have not done, and I don't know if it's easy/difficult/impossible). Nick