From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Maihofer Subject: Re: Archive Tasks Date: Wed, 18 Aug 2010 10:36:09 +0200 Message-ID: <4C6B9B79.1000007@gmx.de> References: <4C667FF4.6050600@gmx.de> <87fwye5t4f.fsf@altern.org> <4C6B6A66.4070107@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=42540 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ole8B-0002ak-FV for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 04:36:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ole87-0006Cv-39 for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 04:36:19 -0400 Received: from smtprelay02.ispgateway.de ([80.67.31.36]:54237) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ole86-0006Ce-Qt for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 04:36:15 -0400 Received: from [80.187.98.217] (helo=MacBookPro.local) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1Ole84-00070O-P8 for emacs-orgmode@gnu.org; Wed, 18 Aug 2010 10:36:13 +0200 In-Reply-To: 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 Thanks for your reply! I think this is not what i am looking for. Quote from Bernt: "This ensures that any level 2 task that I archive from this heading (I archive by subtree) gets saved in the archive file under the appropriate level 1 heading.." My problem is, that i have level 3 tasks. --------------------------------------------------- file: main.org --------------------------------------------------- * Tasks ** Client X :PROPERTIES: :ARCHIVE: %s_archive::** Client X :END: *** DONE Task Client X ** Client Y :PROPERTIES: :ARCHIVE: %s_archive::** Client Y :END: *** DONE Task Client Y --------------------------------------------------- file: main.org_archive --------------------------------------------------- * Tasks ** Client A ** Client X ** Client Z * Whatever --------------------------------------------------- The first Task (Task Client X) will now be archived correctly. But only because there is already a heading "Client X" in my archive file (and only one heading "Client X"). The second task will be archived at the end of the archive file, but not under the first level heading "Tasks". With the current setup i have to make sure - that there is already a heading for every client in my archive file and - that there is only one heading with that name It would be great if i could tell org, that my level 3 tasks should be archived under * Tasks -> ** Client X, so that Org will create the heading "client X" itself (and the heading "Tasks", too, if it doesn't already exist) at the right position in my archive file. Any ideas? Karl Am 18.08.10 07:22, schrieb Puneeth: > Karl, > > On Wed, Aug 18, 2010 at 10:36 AM, Karl Maihofer wrote: >> Is there a way to tell org, that there should be a first level called >> "Tasks" and a second called "Client 1"? > > Bernt's setup describes how to do this. > > http://doc.norang.ca/org-mode.html#OrgFileStructure > > -- Puneeth >