emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Tassilo Horn <tassilo@member.fsf.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Finding old appointments
Date: Sun, 25 Jul 2010 15:34:49 -0400	[thread overview]
Message-ID: <87lj8z8iee.fsf@fastmail.fm> (raw)
In-Reply-To: <87wrsjig5k.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Sun, 25 Jul 2010 20:13:11 +0200")

Tassilo Horn <tassilo@member.fsf.org> writes:

> Additionally, there are some more complex outdated entries, that have
> subtrees and done todos.
>
> Yes, what I want to spot are enties with an active (or also inactive?
> not sure about this one) timestamp that is before today, and if it's a
> TODO, it has to be in a DONE state.  The same must hold for any
> subtrees.
>
> Well, basically I'm just looking for a search facility that shows me an
> agenda view with all entries that contain only timestamps before today
> and no pending todos, so that I can use the agenda commands to act on
> them.  Some will be deleted, others archived.

Here's an example of an agenda view that would bring up all old, active
timestamps marked DONE:

C-c a m [RET] TIMESTAMP<"<today>"+TODO="DONE"

(If I understand the question correctly...) The variable
org-stuck-projects (see the docstring) can be tweaked to identify
subtrees that match your criteria.

A custom skip function might also be useful here. 

(info "(org) Special agenda views")

Best,
Matt

  reply	other threads:[~2010-07-25 19:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22 20:26 Finding old appointments Tassilo Horn
2010-07-24 21:31 ` Sébastien Vauban
2010-07-25 18:13   ` Tassilo Horn
2010-07-25 19:34     ` Matt Lundin [this message]
2010-07-26  7:32       ` Tassilo Horn
2010-07-26  9:54         ` David Maus
2010-07-26 11:46           ` Tassilo Horn

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=87lj8z8iee.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=tassilo@member.fsf.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).