From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: org-id-locations Date: Fri, 27 Nov 2009 18:02:40 -0500 Message-ID: <87vdgvlgfj.fsf@gollum.intra.norang.ca> References: <87zl67lik6.fsf@gollum.intra.norang.ca> 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 1NE9pw-00009y-IO for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 18:02:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NE9pt-00005h-0O for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 18:02:48 -0500 Received: from [199.232.76.173] (port=48287 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NE9ps-00005W-QM for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 18:02:44 -0500 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:52923) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NE9ps-000569-Be for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 18:02:44 -0500 In-Reply-To: (Carsten Dominik's message of "Sat\, 28 Nov 2009 00\:01\:31 +0100") 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: Carsten Dominik Cc: Carsten Dominik , emacs-orgmode@gnu.org Ah Thanks! -Bernt Carsten Dominik writes: > Hi Bernt, > > M-x org-id-update-id-locations RET > > should do the trick. This only thin that can go wrong that it will > miss a file. > > It scans: > > - agenda files and archives > - the files in org-id-extra-files > - all the files that are currently in the id list > - any live buffers visiting an org-mode file > > So in case of doubt, load in all org-files and run the command. > > This command will also run automatically if an id cannot be found - > assuming that something has been moved behind org's back - which is > just your case. > > HTH > > - Carsten > > On Nov 27, 2009, at 11:16 PM, Bernt Hansen wrote: > >> Hi Carsten, >> >> I've recently started using org-ids to find tasks in my org files and >> org-mode is storing the ids and associated files in >> ~/.emacs.d/.org-id-locations. >> >> Now I've modified or linked to locations on my laptop and on my >> workstation and these files differ (both are modified differently) >> so I >> need to do something magical to bring everything back in sync. >> >> Manually merging the contents will be a bit of a pain since the >> order of >> the entries are mixed up now. >> >> Do bad things happen if I just delete or ignore syncing these files >> between the laptop and workstation? >> >> What's the right way to handle this? >> >> Thanks, >> Bernt > > - Carsten > > > > -- Bernt