On Tue, Sep 11, 2012 at 9:47 AM, James Harkins <jamshar...@gmail.com> wrote: > I'm pushing a bit on this because creating an id when linking to an org-mode > headline is the default behavior, but what I observed (couldn't open the > link) is fundamentally broken.
OK... mainly to reassure myself that I am in fact not going crazy, I looked at this a bit more. If I start a fresh Emacs session and store a link to an org headline, no ID is created, regardless of the setting of org-link-to-org-use-id, apparently because my installation does not load the org-id module at launch. This is also the reason why C-c C-o on an ID link failed in a new Emacs session. After M-x load-library RET org-id RET, C-c C-o worked fine. So then the question is, why was I getting the ID-style links in the first place? I hadn't loaded that module before (I didn't even know about load-library before). I suspect one of the org-mobile functions (which I *am* using) loads the module. TODOs, scheduled and deadline items receive IDs during org-mobile-push. This (or something else, but this is the only org feature where I had ever seen IDs until my confusing experience with C-c l) probably turned it on, but then gave me no indication that this would break the link feature if I didn't customize org-modules. So I think what I will do is add the module. My only real concern is to get links that work. I had wanted to turn off IDs because it appeared to me that they were not reliable. Indeed, without Jambunathan K's comment about load-library, I would still be under the impression. So there is some documentation or warning-to-the-user issue lurking. It seems to be assumed you won't get ID links if you didn't explicitly load org-id (in which case you know that you need the module to open the links), but org-id may be loaded silently and end up messing with the user's brain. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks