From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: #+CATEGORY line being archived Date: Mon, 19 Mar 2007 00:42:11 +0100 Message-ID: <87fy82ce5o.fsf@bzg.ath.cx> References: <87fy82v8hf.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HT52N-0001NE-SQ for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 19:43:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HT52L-0001N2-E6 for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 19:43:42 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HT52L-0001Mz-8i for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 18:43:41 -0500 Received: from mu-out-0910.google.com ([209.85.134.189]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HT50w-0005p5-JI for emacs-orgmode@gnu.org; Sun, 18 Mar 2007 19:42:14 -0400 Received: by mu-out-0910.google.com with SMTP id w1so1541531mue for ; Sun, 18 Mar 2007 16:42:13 -0700 (PDT) In-Reply-To: (Carsten Dominik's message of "Sun\, 18 Mar 2007 21\:00\:53 +0100") 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 Carsten Dominik writes: > 1. Bastiens proposal, i.e. placing the parameter lines after the > top-level heading. This works as long as the top-level heading itself > is never pointed to by an agenda entry (the category would be wrong) > and as long as you neve atempt to archive the top-level heading > itself. This is exactly what i do. I have several projects and i list them within a single file : ,---- | #+CATEGORY: main_categeory | #+ARCHIVE: main_archive::* | | * Project 1 | #+CATEGORY: project_1 | #+ARCHIVE: project1_archive::* | | ** task 1 | | * Project 2 | #+CATEGORY: project_2 | #+ARCHIVE: project2_archive::* | | * Project 1 | #+CATEGORY: project_2 | #+ARCHIVE: project2_archive::* `---- Archiving "** task 1" puts it in `project1_archive', as expected. Archiving "* Project 1" will put it in `main_archive'. For me "* Project 1" is not part of the project1-related tasks -- not more than the filename of my main org file is part of this file. So the headline "* Project 1" has not to be archived in `project1_archive', but in `main_archive'. Hence the normal behavior suits my use very well. Regards, -- Bastien