emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Can't follow links with id property


From: suvayu ali
Subject: Re: [O] Can't follow links with id property
Date: Fri, 22 Jul 2011 16:28:49 +0200

Hi Bastien,

On Fri, Jul 22, 2011 at 3:48 PM, Bastien <address@hidden> wrote:
> Hi Suvayu,
>
> Suvayu Ali <address@hidden> writes:
>
>> I can't follow links with an ID property. I have attached a minimal
>> example org file. Org complains it cannot find a match and prompts to
>> create a new headline. Answering yes to the prompt creates a new
>> headline like this:
>>
>> * id:9dfdc23e-f9ce-413b-b950-fc20fd152e42
>
> I cannot reproduce this with Emacs 23.3 and 24.0.50.
>
> Do you have any setup wrt ids?  (C-h v org-id-*)
>

I don't have any org-id related customisations. This is the first time
I am trying them out. :-p

> Or maybe your method for generating ids changes between the
> moment your created this one and the moment your tried to
> open it?
>

When I tried to replicate this, I got the same behaviour as before. Then
I tried creating the ids again (with org-id-get-create) and tried
following the links and it worked!

So far this is what I have figured out. If you
1. create the ids
2. link to it
3. try to follow the link (all in the same session)
everything works. But now if you save the file and reopen it in a new
session and try to follow those same links, it fails with the error I
reported earlier. Now if you call org-id-get-create on the linked
headline and go back to the link and try to follow it again, it works as
expected! I think org-id-get-create does something that resolves the
problem. So maybe the issue is with `org-open-at-point'.

> --
>  Bastien
>

Hopefully this is more consistently reproducible.

PS: I tested starting with emacs -Q -l ~/.emacs.d/minimal-org.el

-- 
Suvayu

Open source is the future. It sets us free.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]