emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: friedericksen.hope@gmail.com
Cc: emacs-orgmode@gnu.org
Subject: Re: Recurring TODOs and alreade done TODOs
Date: Fri, 26 Mar 2010 17:35:25 -0400	[thread overview]
Message-ID: <87tys26a1u.fsf@fastmail.fm> (raw)
In-Reply-To: <hoirlq$jiq$1@dough.gmane.org> (Friedericksen Hope's message of "Fri, 26 Mar 2010 18:42:18 +0100")

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

  reply	other threads:[~2010-03-26 21:32 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-26 17:42 Recurring TODOs and alreade done TODOs Friedericksen Hope
2010-03-26 21:35 ` Matt Lundin [this message]
2010-03-27  6:40   ` Friedericksen Hope

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=87tys26a1u.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=friedericksen.hope@gmail.com \
    /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).