[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] Show parent PROJECTS for an item

From: Nick Dokos
Subject: Re: [Orgmode] Show parent PROJECTS for an item
Date: Tue, 19 May 2009 21:52:47 -0400

Eraldo Helal <address@hidden> wrote:

> On Wed, May 20, 2009 at 00:29, Matthew Lundin <address@hidden> wrote:
> > Org-mode already can save context info as properties. See the variable
> > org-archive-save-context-info.
> I do not have this variable (Org-Version:"6.26trans").

You probably need to load org-archive.el[c] first (or use an archive
command that will autoload that file): the variable is defined there.


org-archive-save-context-info is a variable defined in `org-archive.el'.
Its value is 
(time file olpath category todo itags)

Parts of context info that should be stored as properties when archiving.
When a subtree is moved to an archive file, it loses information given by
context, like inherited tags, the category, and possibly also the TODO
state (depending on the variable `org-archive-mark-done').
This variable can be a list of any of the following symbols:

time       The time of archiving.
file       The file where the entry originates.
ltags      The local tags, in the headline of the subtree.
itags      The tags the subtree inherits from further up the hierarchy.
todo       The pre-archive TODO state.
category   The category, taken from file name or #+CATEGORY lines.
olpath     The outline path to the item.  These are all headlines above
           the current item, separated by /, like a file path.

For each symbol present in the list, a property will be created in
the archived entry, with a prefix "PRE_ARCHIVE_", to remember this

You can customize this variable.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]