From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: CATEGORY in different levels Date: Wed, 6 Feb 2008 16:43:46 +0100 Message-ID: <302DB590-7A93-406E-BE25-75E1997EF0E9@science.uva.nl> References: <873as7osh3.fsf@kamaloka.dhatu> Mime-Version: 1.0 (Apple Message framework v915) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JMo2f-0006QG-BI for emacs-orgmode@gnu.org; Wed, 06 Feb 2008 12:26:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JMo2e-0006Pf-Kb for emacs-orgmode@gnu.org; Wed, 06 Feb 2008 12:26:37 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JMo2e-0006PW-GQ for emacs-orgmode@gnu.org; Wed, 06 Feb 2008 12:26:36 -0500 Received: from nf-out-0910.google.com ([64.233.182.185]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JMo2e-0003dT-Bu for emacs-orgmode@gnu.org; Wed, 06 Feb 2008 12:26:36 -0500 Received: by nf-out-0910.google.com with SMTP id f5so736037nfh.26 for ; Wed, 06 Feb 2008 09:26:35 -0800 (PST) In-Reply-To: <873as7osh3.fsf@kamaloka.dhatu> 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: Sven Bretfeld Cc: emacs-org Hi Sven, #+CATEGORY applies to the lines *below* it, independent of outline tree structure. That is why you are getting "Sociology-Article" for your "Emacs installation task: it is the nearest #+CATEGORY line *above* this headline. #+CATEGORY is only kept for backward compatibility, you probably should not use it for changing the category in the middle of a file, much less in the middle of a complex tree. Properties give much more consistent results. The :CATEGORY: property applies to the entry headline above it, and to the entire tree below it (unless locally overwritten by another property). Everything works fine if I change your example to: * Teaching :PROPERTIES: :CATEGORY: Teaching :END: ** Sanskrit I (WS08) :PROJECT: :PROPERTIES: :CATEGORY: Sanscrit I :END: *** NEXT Look for Introductions :LIBRARY: *** NEXT Borrow the chosen books :LIBRARY: *** NEXT Ask students for convenient date :EMAIL: ** History of Indian Religion (WS08) :PROJECT: :PROPERTIES: :CATEGORY: Indian Religion :END: *** Plan part on Buddhism :MILESTONE: **** NEXT Look for Books :LIBRARY: **** NEXT Chose readings for students :OFFICE: *** Plan part on Hinduism :MILESTONE: **** NEXT Look for books :LIBRARY: **** NEXT Invite guest-speaker :PHONE: * Misc Office :PROPERTIES: :CATEGORY: Misc Office :END: ** Proofread Sociology-Article :PROJECT: :PROPERTIES: :CATEGORY: Misc Office :END: *** NEXT Make a printout :COMPUTER: ** Install Emacs on every colleague's PC :PROJECT: