[Orgmode] Re: Recurring TODOs and alreade done TODOs

2010-03-27 Thread Friedericksen Hope

Thank you very much, Matt!

Everything works fine now... :-)

On 03/26/2010 10:35 PM, Matt Lundin wrote:

Friedericksen Hopefriedericksen.h...@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





___
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


[Orgmode] Re: Recurring TODOs and alreade done TODOs

2010-03-26 Thread Matt Lundin
Friedericksen Hope friedericksen.h...@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