Peter Davis <p...@pfdstudio.com> writes: > Eric S Fraga <e.fr...@ucl.ac.uk> 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