From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Davis Subject: Re: Showing DONE tasks in agenda? Date: Thu, 1 Oct 2015 20:41:24 -0400 Message-ID: <560DD2B4.7030103@pfdstudio.com> References: <6sw6c7twqa8yd0.fsf@dhcp-10-92-132-16.hmco.com> <87k2r6cv3k.fsf@alphaville.usersys.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44464) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhqFz-0002a9-Pq for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 22:39:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhqFw-00016G-GX for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 22:39:35 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:59423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhoPe-0005xE-Le for emacs-orgmode@gnu.org; Thu, 01 Oct 2015 20:41:26 -0400 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id A9CE720622 for ; Thu, 1 Oct 2015 20:41:25 -0400 (EDT) In-Reply-To: <87k2r6cv3k.fsf@alphaville.usersys.redhat.com> 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 10/1/15 2:16 PM, Nick Dokos wrote: > 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). Great! Thanks, Nick. This clears up a lot. -pd -- ---- Peter Davis The Tech Curmudgeon www.techcurmudgeon.com