From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-archive-save-context-info questions Date: Tue, 27 May 2008 08:26:40 +0200 Message-ID: <69F97EB6-FD2F-48C4-8CF4-E2457628066B@uva.nl> References: <20080527010914.ovrxbn2msko88coc@webware.cc.umanitoba.ca> Mime-Version: 1.0 (Apple Message framework v919.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K0se0-0002km-LQ for emacs-orgmode@gnu.org; Tue, 27 May 2008 02:26:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K0sdz-0002k6-UX for emacs-orgmode@gnu.org; Tue, 27 May 2008 02:26:48 -0400 Received: from [199.232.76.173] (port=33146 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K0sdz-0002jv-RF for emacs-orgmode@gnu.org; Tue, 27 May 2008 02:26:47 -0400 Received: from mx20.gnu.org ([199.232.41.8]:58506) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K0sdz-00040r-DK for emacs-orgmode@gnu.org; Tue, 27 May 2008 02:26:47 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K0sdw-0006tR-EM for emacs-orgmode@gnu.org; Tue, 27 May 2008 02:26:44 -0400 In-Reply-To: <20080527010914.ovrxbn2msko88coc@webware.cc.umanitoba.ca> 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: broek@cc.umanitoba.ca Cc: emacs-orgmode@gnu.org On May 27, 2008, at 8:09 AM, broek@cc.umanitoba.ca wrote: > > > > Hi all, > > I've recently returned to regular org-mode use after a bit of a > lapse and have opted to start my configuration from scratch. While > setting up the archiving behaviour, I've discovered a few things > about the variable org-archive-save-context-info that strike me as > undesirable or puzzling. > > 1) The docstring reads (in part): > itags The local tags, in the headline of the subtree. > ltags The tags the subtree inherits from further up the > hierarchy. > Easy enough to work out for oneself, but I assume the descriptions > and names have been switched. Fixed, thanks. > > > 2) The customize interface for the variable presents two check-boxes > both labeled `TODO state.' That seemed odd. dive into the source, > and it looks to me and my weak elisp as though they are generated by > the lines in org-archive.el that read: > (const :tag "TODO state" todo) > (const :tag "TODO state" priority) > It would seem to me that the second ought be described as `TODO > priority'. Fixes as well, thanks again. > > > 3) I spent a bit being very puzzled about why C-h v org-archive-save- > context-info yielded the claim that there was no matching variable. > It also didn't show up in the customize interface. Puzzled, I > created a dummy headline to test what would happen on archiving. > After archiving once, the variable exists. Is there some reason for > making the variable dependent upon an invocation of org-archive- > subtree? I doubt it will confound me again, but there wouldn't have > been a problem were the variable initialized when org-mode is > entered rather than upon a first archiving. Well, the problem here is that Org is now set up in a modular way, and that many variables are in subfiles that are only loaded when needed. I am aware of the problem and would like to fix it, but I do not know a good way to do so. If you like you can call `org-require-autoloaded-modules' in .emacs after the (require 'org-install) (org-require-autoloaded-modules) and that will load everything. HTH - Carsten