Re: [O] Can't follow links with id property
Hi Suvayu, Suvayu Ali fatkasuvayu+li...@gmail.com 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-*) Or maybe your method for generating ids changes between the moment your created this one and the moment your tried to open it? Thanks for further information, -- Bastien
Re: [O] Can't follow links with id property
Hi Bastien, On Fri, Jul 22, 2011 at 3:48 PM, Bastien b...@altern.org wrote: Hi Suvayu, Suvayu Ali fatkasuvayu+li...@gmail.com 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.
Re: [O] Can't follow links with id property
On Wed, Jul 20, 2011 at 4:10 PM, Giovanni Ridolfi giovanni.rido...@yahoo.it wrote: Org-mode version 7.6 fe0c013965bc5a15309cec2e4ab4ad78689bc4af GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO I confirm Suvayu's bug. For the record, exporting to HTML has a properly functional link. Just org-open-at-point doesn't work in the orgmode buffer. -- Suvayu Open source is the future. It sets us free.
Re: [O] Can't follow links with id property
Suvayu Ali fatkasuvayu+li...@gmail.com writes: Hi everyone, 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 Org-mode version 7.6 fe0c013965bc5a15309cec2e4ab4ad78689bc4af GNU Emacs 23.3.1 (i386-mingw-nt5.1.2600) of 2011-03-10 on 3249CTO I confirm Suvayu's bug. I clicked with the mouse on the link. The backtrace follows. cheers, Giovanni (save-current-buffer (set-buffer (or reference-buffer ...)) (if (string-match +\\' path) (setq path ...)) (if (and org-link-translation-function ...) (let ... ...)) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ...) (... ...) (...) (... ... ...) (t ...))) (with-current-buffer (or reference-buffer (current-buffer)) (if (string-match +\\' path) (setq path ...)) (if (and org-link-translation-function ...) (let ... ...)) (cond (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ...) (... ... ...) (... ...) (... ...) (...) (... ... ...) (t ...))) (let (type path link line search (pos ...)) (catch (quote match) (save-excursion ... ...) (when ... ... ...) (save-excursion ...) (save-excursion ...) (when ... ... ...)) (unless path (error No link found)) (with-current-buffer (or reference-buffer ...) (if ... ...) (if ... ...) (cond ... ... ... ... ... ... ... ... ... ... ... ... ...))) (cond ((and ... ... ...) (or ... ...)) ((run-hook-with-args-until-success ...)) ((org-at-timestamp-p t) (org-follow-timestamp-link)) ((and ... ...) (org-footnote-action)) (t (let ... ... ... ...))) (if (call-interactively (function org-babel-open-src-block-result)) nil (org-load-modules-maybe) (move-marker org-open-link-marker (point)) (setq org-window-config-before-follow-link (current-window-configuration)) (org-remove-occur-highlights nil nil t) (cond (... ...) (...) (... ...) (... ...) (t ...)) (move-marker org-open-link-marker nil) (run-hook-with-args (quote org-follow-link-hook))) (unless (call-interactively (function org-babel-open-src-block-result)) (org-load-modules-maybe) (move-marker org-open-link-marker (point)) (setq org-window-config-before-follow-link (current-window-configuration)) (org-remove-occur-highlights nil nil t) (cond (... ...) (...) (... ...) (... ...) (t ...)) (move-marker org-open-link-marker nil) (run-hook-with-args (quote org-follow-link-hook))) org-open-at-point() org-open-at-mouse((mouse-2 (#window 105 on myfile.txt 46572 (258 . 40) 25770435 nil 46572 (32 . 2) nil (2 . 8) (8 . 16 call-interactively(org-open-at-mouse nil nil)
[O] Can't follow links with id property
Hi everyone, 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 Debugger entered--Lisp error: (error No match) signal(error (No match)) error(No match) org-link-search(#(id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 0 39 (org-attr nil)) nil 119) eval((org-link-search #(id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 0 39 (org-attr nil)) nil 119)) byte-code(~\210\301!\207 [cmd eval] 2) org-open-at-point(nil) call-interactively(org-open-at-point nil nil) -- Suvayu Open source is the future. It sets us free. * B oscillations The oscillations can be smeared: + convoluted with the [[id:9dfdc23e-f9ce-413b-b950-fc20fd152e42][acceptance function]] + further enhanced by detector resolution effects (e.g. time resn). * Acceptance :PROPERTIES: :ID: 9dfdc23e-f9ce-413b-b950-fc20fd152e42 :END: In LHCb acceptance is a function of (proper?) time (B decay time / B decay length / PV-SV distance). Combined effect of, + non-uniform geometrical acceptance (as LHCb is not hermetic) + and triggering on a min. time interval (or displacement) from IP/PV. Ensures a long lived B.
Re: [O] Can't follow links with id property
Suvayu Ali fatkasuvayu+li...@gmail.com 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 Debugger entered--Lisp error: (error No match) signal(error (No match)) error(No match) org-link-search(#(id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 0 39 (org-attr nil)) nil 119) eval((org-link-search #(id:9dfdc23e-f9ce-413b-b950-fc20fd152e42 0 39 (org-attr nil)) nil 119)) byte-code(~\210\301!\207 [cmd eval] 2) org-open-at-point(nil) call-interactively(org-open-at-point nil nil) I can not reproduce that with your minimal example with Org-mode version 7.6 (release_7.6.120.g0b9c.dirty) on GNU Emacs 23.3.1 (i486-pc-linux-gnu, GTK+ Version 2.24.3) of 2011-04-10 on raven, modified by Debian Memnon
Re: [O] Can't follow links with id property
Hi Memnon, On Tue, Jul 19, 2011 at 4:30 PM, Memnon Anon gegendosenflei...@googlemail.com wrote: I can not reproduce that with your minimal example I tried it again, still present with both Emacs 23.2 and Emacs 24. -- Suvayu Open source is the future. It sets us free.