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)

Reply via email to