From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Search in the archive file by date Date: Thu, 05 Nov 2009 16:09:33 -0500 Message-ID: <87my30llv6.fsf@gollum.intra.norang.ca> References: <1e5bcefd0910271106i3f2b1558nd9785eecbd9bc922@mail.gmail.com> <87aazcn19s.fsf@gmail.com> <20524da70910271239g5244bffdga351d17819b12d28@mail.gmail.com> <87r5soo7qv.fsf@gollum.intra.norang.ca> <20524da70910271458u7e224878hf6e03ac72c0d92d7@mail.gmail.com> <1e5bcefd0911051120h100d6cc0l81bd694cfa573330@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N69aR-00043K-E7 for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 16:09:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N69aN-0003zh-J3 for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 16:09:42 -0500 Received: from [199.232.76.173] (port=35255 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N69aN-0003zK-D8 for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 16:09:39 -0500 Received: from mho-02-ewr.mailhop.org ([204.13.248.72]:59322) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N69aM-00057b-TO for emacs-orgmode@gnu.org; Thu, 05 Nov 2009 16:09:39 -0500 In-Reply-To: <1e5bcefd0911051120h100d6cc0l81bd694cfa573330@mail.gmail.com> (Marcelo de Moraes Serpa's message of "Thu\, 5 Nov 2009 13\:20\:01 -0600") 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: Marcelo de Moraes Serpa Cc: Benjamin Andresen , Org Mode Marcelo de Moraes Serpa writes: > Your suggestion didn't work quite well for me. My archive file, > newgtd.org_archive, has all my DONE items, archived. I use the > org-archive-subtree to move them there when I'm done with an item, but > this function does not tag the items with the :ARCHIVE: tag. Here's > how an archived item looks like: > > * DONE Fix the lisp function that searches through the rails api=C2=A0=C2= =A0=C2=A0=C2=A0 :OFFICE: > =C2=A0 :PROPERTIES: > =C2=A0 :ARCHIVE_TIME: 2009-07-31 Fri 19:44 > =C2=A0 :ARCHIVE_FILE: ~/org/gtd/newgtd.org > =C2=A0 :ARCHIVE_OLPATH: Tasks > =C2=A0 :ARCHIVE_CATEGORY: newgtd > =C2=A0 :ARCHIVE_TODO: DONE > =C2=A0 :END: > > Am I doing something wrong? Did you try it? v A in the agenda includes all trees in my *.org_archive files -- they don't need a :ARCHIVE: tag to be included. -Bernt