From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Links break when you archive; what are work arounds? Date: Thu, 13 May 2010 13:15:43 -0400 Message-ID: <87wrv7en9c.fsf@gollum.intra.norang.ca> References: <874oibga7v.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56995 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCc0k-0002zQ-7p for emacs-orgmode@gnu.org; Thu, 13 May 2010 13:15:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCc0h-00012W-Ri for emacs-orgmode@gnu.org; Thu, 13 May 2010 13:15:50 -0400 Received: from mho-01-ewr.mailhop.org ([204.13.248.71]:62668) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCc0h-00012P-Nr for emacs-orgmode@gnu.org; Thu, 13 May 2010 13:15:47 -0400 In-Reply-To: (Emin shopper Martinian shopper's message of "Thu\, 13 May 2010 13\:04\:58 -0400") 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: "Emin.shopper Martinian.shopper" Cc: emacs-orgmode@gnu.org "Emin.shopper Martinian.shopper" writes: > Thanks, that sounds like a good idea. But how do you use ID links? I > see an option for descriptive links and literal links but not id > links. I have org-mode version 6.34c, is that too old? I'm not sure if that is too old but I don't think so. You need to customize the variable 'org-modules' and enable org-id which generates globally unique ids. This automatically adds the property id entry when you create a link for a task using 'org-id-get-create' -Bernt > > Thanks, > -Emin > > On Thu, May 13, 2010 at 10:14 AM, Bernt Hansen wrote: >> This works for me when I use id links. >> >> I created two tasks >> >> ,----[ todo.org ] >> | * Test task >> | * TODO Test target >> `---- >> >> Then linked test task to test target by doing C-c l on '* Test target' >> and copying the link into the body of '* Test Task' with C-c C-l >> >> This gives me this >> >> ,----[ todo.org ] >> | * Test link >> | =C2=A0 [[id:c517f8d3-9cf3-4d86-b92d-b544874ef0af][Test target]] >> | * TODO Test target >> | =C2=A0 :PROPERTIES: >> | =C2=A0 :ID: =C2=A0 =C2=A0 =C2=A0 c517f8d3-9cf3-4d86-b92d-b544874ef0af >> | =C2=A0 :END: >> `----