emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Showing DONE tasks in agenda?
@ 2015-09-30 16:13 Peter Davis
  2015-10-01  9:33 ` Eric S Fraga
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Peter Davis @ 2015-09-30 16:13 UTC (permalink / raw)
  To: Org Mode List


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.

Thanks,
-pd

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Showing DONE tasks in agenda?
  2015-09-30 16:13 Showing DONE tasks in agenda? Peter Davis
@ 2015-10-01  9:33 ` Eric S Fraga
  2015-10-01 13:13 ` Nick Dokos
  2015-10-01 14:26 ` Kyle Meyer
  2 siblings, 0 replies; 7+ messages in thread
From: Eric S Fraga @ 2015-10-01  9:33 UTC (permalink / raw)
  To: Peter Davis; +Cc: Org Mode List

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"?
-- 
: Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.2, Org release_8.3.1-270-g256fef

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Showing DONE tasks in agenda?
  2015-09-30 16:13 Showing DONE tasks in agenda? Peter Davis
  2015-10-01  9:33 ` Eric S Fraga
@ 2015-10-01 13:13 ` Nick Dokos
  2015-10-01 14:26 ` Kyle Meyer
  2 siblings, 0 replies; 7+ messages in thread
From: Nick Dokos @ 2015-10-01 13:13 UTC (permalink / raw)
  To: emacs-orgmode

Peter Davis <pfd@pfdstudio.com> writes:

> 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.
>

Try '0 r' or '1 r' or '2 r'.

-- 
Nick

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Showing DONE tasks in agenda?
@ 2015-10-01 14:19 Peter Davis
  2015-10-01 18:16 ` Nick Dokos
  0 siblings, 1 reply; 7+ messages in thread
From: Peter Davis @ 2015-10-01 14:19 UTC (permalink / raw)
  To: Org Mode List

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.

Thank you!

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Showing DONE tasks in agenda?
  2015-09-30 16:13 Showing DONE tasks in agenda? Peter Davis
  2015-10-01  9:33 ` Eric S Fraga
  2015-10-01 13:13 ` Nick Dokos
@ 2015-10-01 14:26 ` Kyle Meyer
  2 siblings, 0 replies; 7+ messages in thread
From: Kyle Meyer @ 2015-10-01 14:26 UTC (permalink / raw)
  To: Peter Davis; +Cc: Org Mode List

Hello,

Peter Davis <pfd@pfdstudio.com> writes:

> 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.

Replace N with the number (e.g., 2 for DONE).

-- 
Kyle

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Showing DONE tasks in agenda?
  2015-10-01 14:19 Peter Davis
@ 2015-10-01 18:16 ` Nick Dokos
  2015-10-02  0:41   ` Peter Davis
  0 siblings, 1 reply; 7+ messages in thread
From: Nick Dokos @ 2015-10-01 18:16 UTC (permalink / raw)
  To: emacs-orgmode

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).

Nick

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Showing DONE tasks in agenda?
  2015-10-01 18:16 ` Nick Dokos
@ 2015-10-02  0:41   ` Peter Davis
  0 siblings, 0 replies; 7+ messages in thread
From: Peter Davis @ 2015-10-02  0:41 UTC (permalink / raw)
  To: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-10-02  2:39 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-30 16:13 Showing DONE tasks in agenda? Peter Davis
2015-10-01  9:33 ` Eric S Fraga
2015-10-01 13:13 ` Nick Dokos
2015-10-01 14:26 ` Kyle Meyer
  -- strict thread matches above, loose matches on Subject: below --
2015-10-01 14:19 Peter Davis
2015-10-01 18:16 ` Nick Dokos
2015-10-02  0:41   ` Peter Davis

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).