From mboxrd@z Thu Jan 1 00:00:00 1970 From: nielsgiesen@ibbu.nl Subject: org-archive-done Date: Wed, 14 Jun 2006 09:52:41 +0200 Message-ID: <874pyomawm.fsf@ibbu.nl> Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FqQ9D-00071X-26 for emacs-orgmode@gnu.org; Wed, 14 Jun 2006 03:50:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FqQ9B-0006z3-MS for emacs-orgmode@gnu.org; Wed, 14 Jun 2006 03:50:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FqQ9B-0006yT-Cz for emacs-orgmode@gnu.org; Wed, 14 Jun 2006 03:50:41 -0400 Received: from [145.97.192.41] (helo=castor.warande.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FqQIJ-0005qG-0F for emacs-orgmode@gnu.org; Wed, 14 Jun 2006 04:00:07 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by castor.warande.net (Postfix) with ESMTP id DB58457C00A for ; Wed, 14 Jun 2006 09:50:35 +0200 (CEST) Received: from castor.warande.net ([127.0.0.1]) by localhost (castor [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 17968-09 for ; Wed, 14 Jun 2006 09:50:35 +0200 (CEST) Received: from grml (22pc207.sshunet.nl [145.97.207.22]) by castor.warande.net (Postfix) with ESMTP for ; Wed, 14 Jun 2006 09:50:35 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org How about a function org-archive-done, that archives any tree in the buffer labelled DONE? One might refine this to archive trees absolutely done, so that---even when a heading is labelled DONE---it looks to its subtrees to check whether they have no label which states the opposite. Also, I think it only nice/useful for top-level headings, not below. Perhaps an optional argument could be given as to the time elapsed since a tree was DONE. Regards, Niels Giesen