From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Emin.shopper Martinian.shopper" Subject: Re: Links break when you archive; what are work arounds? Date: Thu, 13 May 2010 13:04:58 -0400 Message-ID: References: <874oibga7v.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=50743 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCbqJ-0004Yr-Dm for emacs-orgmode@gnu.org; Thu, 13 May 2010 13:05:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCbqG-0007hP-C9 for emacs-orgmode@gnu.org; Thu, 13 May 2010 13:05:03 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:47870) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCbqG-0007hC-5t for emacs-orgmode@gnu.org; Thu, 13 May 2010 13:05:00 -0400 Received: by pva4 with SMTP id 4so1081596pva.0 for ; Thu, 13 May 2010 10:04:59 -0700 (PDT) In-Reply-To: <874oibga7v.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: emacs-orgmode@gnu.org 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? Thanks, -Emin On Thu, May 13, 2010 at 10:14 AM, Bernt Hansen wrote: > "Emin.shopper Martinian.shopper" writes: > >> Dear Experts, >> >> I really like org-mode and am starting to use it more and more to >> track my notes, todos, agenda, etc. One thing I am confused about is >> that when I make a link to FOO and then archive FOO, the link no >> longer works. I guess I was hoping that org-mode would be smart enough >> to adjust links or look in the archive file but maybe that is too >> complicated. >> >> Is there a suggested work-around to preserve links when you archive >> something? Alternatively, maybe I'm not using archive properly. My >> general mode of operation is to have a file with my master to do list >> and another file for my daily plan (with a separate node for each >> day). In each day's node, I link to the master to-do list. Then when I >> finish a task in the master list, I archive it (which breaks the >> link). I would appreciate pointers to better modes of operation. >> >> Thanks, >> -Emin > > 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 > | =A0 [[id:c517f8d3-9cf3-4d86-b92d-b544874ef0af][Test target]] > | * TODO Test target > | =A0 :PROPERTIES: > | =A0 :ID: =A0 =A0 =A0 c517f8d3-9cf3-4d86-b92d-b544874ef0af > | =A0 :END: > `---- > > Then I archive the Test Target > > ,----[ todo.org_archive ] > | * TODO Test target > | =A0 :PROPERTIES: > | =A0 :ID: =A0 =A0 =A0 c517f8d3-9cf3-4d86-b92d-b544874ef0af > | =A0 :ARCHIVE_TIME: 2010-05-13 Thu 10:07 > | =A0 :ARCHIVE_FILE: ~/git/org/todo.org > | =A0 :ARCHIVE_CATEGORY: todo > | =A0 :ARCHIVE_TODO: TODO > | =A0 :ARCHIVE_ITAGS: HOME > | =A0 :END: > `---- > > Now following the link from todo.org still works for me. > > HTH, > Bernt >