From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Show parent PROJECTS for an item Date: Tue, 19 May 2009 21:52:47 -0400 Message-ID: <7763.1242784367@gamaville.dokosmarshall.org> References: <1e5bcefd0905151433v72384998ub908996d78dcbdb2@mail.gmail.com> <2BA22C73-CD1F-4791-BA0C-E7112CABD4ED@gmail.com> <938fae2d0905190848s4d33f95ckfa132a20f2003ea9@mail.gmail.com> <1e5bcefd0905191427k3018c18dp1fc2312b7c8c28a9@mail.gmail.com> <938fae2d0905191555r79ee2021n4cbf4fdae35fe745@mail.gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6azo-0005fO-Rz for emacs-orgmode@gnu.org; Tue, 19 May 2009 21:53:28 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6azo-0005ez-6E for emacs-orgmode@gnu.org; Tue, 19 May 2009 21:53:28 -0400 Received: from [199.232.76.173] (port=45684 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6azo-0005ew-2I for emacs-orgmode@gnu.org; Tue, 19 May 2009 21:53:28 -0400 Received: from qmta02.emeryville.ca.mail.comcast.net ([76.96.30.24]:42757) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6azl-0002CQ-V4 for emacs-orgmode@gnu.org; Tue, 19 May 2009 21:53:26 -0400 In-Reply-To: Message from Eraldo Helal of "Wed, 20 May 2009 00:55:50 +0200." <938fae2d0905191555r79ee2021n4cbf4fdae35fe745@mail.gmail.com> 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: Eraldo Helal Cc: emacs-orgmode@gnu.org, Carsten Dominik Eraldo Helal wrote: > On Wed, May 20, 2009 at 00:29, Matthew Lundin 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. HTH, Nick --------------------------------------------------------------------------- org-archive-save-context-info is a variable defined in `org-archive.el'. Its value is (time file olpath category todo itags) Documentation: 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 information. You can customize this variable.