From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-id-locations Date: Sat, 28 Nov 2009 00:01:31 +0100 Message-ID: References: <87zl67lik6.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 (Apple Message framework v936) 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 1NE9op-0007h0-LQ for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 18:01:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NE9ol-0007cX-K7 for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 18:01:39 -0500 Received: from [199.232.76.173] (port=48272 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NE9ol-0007cU-FK for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 18:01:35 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:38680) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NE9ol-00052A-1S for emacs-orgmode@gnu.org; Fri, 27 Nov 2009 18:01:35 -0500 Received: by ewy24 with SMTP id 24so2290688ewy.26 for ; Fri, 27 Nov 2009 15:01:34 -0800 (PST) In-Reply-To: <87zl67lik6.fsf@gollum.intra.norang.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: Bernt Hansen Cc: Carsten Dominik , emacs-orgmode@gnu.org 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