Eraldo Helal <ad...@eraldo.at> wrote: > On Wed, May 20, 2009 at 00:29, Matthew Lundin <m...@imapmail.org> 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. _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode