From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jost Burkardt Subject: Re: #+CATEGORY line being archived Date: Tue, 20 Mar 2007 20:18:35 +0100 Message-ID: <87bqin7mgk.fsf@web.de> 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 1HTjsb-0004a5-Jb for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 15:20:21 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTjsW-0004RL-Qe for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 15:20:21 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTjsW-0004Qm-KP for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 14:20:16 -0500 Received: from fmmailgate02.web.de ([217.72.192.227]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTjqv-00077n-3r for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 15:18:37 -0400 Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id E4AF56ADA27F for ; Tue, 20 Mar 2007 20:18:35 +0100 (CET) Received: from [84.173.181.77] (helo=wodka) by smtp05.web.de with esmtp (WEB.DE 4.107 #114) id 1HTjqt-0007eM-00 for emacs-orgmode@gnu.org; Tue, 20 Mar 2007 20:18:35 +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: > On Mar 18, 2007, at 17:09, Bastien wrote: > >> Leo writes: >> >>> I found that if I do 'C-c C-x C-s' on headline "Done Task", all text >>> up to the next headline "CR" is archived. This clearly is not the >>> right behavior. Am I doing something wrong or is this a bug? >> >> I had this problem before and I'm now using #+ARCHIVE like this: >> >> ,---- >> | * Head1 >> | * Done Task >> | >> | * CR >> | #+CATEGORY: CR >> | #+ARCHIVE: %s_archive::* CR >> | * anything >> `---- >> > > This is a fundamental problem, for which there are only work-arounds, > no solutions. Because of the structure of an outline, there is no such > thing as a "location between sections". One solution which comes to my mind is to bind #+CATEGORY: CR to the previous heading, just the way the task keyword SCHEDULE, etc. do. One possible use case, where this would break the actual beheavious, which comes to my mind is categorisation of a task list, eg. * Tasks #+CATEGORY: @WORK ** TODO Task 1 ** TODO Task 2 #+CATEGORY: @HOME ** TODO Task 3 but maybe it would always be possible (and maybe more outliner like) to categorize via additional Subheadings: * Tasks ** @WORK #+CATEGORY: @WORK *** TODO Task 1 *** TODO Task 2 ** @HOME #+CATEGORY: @HOME ** TODO Task 3 No Idea, how easy such an behaviour could be implemented. Jost PS. I was reading this list via gmane for a while, this is my first post, so let me say, how much I appreciate this fantastic emacs-mode, which definitely did change my personal planning to the better !