From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Problem with org-id-locations-file Date: Sat, 05 Dec 2009 10:26:30 -0500 Message-ID: <87my1x5tnd.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGwX8-0008L7-Kg for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 10:26:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGwX3-0008K3-PB for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 10:26:54 -0500 Received: from [199.232.76.173] (port=42879 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGwX3-0008K0-Hf for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 10:26:49 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:60225) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGwX2-0007im-V8 for emacs-orgmode@gnu.org; Sat, 05 Dec 2009 10:26:49 -0500 Received: from compute2.internal (compute2.internal [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id 160C7C544A for ; Sat, 5 Dec 2009 10:26:43 -0500 (EST) Received: from archeee (adsl-99-19-41-240.dsl.klmzmi.sbcglobal.net [99.19.41.240]) by mail.messagingengine.com (Postfix) with ESMTPSA id A3E914309 for ; Sat, 5 Dec 2009 10:26:42 -0500 (EST) 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: Org Mode Currently there is a minor problem with the org-id-locations-file. If one loads org-mode but does not follow a link to an ID in the course of the emacs session, org-id-locations-load is not run. As a result, the value of nil is saved to the org-id-locations-file upon quitting emacs, which defeats the purpose of the file and forces an org-id-update-id-locations the next time an ID link is followed. Right now I'm getting around the problem by running org-id-locations-load when org-mode is turned on. Would it be possible to make this behavior the default if org-id-track-globally is set? Thanks, Matt