emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Recurring TODOs and alreade done TODOs
@ 2010-03-26 17:42 Friedericksen Hope
  2010-03-26 21:35 ` Matt Lundin
  0 siblings, 1 reply; 3+ messages in thread
From: Friedericksen Hope @ 2010-03-26 17:42 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I habe a problem and a question. :-)

First the problem:
I would like to create some recurring TODO items. But for example, when I use
'C-c C-s 10-05-01 +1w' it just create the timestamp: 'SCHEDULED: <2010-05-01 Sat>'
I don't know why, because it is exactly like in the manual described. Do I have to enable recurring TODOs in the config?

My question:
Is there a way/function/option to automatically clear or archive old TODO-Items which are marked as DONE?

Thank you in advance!!

Best wishes,
Friedericksen

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

* Re: Recurring TODOs and alreade done TODOs
  2010-03-26 17:42 Recurring TODOs and alreade done TODOs Friedericksen Hope
@ 2010-03-26 21:35 ` Matt Lundin
  2010-03-27  6:40   ` Friedericksen Hope
  0 siblings, 1 reply; 3+ messages in thread
From: Matt Lundin @ 2010-03-26 21:35 UTC (permalink / raw)
  To: friedericksen.hope; +Cc: emacs-orgmode

Friedericksen Hope <friedericksen.hope@gmail.com> writes:

> First the problem:
> I would like to create some recurring TODO items. But for example, when I use
> 'C-c C-s 10-05-01 +1w' it just create the timestamp: 'SCHEDULED: <2010-05-01 Sat>'
> I don't know why, because it is exactly like in the manual described.
> Do I have to enable recurring TODOs in the config?

I believe you have to set recurring todos by hand---i.e., dive into the
org file and edit the SCHEDULED timestamp.

> Is there a way/function/option to automatically clear or archive old
> TODO-Items which are marked as DONE?

Here's one way to do it:

--8<---------------cut here---------------start------------->8---
(defun my-org-archive-done-items ()
  "Archive all items marked done in the current file"
  (interactive)
  (org-map-entries
   '(org-archive-subtree-default)
   "/!+DONE" 'file))
--8<---------------cut here---------------end--------------->8---

Best,
Matt

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

* Re: Recurring TODOs and alreade done TODOs
  2010-03-26 21:35 ` Matt Lundin
@ 2010-03-27  6:40   ` Friedericksen Hope
  0 siblings, 0 replies; 3+ messages in thread
From: Friedericksen Hope @ 2010-03-27  6:40 UTC (permalink / raw)
  To: emacs-orgmode

Thank you very much, Matt!

Everything works fine now... :-)

On 03/26/2010 10:35 PM, Matt Lundin wrote:
> Friedericksen Hope<friedericksen.hope@gmail.com>  writes:
>
>> First the problem:
>> I would like to create some recurring TODO items. But for example, when I use
>> 'C-c C-s 10-05-01 +1w' it just create the timestamp: 'SCHEDULED:<2010-05-01 Sat>'
>> I don't know why, because it is exactly like in the manual described.
>> Do I have to enable recurring TODOs in the config?
>
> I believe you have to set recurring todos by hand---i.e., dive into the
> org file and edit the SCHEDULED timestamp.
>
>> Is there a way/function/option to automatically clear or archive old
>> TODO-Items which are marked as DONE?
>
> Here's one way to do it:
>
> --8<---------------cut here---------------start------------->8---
> (defun my-org-archive-done-items ()
>    "Archive all items marked done in the current file"
>    (interactive)
>    (org-map-entries
>     '(org-archive-subtree-default)
>     "/!+DONE" 'file))
> --8<---------------cut here---------------end--------------->8---
>
> Best,
> Matt
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>

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

end of thread, other threads:[~2010-03-27  6:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-26 17:42 Recurring TODOs and alreade done TODOs Friedericksen Hope
2010-03-26 21:35 ` Matt Lundin
2010-03-27  6:40   ` Friedericksen Hope

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