* Links break when you archive; what are work arounds?
@ 2010-05-13 11:24 Emin.shopper Martinian.shopper
2010-05-13 14:14 ` Bernt Hansen
0 siblings, 1 reply; 5+ messages in thread
From: Emin.shopper Martinian.shopper @ 2010-05-13 11:24 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Links break when you archive; what are work arounds?
2010-05-13 11:24 Links break when you archive; what are work arounds? Emin.shopper Martinian.shopper
@ 2010-05-13 14:14 ` Bernt Hansen
2010-05-13 17:04 ` Emin.shopper Martinian.shopper
0 siblings, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2010-05-13 14:14 UTC (permalink / raw)
To: Emin.shopper Martinian.shopper; +Cc: emacs-orgmode
"Emin.shopper Martinian.shopper" <emin.shopper@gmail.com> 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
| [[id:c517f8d3-9cf3-4d86-b92d-b544874ef0af][Test target]]
| * TODO Test target
| :PROPERTIES:
| :ID: c517f8d3-9cf3-4d86-b92d-b544874ef0af
| :END:
`----
Then I archive the Test Target
,----[ todo.org_archive ]
| * TODO Test target
| :PROPERTIES:
| :ID: c517f8d3-9cf3-4d86-b92d-b544874ef0af
| :ARCHIVE_TIME: 2010-05-13 Thu 10:07
| :ARCHIVE_FILE: ~/git/org/todo.org
| :ARCHIVE_CATEGORY: todo
| :ARCHIVE_TODO: TODO
| :ARCHIVE_ITAGS: HOME
| :END:
`----
Now following the link from todo.org still works for me.
HTH,
Bernt
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Links break when you archive; what are work arounds?
2010-05-13 14:14 ` Bernt Hansen
@ 2010-05-13 17:04 ` Emin.shopper Martinian.shopper
2010-05-13 17:15 ` Bernt Hansen
0 siblings, 1 reply; 5+ messages in thread
From: Emin.shopper Martinian.shopper @ 2010-05-13 17:04 UTC (permalink / raw)
To: Bernt Hansen; +Cc: emacs-orgmode
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 <bernt@norang.ca> wrote:
> "Emin.shopper Martinian.shopper" <emin.shopper@gmail.com> 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
> | [[id:c517f8d3-9cf3-4d86-b92d-b544874ef0af][Test target]]
> | * TODO Test target
> | :PROPERTIES:
> | :ID: c517f8d3-9cf3-4d86-b92d-b544874ef0af
> | :END:
> `----
>
> Then I archive the Test Target
>
> ,----[ todo.org_archive ]
> | * TODO Test target
> | :PROPERTIES:
> | :ID: c517f8d3-9cf3-4d86-b92d-b544874ef0af
> | :ARCHIVE_TIME: 2010-05-13 Thu 10:07
> | :ARCHIVE_FILE: ~/git/org/todo.org
> | :ARCHIVE_CATEGORY: todo
> | :ARCHIVE_TODO: TODO
> | :ARCHIVE_ITAGS: HOME
> | :END:
> `----
>
> Now following the link from todo.org still works for me.
>
> HTH,
> Bernt
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Links break when you archive; what are work arounds?
2010-05-13 17:04 ` Emin.shopper Martinian.shopper
@ 2010-05-13 17:15 ` Bernt Hansen
2010-05-13 20:38 ` Emin.shopper Martinian.shopper
0 siblings, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2010-05-13 17:15 UTC (permalink / raw)
To: Emin.shopper Martinian.shopper; +Cc: emacs-orgmode
"Emin.shopper Martinian.shopper" <emin.shopper@gmail.com> 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 <bernt@norang.ca> 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
>> | [[id:c517f8d3-9cf3-4d86-b92d-b544874ef0af][Test target]]
>> | * TODO Test target
>> | :PROPERTIES:
>> | :ID: c517f8d3-9cf3-4d86-b92d-b544874ef0af
>> | :END:
>> `----
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Links break when you archive; what are work arounds?
2010-05-13 17:15 ` Bernt Hansen
@ 2010-05-13 20:38 ` Emin.shopper Martinian.shopper
0 siblings, 0 replies; 5+ messages in thread
From: Emin.shopper Martinian.shopper @ 2010-05-13 20:38 UTC (permalink / raw)
To: Bernt Hansen; +Cc: emacs-orgmode
That works great. Thanks!
On Thu, May 13, 2010 at 1:15 PM, Bernt Hansen <bernt@norang.ca> wrote:
> "Emin.shopper Martinian.shopper" <emin.shopper@gmail.com> 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 <bernt@norang.ca> 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
>>> | [[id:c517f8d3-9cf3-4d86-b92d-b544874ef0af][Test target]]
>>> | * TODO Test target
>>> | :PROPERTIES:
>>> | :ID: c517f8d3-9cf3-4d86-b92d-b544874ef0af
>>> | :END:
>>> `----
>
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2010-05-13 20:39 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-13 11:24 Links break when you archive; what are work arounds? Emin.shopper Martinian.shopper
2010-05-13 14:14 ` Bernt Hansen
2010-05-13 17:04 ` Emin.shopper Martinian.shopper
2010-05-13 17:15 ` Bernt Hansen
2010-05-13 20:38 ` Emin.shopper Martinian.shopper
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.