From: Carsten Dominik <dominik@science.uva.nl>
To: Sven Bretfeld <sven.bretfeld@gmx.ch>
Cc: emacs-org <emacs-orgmode@gnu.org>
Subject: Re: CATEGORY in different levels
Date: Wed, 6 Feb 2008 16:43:46 +0100 [thread overview]
Message-ID: <302DB590-7A93-406E-BE25-75E1997EF0E9@science.uva.nl> (raw)
In-Reply-To: <873as7osh3.fsf@kamaloka.dhatu>
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:
next prev parent reply other threads:[~2008-02-06 17:26 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-06 0:10 CATEGORY in different levels Sven Bretfeld
2008-02-06 1:47 ` Bernt Hansen
2008-02-06 8:44 ` Sven Bretfeld
2008-02-06 10:02 ` Sven Bretfeld
2008-02-06 13:45 ` Bernt Hansen
2008-02-06 15:43 ` Carsten Dominik [this message]
2008-02-06 22:40 ` Sven Bretfeld
2008-02-06 23:15 ` Jost Burkardt
2008-02-06 23:31 ` Sven Bretfeld
2008-02-07 7:32 ` Carsten Dominik
2008-02-24 20:39 ` Sven Bretfeld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=302DB590-7A93-406E-BE25-75E1997EF0E9@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=sven.bretfeld@gmx.ch \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).