emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Peter Davis <pfd@pfdstudio.com>
To: emacs-orgmode@gnu.org
Subject: Re: Showing DONE tasks in agenda?
Date: Thu, 1 Oct 2015 20:41:24 -0400	[thread overview]
Message-ID: <560DD2B4.7030103@pfdstudio.com> (raw)
In-Reply-To: <87k2r6cv3k.fsf@alphaville.usersys.redhat.com>


On 10/1/15 2:16 PM, Nick Dokos wrote:
> Peter Davis <pfd@pfdstudio.com> writes:
>
>> Eric S Fraga <e.fraga@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).

Great! Thanks, Nick. This clears up a lot.

-pd

-- 
----
Peter Davis
The Tech Curmudgeon
www.techcurmudgeon.com

  reply	other threads:[~2015-10-02  2:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 14:19 Showing DONE tasks in agenda? Peter Davis
2015-10-01 18:16 ` Nick Dokos
2015-10-02  0:41   ` Peter Davis [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-09-30 16:13 Peter Davis
2015-10-01  9:33 ` Eric S Fraga
2015-10-01 13:13 ` Nick Dokos
2015-10-01 14:26 ` Kyle Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=560DD2B4.7030103@pfdstudio.com \
    --to=pfd@pfdstudio.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).